4 ms·
According to the docs, (array 1 2 3) and (object "foo" 3 "bar" 4) works, too.
by postfuturist 14y ago
According to the docs, (array 1 2 3) and (object "foo" 3 "bar" 4) works, too.
- Xurinos 14y agoWhat I get for not penetrating further than the examples. Yay!
- Kjeldahl 14y agoThat's great, but unless someone proves me wrong, it lacks the "list"-style flexibility to do things like "create an object from my list": (object (array "foo" 3 "bar" 4)). Javascript's Array apply method could probably be used to do similar stuff, but that doesn't feel very lispy. FWIW Coffeescript lacks this kind of "object comprehension" as well (which Livescript has BTW).