Forgot to document set-field!, which came in with cc-phase2.
svn: r18358
This commit is contained in:
parent
d06b3ed1df
commit
4b67d441e7
|
@ -1168,6 +1168,15 @@ If @scheme[obj-expr] does not produce an object, the
|
||||||
@exnraise[exn:fail:contract]. If the object has no @scheme[id] method,
|
@exnraise[exn:fail:contract]. If the object has no @scheme[id] method,
|
||||||
the @exnraise[exn:fail:object].}
|
the @exnraise[exn:fail:object].}
|
||||||
|
|
||||||
|
@defform[(set-field! id obj-expr expr)]{
|
||||||
|
|
||||||
|
Sets the field with (external) name @scheme[id] from the value of
|
||||||
|
@scheme[obj-expr] to the value of @scheme[expr].
|
||||||
|
|
||||||
|
If @scheme[obj-expr] does not produce an object, the
|
||||||
|
@exnraise[exn:fail:contract]. If the object has no @scheme[id] method,
|
||||||
|
the @exnraise[exn:fail:object].}
|
||||||
|
|
||||||
@defform[(field-bound? id obj-expr)]{
|
@defform[(field-bound? id obj-expr)]{
|
||||||
|
|
||||||
Produces @scheme[#t] if the object result of @scheme[obj-expr] has an
|
Produces @scheme[#t] if the object result of @scheme[obj-expr] has an
|
||||||
|
|
Loading…
Reference in New Issue
Block a user