[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new function or modify read

On 17 Dec 2002, Marc Feeley <feeley@xxxxxxxxxxxxxxxx> wrote: 
> I much prefer building the functionality into the write (and read)
> procedure, and having a parameter object (as in make-parameter of
> Chez, PLT, etc) that can turn these features on/off.  For example,
> instead of
>   (write-showing-shared X)
> you would write
>   (parameterize ((write-shared #t))   ; write-shared is a parameter object
>     (write X))

Agreed. Only thing missing so far: a SRFI for parameterize ...