Skip to content

Commit

Permalink
clarify set! docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mfelleisen committed Mar 18, 2024
1 parent afaf2bf commit 7803925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdp-doc/scribblings/htdp-langs/advanced.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ the @racket[begin] expression is the value of the first @racket[expression].}

@defform[(set! variable expression)]{

Evaluates @racket[expression], and then mutates the @racket[variable]
Evaluates @racket[expression], and then changes the value of the @racket[variable]
to have @racket[expression]'s value. The @racket[variable] must be defined
by @racket[define], @racket[letrec], @racket[let*], or @racket[let].}
by @racket[define], @racket[letrec], @racket[let*], @racket[let], or @racket[local].}


@defform[(delay expression)]{
Expand Down

0 comments on commit 7803925

Please sign in to comment.