3 ms·
So do I. However, whenever I think of changes I would like to do to guile I end up with a language a lot closer to racket... Immutable pairs, immutable hash tab
by bjoli 5y ago
So do I. However, whenever I think of changes I would like to do to guile I end up with a language a lot closer to racket... Immutable pairs, immutable hash tables, immutable strings (which racket has not), user extensible pattern matching and a proper looping facility (preferrablymore powerful than rackets).
Add to that some better facilities for mixing languages and it is a very nice language that is very close to racket. Yet for some reason I find guile more fun.
- gus_massa 5y agoNitpicking: > immutable strings (which racket has not) The reader makes strings in the sour code immutable by default. And if you have a mutable string you can use string->immutable-string https://docs.racket-lang.org/reference/strings.html#%28def._%28%28quote._~23~25kernel%29._string-~3eimmutable-string%29%29 https://docs.racket-lang.org/reference/strings.html#%28def._...
- bjoli 5y agoYeah. I should have been more clear. I meant as the default. There are all kinds of nice optimizations that can be done with immutable strings compared to mutable ones. Which I probably don't have to tell you, Gustavo :) I have been reading every patch you have made to chez, not understanding half of it but loving every moment.