Y
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
WindowsFon4life
2766 days ago
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".
link
kbp
2766 days ago
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
link
JasonFruit
2766 days ago
Neat. Learn something new every day.
link
soegaard
2766 days ago
It's not in widespread use though.
link