Re:List Comprehensions in Eight Lines of Clojure
by smegel on Tuesday January 01, 2013 @06:15PM
(#4994420)
Given that clojure is a dialect of lisp (the list processing language), it seems that list comprehensions should not be a remarkable achievement. Am i missing something?
[ Parent
| on HN ]
Re:List Comprehensions in Eight Lines of Clojure
by gtrak on Tuesday January 01, 2013 @06:39PM
(#4994499)
yes and no. Yes, because the example is a novel language feature in other languages that would be very difficult to implement. No, because these sorts of things are easy only when code is data, like lists, which is a design property of lisps, but not really captured within 'list processing'. I think perhaps there could exist a language that says it's good at lists and data without the macro system that makes this possible.