Arc Forumnew | comments | leaders | submitlogin
4 points by lojic 5622 days ago | link | parent

In ac.scm

  ;; set a pointer to the cons cell, then dereference it as a pointer,
  ;; and bang the new value in the given offset
Hmm... so the fix was to "cast" the immutable cons cell to a mutable cons cell? Glad it works, but I was kind of hoping to learn that the immutable cons cell thing was workable for Arc. I guess I should read up on the MzScheme decision to make it immutable and see what pros/cons are associated with it.


1 point by soegaard 5621 days ago | link

See Flatt's blog post:

http://blog.plt-scheme.org/2007/11/getting-rid-of-set-car-an...

Further discussions can be found in the mail archive.

-----

1 point by vegashacker 5621 days ago | link

Here's a post about it: http://blog.plt-scheme.org/2007/11/getting-rid-of-set-car-an...

-----