Forgot to document set-field!, which came in with cc-phase2.

svn: r18358
This commit is contained in:
Stevie Strickland 2010-02-26 20:04:26 +00:00
parent d06b3ed1df
commit 4b67d441e7

View File

@ -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,
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)]{
Produces @scheme[#t] if the object result of @scheme[obj-expr] has an