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[
|
@examples[
|
||||||
(define-struct fish (weight color)
|
(define-struct fish (weight color)
|
||||||
|
#:mutable
|
||||||
#:property
|
#:property
|
||||||
prop:procedure
|
prop:procedure
|
||||||
(lambda (f n) (set-fish-weight! f (+ n (fish-weight f)))))
|
(lambda (f n) (set-fish-weight! f (+ n (fish-weight f)))))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user