3 ms·
You're right, the example I wrote was in Racket. I didn't know "everything is an expression" wouldn't work in CL.
by behnamoh 2y ago
You're right, the example I wrote was in Racket. I didn't know "everything is an expression" wouldn't work in CL.
- kagevf 2y agoEverything is still an expression in CL, but you have to account for different namespaces. Also, the above can be further shortened to: (funcall (if (< 1 0) #'+ #'*) 42 100)