3 ms·
Hm, I'm a lisp newbie but just had a little think about this (http://blog.timfarland.com/2011/05/12/lithp.html http://blog.timfarland.com/2011/05/12/lithp.html)
by twfarland 15y ago
Hm, I'm a lisp newbie but just had a little think about this (http://blog.timfarland.com/2011/05/12/lithp.html http://blog.timfarland.com/2011/05/12/lithp.html). I'd be happy just giving special forms short, mostly non-alphabetic names, and using a bit of matchfix sugar, looking something like:
(def map
(-> |list f|
(? (== list []) []
// (: (f (. list)) (map (.. list) f)))))