Y
Hacker News
new
|
ask
|
show
|
jobs
by
behnamoh
697 days ago
You're right, the example I wrote was in Racket. I didn't know "everything is an expression" wouldn't work in CL.
1 comments
kagevf
697 days ago
Everything 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)
link
Also, the above can be further shortened to: