3 ms·
It is not purely functional. The main difference from r7rs scheme is that lists are immutable, but that has been the idiomatic way in scheme anyway. It even s
by bjoli 9y ago
It is not purely functional. The main difference from r7rs scheme is that lists are immutable, but that has been the idiomatic way in scheme anyway.
It even supports generalised set!.
- amelius 9y agoCan you still put mutable cells (refs) inside these lists?
- bjoli 9y agoI doubt that would be an issue. I think it has more to do about the correctness of the list implementation. In r5rs you can mutate a list from underneath your own feet, and ensuring a correct program state requires some extra checks that may slow list operations down.
- rjsw 9y agoLispKit Lisp is purely functional [1]. I did read the GitHub announcement but was just trying to make the point that re-using names of software packages isn't a good idea, thanks for providing an example. [1] https://en.wikipedia.org/wiki/Lispkit_Lisp https://en.wikipedia.org/wiki/Lispkit_Lisp