From d8554b85be0e1a2c3c5408f595a7cea85a815699 Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Wed, 5 Oct 2011 18:21:20 -0400 Subject: [PATCH] correcting superfluous parens in the documentation --- scribblings/cs019.scrbl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scribblings/cs019.scrbl b/scribblings/cs019.scrbl index 2ec62a2..22381f5 100644 --- a/scribblings/cs019.scrbl +++ b/scribblings/cs019.scrbl @@ -165,13 +165,13 @@ Write a file called @filepath{tick-tock.rkt} with the following content. (define-resource index.html) -(define: (draw ([world : Number$] [dom : View$])) -> View$ +(define: (draw [world : Number$] [dom : View$]) -> View$ (update-view-text (view-focus dom "counter") world)) -(define: (tick ([world : Number$] [dom : View$])) -> Number$ +(define: (tick [world : Number$] [dom : View$]) -> Number$ (add1 world)) -(define: (stop? ([world : Number$] [dom : View$])) -> Boolean$ +(define: (stop? [world : Number$] [dom : View$]) -> Boolean$ (> world 10)) (big-bang 0