Added #:mutable to fish example in procedures.scrbl.
svn: r8517
This commit is contained in:
parent
d4da20c951
commit
ab3dee3d0e
|
@ -252,6 +252,7 @@ is disallowed).
|
|||
|
||||
@examples[
|
||||
(define-struct fish (weight color)
|
||||
#:mutable
|
||||
#:property
|
||||
prop:procedure
|
||||
(lambda (f n) (set-fish-weight! f (+ n (fish-weight f)))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user