News for hackers. Stuff that matters.
Re:Concatenation is composition by dreamcompiler on Monday July 18, 2022 @11:16AM (#32139336)
The Common Lisp example is a tiny bit disingenuous. Common Lisp programmers rarely write

  (function evenp)
but instead write the shorthand version

  #'evenp
Re:Concatenation is composition by Jtsummers on Monday July 18, 2022 @01:05PM (#32140597)
Also, Common Lisp has a complement function which produces a new Boolean function with the negation of the result:

  (complement #'evenp)
vs the example:

  (lambda (n) (not (evenp n)))
Not much shorter by character count, but it is shorter by token count.

http://clhs.lisp.se/Body/f_comple.htm