Re:Wisp: a homoiconic JS dialect with Clojure syntax, s-expr...
by dhamidi on Thursday May 23, 2013 @04:43PM
(#5759418)
To my knowledge, keywords are actually functions in Clojure, which do have an equivalent in JS. "Looks more like Clojure" seems like a good enough reason to me.
[ Parent
| on HN ]
Re:Wisp: a homoiconic JS dialect with Clojure syntax, s-expr...
by i_s on Thursday May 23, 2013 @08:36PM
(#5760519)
Keywords implement many interfaces, function (IFn) being one of them. See this line in the clojure source code:
public class Keyword implements IFn, Comparable, Named, Serializable, IHashEq
https://github.com/clojure/clojure/blob/master/src/jvm/cloju...