[plt-scheme] set-car! set-cdr! not working with mz-4.0.

From: Filipe Cabecinhas (filcab at gmail.com)
Date: Sun Jun 15 19:04:47 EDT 2008

Hi,

On 15 Jun, 2008, at 23:01, narutocanada at gmail.com wrote:

> set-car! set-cdr! not working with mz-4.0.


You should use languages R5RS or R6RS (module + #!r6rs at the  
beginning of the file) or use mcons/mcar/mcdr/set-mcar!/...

MzScheme's pairs are, by default, immutable, in 4.0, mcons creates  
mutable pairs.

   - Filipe Cabecinhas





Posted on the users mailing list.