Better HN
topnewbestaskshowjobs
Log inSign up

tmp48764

2 karma · joined Jan 30, 2011 (15y ago) · 2 submissions

Submissions

comment 15y ago · link · parent

I take that back. I had no idea that {"a" 1 "b" 2} works when I made that comment.

comment 15y ago · link · parent

This is really cool and for the most part the syntax seems to make sense.

One thing I don't understand is why there is special unnatural-looking syntax for dictionaries. It is inconsistent that comma=whitespace everywhere else. Perhaps something like:

(array "a"=>1 "b"=>2)

Note that this currently compiles to array("a", =>1, "b", =>2)