3 ms·
I kind of like the tagging syntax. It almost seems like they should really be lists with the first tag in function position, but I don't know think that would i
by andrewflnr 14y ago
I kind of like the tagging syntax. It almost seems like they should really be lists with the first tag in function position, but I don't know think that would interop with real Clojure. I tried to come up with something similar, but somehow couldn't generalize to tagging any random object. When in doubt, generalize...
PS: I'm just learning Clojure.
- threedaymonk 14y agoIf you mean something like this, it would interoperate just fine: (list 1 2 3) (vector 1 2 3) (hash-set :a :b :c) (hash-map :a 1 :b 2) I suspect that typing hash-map all over the place might get old fast, though.
- andrewflnr 14y agoI mean `(#myapp/person {:first "Fred" :last "Mertz"})' or `(#seconds 330)'. In this case it's probably the extra parentheses that get old fast. Even so, having semantically connected items not be stuck together makes me a bit queasy.