News for hackers. Stuff that matters.
Re:A difference between Haskell and Common Lisp by ogroide on Monday December 21, 2015 @10:12AM (#10771394)
Is not the same, in lisp :count 5 means that you remove at most 5 elements, so that the result can be a list of 100 elements, while take 5 will always produce a sequence with at most 5 elements.

(remove-if-not #'evenp (loop for i below 10 collect i) :count 3 :start 0) result is (0 2 4 6 7 8 9), there are three elements deleted.

Re:A difference between Haskell and Common Lisp by fnordsensei on Monday December 21, 2015 @10:43AM (#10771569)
Well, that is different, but I suppose the Haskell example suffers from the same difference then.