Hacker News new | ask | show | jobs
by JasonFruit 2766 days ago
Look at things like:

    (define lst '(4 5 6))
    (set! (car lst) 3)
    (display (car lst))

    ;; 3
That's a pretty serious semantic departure. It's at least as different from RnRS as Racket, which insists it is not Scheme.
2 comments

I was requesting valid scheme that did not work properly. Given the https://ecraven.github.io/r7rs-benchmarks/ shows Gerbil passing more tests than many other implementations, it seems hard to call it a "non-scheme".
There's an SRFI for generalised set! that lots of implementations (Racket, Guile, Chicken, etc) support: https://srfi.schemers.org/srfi-17/srfi-17.html
Neat. Learn something new every day.
It's not in widespread use though.