💾 Archived View for thurk.org › blog › 237.gmi captured on 2021-12-03 at 14:04:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next 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