💾 Archived View for thurk.org › blog › 237.gmi captured on 2022-03-01 at 15:25:35. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

🚧 View Differences

-=-=-=-=-=-=-

Apparently none

Topics: programming, livejournal

2001-05-29

(defun permute (govno)
  (cond ((null govno) '(()))
        (t (mapcan #'(lambda (element)
                       (mapcar #'(lambda (perm)
                                   (cons element perm))
                               (permute
                                 (remove* element
                                          govno
                                          :count 1
                                          :test #'eq))))
                   govno))))

tzifur (Martenblog home)

jenju (Thurk.Org home)

@flavigula@sonomu.club

CC BY-NC-SA 4.0