7 ms·
Does Chicken have immutable data structures? How about typeclasses/protocols? How about literal syntax for hash maps, sets, vectors/arrays? I'm coming from Clo
by oskarkv 13y ago
Does Chicken have immutable data structures? How about typeclasses/protocols? How about literal syntax for hash maps, sets, vectors/arrays?
I'm coming from Clojure, and I'm interested in Chicken. I really like the things mentioned above about Clojure and I am just interested in how Chicken compares when it comes to these things.
- demetrius 13y agoIn short, no. I believe these things can be added via extensions, but the only thing from your list to be implemented this way is a persistent-hash-map [1] so far (the egg doesn’t provide for a reader syntax though, but it is definitely possible to add [2]). [1] http://wiki.call-cc.org/eggref/4/persistent-hash-map http://wiki.call-cc.org/eggref/4/persistent-hash-map [2] http://wiki.call-cc.org/man/4/Unit%20library#reader-extensions http://wiki.call-cc.org/man/4/Unit%20library#reader-extensio...