Re:Portacle – A Portable Common Lisp Development Environment
by mtraven on Wednesday January 04, 2017 @11:43AM
(#13319743)
In Clojure it's #(+ 2 %), pretty compact if cryptic. Actually no reason you couldn't make a reader macro in CL to look similar.
[ Parent
| on HN ]
Re:Portacle – A Portable Common Lisp Development Environment
by jdminhbg on Wednesday January 04, 2017 @12:55PM
(#13320437)
Slightly less cryptic would be (partial + 2).
Re:Portacle – A Portable Common Lisp Development Environment
by topkekz on Thursday January 05, 2017 @09:10AM
(#13327170)
Partial application and currying are two different things.
Re:Portacle – A Portable Common Lisp Development Environment
by jdminhbg on Thursday January 05, 2017 @03:26PM
(#13331033)
That's correct, I'm just responding to the specific case here.
Re:Portacle – A Portable Common Lisp Development Environment
by PuercoPop on Wednesday January 04, 2017 @11:55AM
(#13319846)
Someone already has: https://github.com/eschulte/curry-compose-reader-macros