diff --git a/teachpack/htdp/Docs/world.thtml b/teachpack/htdp/Docs/world.thtml
index 0478cb9f20..37e9c745b9 100644
--- a/teachpack/htdp/Docs/world.thtml
+++ b/teachpack/htdp/Docs/world.thtml
@@ -15,9 +15,10 @@ students to simulate a small world of animated drawings and games:
(on-tick-event tock)
means that DrScheme must call tock
on the current world every time the clock ticks; it uses the result as the next world
-
on-key-event : (KeyEvent World -> World) -> true
on-key-event : (World KeyEvent -> World) -> true
(on-key-event change)
means that DrScheme must call
- change
on the current world for every keystroke event; it uses
+ change
on the current world and a (representation of the)
+ keyevent for every keystroke the programmer (user of the computer) makes; it uses
the result as the next world
@@ -37,11 +38,10 @@ students to simulate a small world of animated drawings and games:
calls world->image
whenever the canvas must be redrawn; the
result is displayed in the teachpack's canvas
-
end-of-time : -> World
(end-of-time)
, it stops the clock; no
- further tick events, key events, or redraw events take place until the world
- is created again.
-
+end-of-time String u Symbol : -> World
(end-of-time)
, it stops the clock and displays the
+ given string or symbol; no further tick events, key events, or redraw events
+ take place until the world is created again.
The rest are functions for creating scenes: