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
but instead write the shorthand version
[ Parent
| on HN ]
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.