sorry for the sensless update

1 min read

Deviation Actions

Spiritofdarkness's avatar
Published:
2.9K Views
... but I guess there's once again a bug, so I hope to get rid of it by simply uploading it
... sorry


... and yes, it helped
© 2015 - 2024 Spiritofdarkness
Comments9
Join the community to add your comment. Already a deviant? Log In
JohannaPax's avatar
(defun pairs (lst)
    (labels ((f (lst acc)
                (split lst
                  (if tail
                      (f (cdr tail) (cons (cons head (car tail)) acc))
                      (reverse acc))
                  (reverse acc))))
      (f lst nil)))

Dice of Doom common lis :)