Re:LispKit: framework for Lisp-based extension/scripting lan...
by rjsw on Tuesday May 08, 2018 @11:04PM
(#17027157)
The purely functional nature of LispKit was always a turnoff for me.
[ Parent
| on HN ]
Re:LispKit: framework for Lisp-based extension/scripting lan...
by bjoli on Wednesday May 09, 2018 @02:36AM
(#17027810)
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!.
Re:LispKit: framework for Lisp-based extension/scripting lan...
by rjsw on Wednesday May 09, 2018 @06:08AM
(#17028663)
LispKit 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.
Re:LispKit: framework for Lisp-based extension/scripting lan...
by amelius on Wednesday May 09, 2018 @05:26AM
(#17028472)
Can you still put mutable cells (refs) inside these lists?
Re:LispKit: framework for Lisp-based extension/scripting lan...
by bjoli on Wednesday May 09, 2018 @07:44AM
(#17029060)
I 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.