From 4b67d441e71a9dac340489e3fd42554779524f3d Mon Sep 17 00:00:00 2001 From: Stevie Strickland Date: Fri, 26 Feb 2010 20:04:26 +0000 Subject: [PATCH] Forgot to document set-field!, which came in with cc-phase2. svn: r18358 --- collects/scribblings/reference/class.scrbl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/collects/scribblings/reference/class.scrbl b/collects/scribblings/reference/class.scrbl index 076b0e28d2..93215880ee 100644 --- a/collects/scribblings/reference/class.scrbl +++ b/collects/scribblings/reference/class.scrbl @@ -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