Re:Carp: a statically typed lisp, without a GC, for high per...
by jrapdx3 on Wednesday July 06, 2016 @04:43AM
(#12041922)
In most Scheme implementations, which this Lisp somewhat resembles, it's permissible to use "(" or "[" as long as the opening bracket matches the closing one. With that choice, each user can have the "esthetic" that is preferred. Personally, I agree that using parentheses exclusively is nicest, but it's not that big a deal either way.
[ Parent
| on HN ]
Re:Carp: a statically typed lisp, without a GC, for high per...
by junke on Wednesday July 06, 2016 @05:11AM
(#12042008)
You are right about Scheme. Note that Carp, like Clojure, treats brackets as arrays (https://github.com/eriksvedang/Carp/blob/master/src/reader.c...).
Re:Carp: a statically typed lisp, without a GC, for high per...
by jrapdx3 on Wednesday July 06, 2016 @02:24PM
(#12044915)
I'm not familiar with Clojure, but briefly reviewed the Carp documentation, sparse as it is. The part about "[]" meaning array hadn't quite sunk in when I commented about the syntax. Thanks for pointing that out, the Carp syntax makes perfect sense. I think it's a project worth keeping an eye on as it looks like it could have interesting capabilities.