define-type comes from when structures were by default mutable. It
would be bad to switch the default, since PLAI relies on it when
teaching recursion. It would be possible to add a #:immutable keyword.

Jay

On Sun, Mar 22, 2015 at 11:38 AM, Alexander D. Knauth
<alexan...@knauth.org> wrote:
> I just noticed that define-type form from #lang plai defines mutable strucs.
> Is there a way to tell it to define immutable structs instead, or if not 
> would it be possible to add an option to do that?
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Jay McCarthy
http://jeapostrophe.github.io

           "Wherefore, be not weary in well-doing,
      for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
                          - D&C 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to