News for hackers. Stuff that matters.
Re:A philosophical difference between Haskell and Lisp (2015) by TeMPOraL on Sunday August 02, 2020 @06:36PM (#24032380)
Huh, the syntax can be almost directly spliced into Common Lisp's loop:

  CL-USER> (let ((foo '(1 2 3)) (y '(2 4)))
             (loop for x in foo unless (member x y :test #'=) collect x))

  ;; -> (1 3)
It wouldn't be hard to write a macro that expands your expressions to CL's loop, with a bit of magic to parse the "if ... [not] in ...".

There are no comments on this comment yet.