💾 Archived View for thurk.org › blog › 237.gmi captured on 2023-04-19 at 23:43:58. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

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

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