diff --git a/br/eopl.rkt b/br/eopl.rkt index 4562039..f6fefb2 100644 --- a/br/eopl.rkt +++ b/br/eopl.rkt @@ -31,8 +31,8 @@ (define #'(define-datatype ( [ ] ...) ...) #'(begin - (struct () #:transparent) - (struct ( ...) #:transparent + (struct () #:transparent #:mutable) + (struct ( ...) #:transparent #:mutable #:guard (λ( ... name) (unless ( ) (error name (format "arg ~a is not ~a" '))) ...