src/test/sample-moby-programs/cowabunga.ss
#reader(lib"read.ss""wxme")WXME0108 ## 
#|
   This file is in PLT Scheme editor format.
   Open this file in DrScheme version 370 or later to read it.

   Most likely, it was created by saving a program in DrScheme,
   and it probably contains a program with non-text elements
   (such as images or comment boxes).

            http://www.plt-scheme.org
|#
 32 7 #"wxtext\0"
3 1 6 #"wxtab\0"
1 1 8 #"wxmedia\0"
4 1 8 #"wximage\0"
2 0 34 #"(lib \"syntax-browser.ss\" \"mrlib\")\0"
1 0 16 #"drscheme:number\0"
3 0 44 #"(lib \"number-snip.ss\" \"drscheme\" \"private\")\0"
1 0 36 #"(lib \"comment-snip.ss\" \"framework\")\0"
1 0 43 #"(lib \"collapsed-snipclass.ss\" \"framework\")\0"
0 0 19 #"drscheme:sexp-snip\0"
0 0 36 #"(lib \"cache-image-snip.ss\" \"mrlib\")\0"
1 0 33 #"(lib \"bullet-snip.ss\" \"browser\")\0"
0 0 29 #"drscheme:bindings-snipclass%\0"
1 0 25 #"(lib \"matrix.ss\" \"htdp\")\0"
1 0 22 #"drscheme:lambda-snip%\0"
1 0 15 #"make-line-snip\0"
1 0 15 #"make-line-snip\0"
1 0 34 #"(lib \"tool.ss\" (\"gui-world\" 1 0))\0"
1 0 56
(
 #"(lib \"hrule-snip.ss\" \"macro-debugger\" \"syntax-browse"
 #"r\")\0"
) 1 0 18 #"java-comment-box%\0"
1 0 23 #"java-interactions-box%\0"
1 0 45 #"(lib \"image-snipr.ss\" \"slideshow\" \"private\")\0"
1 0 26 #"drscheme:pict-value-snip%\0"
0 0 38 #"(lib \"pict-snipclass.ss\" \"slideshow\")\0"
2 0 55
(
 #"(lib \"vertical-separator-snip.ss\" \"stepper\" \"private"
 #"\")\0"
) 1 0 18 #"drscheme:xml-snip\0"
1 0 31 #"(lib \"xml-snipclass.ss\" \"xml\")\0"
1 0 21 #"drscheme:scheme-snip\0"
2 0 34 #"(lib \"scheme-snipclass.ss\" \"xml\")\0"
1 0 10 #"text-box%\0"
1 0 32 #"(lib \"text-snipclass.ss\" \"xml\")\0"
1 0 15 #"test-case-box%\0"
2 0 1 6 #"wxloc\0"
00000000000 1 107 0 1 #"\0"
0 75 1 #"\0"
0 11 90 -1 90 -1 3 -1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 255 255 255 1 -1 0 9
#"Standard\0"
0 75 26 #" Bitstream Vera Sans Mono\0"
0 9 90 -1 90 -1 3 -1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 255 255 255 1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 -1 -1 2 24
#"framework:default-color\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 150 0 150 0 0 0 -1 -1 2 15
#"text:ports out\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 150 0 150 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 93 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 255 0 0 0 0 0 -1 -1 2 15
#"text:ports err\0"
0 -1 1 #"\0"
1 0 -1 -1 93 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 255 0 0 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 175 0 0 0 -1 -1 2 17
#"text:ports value\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 175 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 92 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 34 139 34 0 0 0 -1 -1 2 27
#"Matching Parenthesis Style\0"
0 -1 1 #"\0"
1 0 92 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 34 139 34 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 38 38 128 0 0 0 -1 -1 2 37
#"framework:syntax-color:scheme:symbol\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 38 38 128 0 0 0 -1 -1 2 38
#"framework:syntax-color:scheme:keyword\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 38 38 128 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 194 116 31 0 0 0 -1 -1 2
38 #"framework:syntax-color:scheme:comment\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 194 116 31 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 41 128 38 0 0 0 -1 -1 2 37
#"framework:syntax-color:scheme:string\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 41 128 38 0 0 0 -1 -1 2 39
#"framework:syntax-color:scheme:constant\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 41 128 38 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 132 60 36 0 0 0 -1 -1 2 42
#"framework:syntax-color:scheme:parenthesis\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 132 60 36 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 255 0 0 0 0 0 -1 -1 2 36
#"framework:syntax-color:scheme:error\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 255 0 0 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 2 36
#"framework:syntax-color:scheme:other\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 81 112 203 0 0 0 -1 -1 2
38 #"drscheme:check-syntax:lexically-bound\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 81 112 203 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 68 0 203 0 0 0 -1 -1 2 31
#"drscheme:check-syntax:imported\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 68 0 203 0 0 0 -1 -1 2 41
#"profj:syntax-colors:scheme:block-comment\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 194 116 31 0 0 0 -1 -1 2
35 #"profj:syntax-colors:scheme:keyword\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 139 0 139 0 0 0 -1 -1 2 37
#"profj:syntax-colors:scheme:prim-type\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 139 0 139 0 0 0 -1 -1 2 38
#"profj:syntax-colors:scheme:identifier\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 38 38 128 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 34 139 34 0 0 0 -1 -1 2 34
#"profj:syntax-colors:scheme:string\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 34 139 34 0 0 0 -1 -1 2 35
#"profj:syntax-colors:scheme:literal\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 34 139 34 0 0 0 -1 -1 2 35
#"profj:syntax-colors:scheme:comment\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 194 116 31 0 0 0 -1 -1 2
33 #"profj:syntax-colors:scheme:error\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 255 0 0 0 0 0 -1 -1 2 35
#"profj:syntax-colors:scheme:default\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 2 37
#"profj:syntax-colors:scheme:uncovered\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 2 35
#"profj:syntax-colors:scheme:covered\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 139 0 139 0 0 0 -1 -1 4 1
#"\0"
0 70 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 -1 -1 4 4
#"XML\0"
0 70 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 -1 -1 8 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 255 0 0 0 0 0 -1 -1 8 24
#"drscheme:text:ports err\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 255 0 0 0 0 0 -1 -1 0 1
#"\0"
0 75 26 #" Bitstream Vera Sans Mono\0"
0 9 90 -1 90 -1 3 -1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 255 255 255 1 -1 4 1
#"\0"
0 71 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 -1 -1 4 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 1 0 0 0 0 0 0 0 0 1 1 1 0 0 255 0 0 0 -1 -1 4 1
#"\0"
0 71 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 1 0 0 0 0 0 0 0 0 1 1 1 0 0 255 0 0 0 -1 -1 4 1
#"\0"
0 71 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 100 0 0 0 0 -1 -1 0 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 200 0 0 0 0 0 -1 -1 4 1
#"\0"
0 -1 1 #"\0"
1 0 92 -1 -1 -1 -1 -1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 255 255 0 -1 -1 2 1
#"\0"
0 71 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 -1 -1 2 1
#"\0"
0 71 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 100 0 0 0 0 -1 -1 0 1
#"\0"
0 75 26 #" Bitstream Vera Sans Mono\0"
0 11 90 -1 90 -1 3 -1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 255 255 255 1 -1 22
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 15 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 4 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 14 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 24 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 20 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 22 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 178 34 34 0 0 0 -1 -1 14 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 178 34 34 0 0 0 -1 -1 4 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 178 34 34 0 0 0 -1 -1 20 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 178 34 34 0 0 0 -1 -1 19 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 0 1
#"\0"
0 75 11 #" Monospace\0"
0 11 90 -1 90 -1 3 -1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 255 255 255 1 -1 0 1
#"\0"
0 75 1 #"\0"
0 12 90 -1 90 -1 3 -1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 255 255 255 1 -1 0 1
#"\0"
0 75 12 #"Courier New\0"
0 12 90 -1 90 -1 3 -1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 255 255 255 1 -1 0 1
#"\0"
0 75 8 #"Courier\0"
0 16 90 -1 90 -1 3 -1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 255 255 255 1 -1 17
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 -1 -1 15 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 178 34 34 0 0 0 -1 -1 17 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 178 34 34 0 0 0 -1 -1 17 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 4
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 22
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 15
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 14
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 20
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 4
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 178 34 34 255 255 255 -1
-1 24 1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 178 34 34 0 0 0 -1 -1 24 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 24
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 178 34 34 255 255 255 -1
-1 2 1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 1 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 -1 -1 2 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 1 0 0 0 0 0 0 0 0 1 1 1 65 105 225 0 0 0 -1 -1 19
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 19
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1 1 1 178 34 34 0 0 0 -1 -1 17 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 178 34 34 255 255 255 -1
-1 0 1 #"\0"
0 75 26 #" Bitstream Vera Sans Mono\0"
0 9 90 -1 90 -1 2 -1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 255 255 255 1 -1 22 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 1 0 0 0 0 0 0 255 165 0 0 0 0 -1 -1 14 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 1 0 0 0 0 0 0 255 165 0 0 0 0 -1 -1 4 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 1 0 0 0 0 0 0 255 165 0 0 0 0 -1 -1 20 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 1 0 0 0 0 0 0 255 165 0 0 0 0 -1 -1 17 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 4
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 22
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 15
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 14
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 20
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 19
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 255 255 255 -1 -1 19
1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 1 0 0 0 0 0 0 255 165 0 0 0 0 -1 -1 0 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 -1 19 1
#"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 178 34 34 255 255 255 -1
-1 15 1 #"\0"
0 -1 1 #"\0"
1 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 1 0 0 0 0 0 0 255 165 0 0 0 0 -1 -1
00000000002 0 00000000000 3 00000000000 3559 0 4 3 85
(
 #";; The first three lines of this file were inserted by DrScheme. Th"
 #"ey record metadata"
) 0 0 4 29 1 #"\n"
0 0 4 3 85
(
 #";; about the language level of this file in a form that our tools c"
 #"an easily process."
) 0 0 4 29 1 #"\n"
0 0 4 3 176
(
 #"#reader(lib \"htdp-beginner-reader.ss\" \"lang\")((modname "
 #"cowabunga) (read-case-sensitive #t) (teachpacks ()) (htdp-settings "
 #"#(#t constructor repeating-decimal #f #t none #f ())))"
) 0 0 4 29 1 #"\n"
0 0 17 3 72
(
 #";; Version 8: UFO moves down, and can be shifted left or right.  We"
 #" also"
) 0 0 4 29 1 #"\n"
0 0 17 3 77
(
 #";; maintain a list of cows.  Each cow moves left or right, starting"
 #" from some"
) 0 0 4 29 1 #"\n"
0 0 17 3 81
(
 #";; random position.  Cows can also collide against the edges of the"
 #" scene or with"
) 0 0 4 29 1 #"\n"
0 0 17 3 54 #";; other cows, in which case they'll change direction."
0 0 4 29 1 #"\n"
0 0 17 3 54 #";; If the UFO hits a cow or the ground, the game ends."
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 26 #";; Derived from Version 7."
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 32 #";; The dimensions of the screen."
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 4 3 1 #" "
0 0 20 3 3 #"320"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 14 3 6 #"HEIGHT"
0 0 4 3 1 #" "
0 0 20 3 3 #"480"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 13 #";; UFO: image"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 14 3 3 #"UFO"
0 0 4 3 1 #" "
0 3 00000000015 4 1 #"\0"
2 -1 -1 0 0 0 00000000002 500
(
 #"\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\36\0\0\0\22\b\2\0"
 #"\0\0\303\220\371\216\0\0\3XIDAT8\215}\224\337K+G\24\307gf\207,"
 #"\321\325&i\22\37\24\27476\346\a)&\327\207bEDP\204r\337\372\326"
 #"?\242}\271\377I\351_p\251o\5K\37\24\252\324(\n\t1\202?\b"
 #"\221db\321\270Y4fu\223\230uwf\356\303H\214\311^\317\323\314\3169"
 #"\237\231\363=\347,\344\234\3'\343\234\337\337\337W*\225v\273\335w"
 #"\204\20\n\205B\301`\20B\350\30+\f:\242\t!WWW^\2577"
 #"\24\n\21BdY\366z\275~\277_\260(\245\245R\251V\253\305b\261`0"
 #"\37054\352\3333\306\322\3514\204pnn\356\354\354\254\335n\313\262"
 #"\f\0(\24\nwww\302G\222\244H$\262\260\260@\bQU\365\253\317"
 #"\346=\306\30\333\332\332j\265Zbk\30F.\227\243\224\376\223\373\373"
 #"\227\177\177\376\363\277\317|\300vww\37\36\36\6\277s\316_\241O"
 #"OO5M\353\275)\227\313\375\361\371\367\244\32\376\276\363\356\323"
 #"\376o\203\361\226e\245\323iG\364+A\32\215F\257v\20\302\331\331Y"
 #"\363}\347]\341\273o\217\307\336\363\320`\322\30c\257\327\333"
 #"\325\312YkJ\251\313\345\32\364\370\6xJ\177]\350\306\375\322"
 #"\370\212\243\244\323\323\323\345r\371-\264eY\222$\2115c\254\3339"
 #"\311\321\17\354\343\343O\350ct2\352\210\226e\371\351\351\311!"
 #"\241\227\25\306\2W\255V\267\267\267=\36\317\352\352\252,\313"
 #"\251D\352C\341\207_\177\374\364v\27\277\205F\bY\226\5\0\250T*"
 #"\223\223\223\272\256\37\36\36\246R)J)\275c\332\377\32\b>gc"
 #"\3336\245\264\267b\27\27\27\261X\314\347\363\365\242_FF\327\365"
 #"\365\365"
) 413
(
 #"\365H$b\232&\306\330\266mY\226\335n7\0\300f\226[\36z||l\265Z"
 #"\315f3\221H`\214)\245\30cI\222(\245\2141B\310\324\324\324\370\370"
 #"\370\v[\\{ss\263\263\263\303\30\313f\263\365z\235s\276\277"
 #"\277/\216\262\331,c\214R\272\266\266F\b\311d2\206aPJ\r\303\310d"
 #"2\242\375El>\237/\26\213\257\232\357\372\372\372\374\374|qq\261V"
 #"\253\271\335\356\376\274 \264m\e!d\333\266\256\353\201@\3000"
 #"\f\204\220\242(\0\200V\253\245(J<\36?88H&\223\0\200|>\377\34H"
 #"\b\251\327\353\251T\n\0\240\252j \20\20o\3244\315\343\3610"
 #"\306L\323\24\5\334\333\333\343\234w:\235p8<11\1\0\20\236B\264"
 #"f\263\251(\n\306XU\325\333\333\333\225\225\25\274\271\271y||\214"
 #"1f\214u\237\331\25\nB\b!D\b\211\205\350\316\223\223\223"
 #"\256\263(\254\330\212\2621\306\306\306\306\226\227\227!c\354\350"
 #"\350hccC\3234\204\220\343\324\364\31\204\316\377K\3234GFFfff\226"
 #"\226\226\374~\377\263\23\347\\\323\264b\261X.\227///\353\365\272"
 #"$I.\227\253\213\350\246\322\207\206\20\n\305\22\211\304\374\374"
 #"|8\34\356\316\235\303\375\242\350\204\220R\251T\255V\e\215\206a"
 #"\30\355v[\214+B\bc<444::\252(\212\317\347\213F\243\361x|xx"
 #"\270\217\363\5v{~\216\315Z\0265\0\0\0\0IEND\256B`\202"
) 0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 17 3 17 #";; RED-UFO: image"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 14 3 7 #"RED-UFO"
0 0 4 3 1 #" "
0 3 00000000015 4 1 #"\0"
2 -1 -1 0 0 0 00000000002 500
(
 #"\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\36\0\0\0\22\b\2\0"
 #"\0\0\303\220\371\216\0\0\3xIDAT8\215\235\224\317O\eG\24\307gv"
 #"\a6\216\267`\e\354T\2\0011\1\307\26\225\274\341\200@B\250R"
 #"\20R\225S\310\251\207\374\t\315%\377HT\365\222kTn\225hzk!\305"
 #" \34\3311N\322\202\34,\30\323\nXo\214\361\302z\375kw\346\365"
 #"\260\24\fvP\224\247=\314\217\367>\363\336\233\357,\6\0\324\316"
 #"\0\340\344\344$\227\313U*\225+[\202 \4\203\301@ \2001n\e\353"
 #"\30n\213\246\224\356\357\357{\275\336`0H)\225$\311\353\365\366\366"
 #"\366:,\306\330\316\316N>\237\17\207\303\201@\340Sh\341\312\234s"
 #"\36\213\3050\306\223\223\223[[[\225JE\222$\204P&\2239>>v|"
 #"DQ\f\205B\323\323\323\224RUU?\23164\31\347|ii\3114Mgj\30F*\225b"
 #"\214\375\226\372\365\373?\346\177\376\363\5\264\330\352\352\352"
 #"\351\351i\353:\0\\Bonnj\232\326|R*\225\372\351\305\217Qu\344\233"
 #"\332\320\323\365'\255\361\226e\305b\261\266\350K\r)\225J\315\275"
 #"\303\30\217\217\217\327o\327\2062wz\376\272u\e\202\255E\23B\274"
 #"^\357y\257\332\367\2321\326\331\331\331\352\321\215<;\277\354"
 #"\351\306\311\267}\263m[:::\272\273\273{\35\332\262,Q\24\2351"
 #"\347\374\\9\321\256{\374A\365;\341\301\335\301\273m\321\222$5\32"
 #"\2156\5]\214\bqp\a\a\a\313\313\313\36\217gnnN\222$eL"
 #"\271\227\231\370a\352\351\365*\276\16-\b\202eY\b\241\\.788"
 #"\250\353\372\306\306\206\242(\2141v\314\265\1774\248\253\306\266m"
 #"\306X\363\215\355\355\355\205\303a\237\317\327\214"
) 445
(
 #"\276x2\272\256/..\206B\241z\275N\b\261m[\222$\227\313\205\20"
 #"\262\271\345\222nV\253U\3234\313\345\362\330\330\30!\2041F\b"
 #"\21E\2211\3069\247\224\16\17\17\367\365\365]\260\235c\v"
 #"\205\302\312\312\n\347<\231L\26\213E\0X__w\266\222\311$\347\2341"
 #"\266\260\260@)M$\22\206a0\306\f\303H$\22\216\374\235\330t:\275"
 #"\275\275}I|\207\207\207\331lvff&\237\317\273\\\256\253ual\333\266"
 #" \b\266m\353\272\356\367\373\r\303\20\4A\226e\204\220i\232"
 #"\262,G\"\221x<\36\215F\21B\351t\372,\220RZ,\26\25EA\b\251"
 #"\252\352\367\373\235\0345M\363x<\234\363z\275\356\\\340\332\332"
 #"\32\0\324j\265\221\221\221\376\376~\204\220\343\3514\255\\.\313"
 #"\262L\bQU\365\350\350hvv\226\274z\371\262\373\371\363J\271Ll\373F"
 #"\275\256\1`'U\0\35@n4D\0ga\22\241\257\32\r\204\261\215\261"
 #"\331\321\341\244&\2\324\376/\277\2\0\bu`\254>z\4\367\357#"
 #"\316\371f<\376\373\374\374\337==EQ\344\b\301\27}\34!\352v"
 #"\257LM\255>{vT(\0\300\231B\0@\313\347\367\337\275\323\337\274A\257_"
 #"w\277\177?P(\334\262\355\317\321\357GB\350\300\0{\3700\360\370q0"
 #"\229\177wm\376\327\0P6\214\177?|\370\370\366-\244\323$\233\305\232"
 #"\306K%\261Z\25\1\20!\215\256.\344\363\335\364x*CC\265H\344"
 #"\353\211\211;\212\342v\273\257p\376\3\203\317\224\26\224u\177"
 #"\266\0\0\0\0IEND\256B`\202"
) 0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 18 #";; COW-LEFT: image"
0 0 4 29 1 #"\n"
0 0 17 3 35 #";; An image of the cow facing left."
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 14 3 8 #"COW-LEFT"
0 0 4 3 1 #" "
0 3 00000000015 4 1 #"\0"
2 -1 -1 0 0 0 00000000002 500
(
 #"\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\36\0\0\0\20\b\2\0"
 #"\0\0\216XX\205\0\0\3xIDAT8\215\235\223\301O\352X\24\306\357m\261"
 #"\b\245\250\30\30\b`b0!\372L\fa\307\6G\23\203\211+\326"
 #"l\237\211\361\17p\253\213\211\213\371#tGb&1&.\336\306\30]\274"
 #"\245\232\212\245T|\201I\201BS\220\2\266\266\227\336Y\364\205\360"
 #"\34\303$\363\255\232\366\234\337\275\347\373N!\306\30\0\0\0"
 #"\3204\r!\4!\254V\253\203\301\200$\311`0\30\16\207\301"
 #"\377\225\3034\315J\245b\30\6M\323\225J\345\376\376\36B\270\276"
 #"\276\3160\214\252\252\37\320\30\343^\257g\30\206\333\355v\273"
 #"\335\223\321d*\225r\271\\\24E!\204\34\16\207i\232\301`\360"
 #"\346\346FQ\24\236\347\235N\247\242(\272\256{\275^A\20dY\256"
 #"\327\353\4A\350\272\336h4Z\255\26M\323\24E}\212\206\203\301\300"
 #"\351t\22\4\201\20\252V\253\246iB\b\31\206)\24\n\215F#\26"
 #"\213\371|>\217\307\303q\\\"\221\240izmm\355\365\365\365\374\374"
 #"<\235Nc\214\5A\230\233\233\v\4\2\30c\b\341/\206\330sI"
 #"\222\324\351t\26\27\27\247\247\247\1\0\375~?\36\217'\22\211J"
 #"\245\342\367\3735M\213F\243\252\252\236\234\234T\253\325T*U,\26"
 #"\323\3514\2040\36\217\27\213EEQ\b\202\260,\vB\30\211D<\36"
 #"\317O\373TU}~~\306\277\212eY\313\262:\235\216$I\205B\201e\331R\251"
 #"\264\273\273K\323t\263\331\34\2574\f\343\352\352\312~F\b\275"
 #"\274\274\b\202`Y\26\300\30\227J%\3234k\265\332x\203\256\353\202"
 #" \364\373\375\203\203\203\353\353k\204\220eY\227\227\227[["
 #"[\365z\35!\244\353\372\250\370\356\356n\274\267"
) 445
(
 #"\333\355\362<\0170\306\305b\321\262\254\333\333[Y\226\37\36"
 #"\36F\25\34\307\325\353u\257\327K\222\344\336\336\336\210\325\353"
 #"\365\266\267\267WVVDQ\264\337\360<?\34\16\307\351\205B\201<<<\324"
 #"u\275\327\3539\34\16\277\337\2171\236\231\231\261sh6\233\261X,"
 #"\36\217\207B!\ba2\231d\30\6\0\220\313\345...dY\36\16\207"
 #"\231L\6\0000\34\16M\323t\271\\\243\f[\255\226\3\0\20"
 #"\16\207\237\236\236h\232\266,+\24\n\251\252*I\222\256\353\v"
 #"\v\v\0\200l6\233\315f\307\243\257\325j\4Alll\330\5\0\0M\323"
 #"\354Sm\211\242\3100\f\30\215\240(J\271\\.\227\313\242(\"\204"
 #"x\236\227e\31\177\246Z\255vtt\324\355vG\321\215l\354t:,\313\3329"
 #"\303\321\217\376o\261,K\222\344\354\354\254=\331\207\257\355v["
 #"\323\264\367\367\367\267\267\267\245\245%{k\355M\23E\321\347\363MB"
 #"\3\0\20Bggg\355v{ss\23B\310}\347H\203\f|\t\364\365\276a\30"
 #"\201@`uuu\334b\0\200i\232\371|~~~\3361\201\v\0\220$\211\343\270d2"
 #"\271\274\274\334l4\277\375\371\315\245\271\276\376\365\365\307\337?"
 #"B\241P4\32\375\300\5\0LMM\345r9\b!1\31\35\211D\366\367"
 #"\367)\212\302\30#\23e\217\263\353\177\374\36\210\376FQT>\237?=="
 #"\375\264\213 \b\b\341\177\334\32!t||\374\370\370H\222d&\223"
 #"\t/\374t|gg\3070\f\222$'\364\376\3\35rtH/a\306\23\0\0\0\0IE"
 #"ND\256B`\202"
) 0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 14 3 9 #"COW-RIGHT"
0 0 4 3 1 #" "
0 3 00000000015 4 1 #"\0"
2 -1 -1 0 0 0 00000000002 500
(
 #"\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\36\0\0\0\20\b\2\0"
 #"\0\0\216XX\205\0\0\3lIDAT8\215\235T\317K2k\24~\337i\234\234QK"
 #"\245n\r)\272\311K&A-\373\b\272\20B\356\"\350\17h\21D\324"
 #"\266u\213\v\27\242]\373Z\4}\177@\340\"\274\221\213ve\232W"
 #"G\323\22t&St\322q&\177\314\314\371\26s\21o\267\257\v\367Y=\234"
 #"\207\347\274\357{\316{\16\6\0\364\177\301\363|\271\\\3264\315b"
 #"\261x<\36\0 I\222\246iC%\377\323\257(\212\242(\24E\331l6\214\361"
 #"\240\324l6\355v\273$I\227\227\227\0000??\357\365zeY\246(\312\353\365"
 #"\342\237\335Z\226\345B\241@\20\4\3030\252\252\326j5\233\315F\20"
 #"\204\317\347+\26\213\222$\365z\275h4j\261X\4AXXX\220e\331\347"
 #"\363\231\315f\214q\247\323\21\4\341cj\0\300\30W*\25Q\24}>\37"
 #"\306\370\372\372zmm\315n\267\307\343qY\226c\261\230\337\357o\265Z"
 #"\365z=\237\317\263,\e\b\4$I\2\0\223\311\344\361xH\222\324u"
 #"\275\323\351\374]\220V\253U*\225\0\200 \b]\327\21B333\206"
 #"\224N\247gggonn\216\217\217\327\327\327\335n7Bh||\\\226\345P(\244"
 #"(\312\350\350\350\324\324\24B\250\335n\347r9\207\303199\3110\f"
 #"\322u=\233\315\346\363yUU\1\0\0\"\221H\267\333\205\1\274\276"
 #"\276Z,\226\255\255\255L&\223H$\222\311d\271\\\26EQ\327\365D\""
 #"\1\377\304\343\343c\263\331\4\0\304q\\\243\321\30\324\356"
 #"\356\356\372\274\335n\253\252*\bB0\30\274\270\270\320u]U\325"
 #"\253\253\253\375\375\375V\253\225\315f\333\355\366\240\227\347\371"
 #"^\257\227\311d\0"
) 433
(
 #"\0%\223\311AM\3234\216\343\f^*\225\374~\377\352\352\252QJ\343"
 #"\244\355\355\355\241\241\241\221\221\21A\20R\251T\337x\177\177_"
 #"\255V\243\321\250\256\353\351t\32\0\210\17m|{{\263\333\355\6?<<"
 #"L\245R\341pxss\323\210\324\353u\223\311\264\267\267wrr\302\262\254"
 #"\246i}\243\303\341`\30fll\214\347y\253\325\212\20B\205B\241X,\366"
 #"\17\227e\371\371\371\331\340GGG+++\4A,..\302g\20E1\36\217g2"
 #"\231F\243\321\355v%Izzzzxx\320u\35\0\220\321\245D\"!\212b\377"
 #"i\375\2266\32\215\203\203\3\236\347?M]\255V9\216SU\265T*\345r"
 #"\271\\.W\253\325\372*\216\305b\365z\335\345ra\214\247\247\247\373"
 #"\177\210a\230\341\341a\232\246\235N\347\277\347\333(\235\246isss?"
 #"\ec\222\347\371Z\255\266\264\264d2\231\214\220\331l\16\4\2"
 #"\357\357\357\311d\262R\251P\24e5[+\177U4J\363/\372\1 \22\211"
 #"8\235\316\215\215\r\222\374jO\220\241P\b\0\b\202\370 \3204"
 #"\355v\273%Izyya\177e\277\377\361\375\235~\377\366\347\267\tv\202"
 #"\343\270\333\333\333r\271\354r\271\276J\2151\376\260t\3728==\315"
 #"\347\363\301`\360\27\367\304\362\357\277\321\26\263\332S\1\200"
 #"\242\250\235\235\35\226e\277\310\213\20B\237\366\307\300\371\371"
 #"\371\331\331\231\242(\203\301p8\274\274\274\274\273\273\333\353\365"
 #"\276\360\2\300\17\e\t\347H'\2172>\0\0\0\0IEND\256B`\202"
) 0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 4 29 1 #"\n"
0 0 17 3 24 #";; GROUND-HEIGHT: number"
0 0 4 29 1 #"\n"
0 0 17 3 39 #";; Represents the height of the ground."
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 14 3 13 #"GROUND-HEIGHT"
0 0 4 3 1 #" "
0 0 20 3 2 #"15"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 16 #";; COW-Y: number"
0 0 4 29 1 #"\n"
0 0 17 3 60
#";; Represents the static y position of the cow in the scene."
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 14 3 5 #"COW-Y"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"-"
0 0 4 3 1 #" "
0 0 14 3 6 #"HEIGHT"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 17 #"                 "
0 0 22 3 1 #"("
0 0 14 3 1 #"/"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 12 #"image-height"
0 0 4 3 1 #" "
0 0 14 3 8 #"COW-LEFT"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 20 3 1 #"2"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 17 #"                 "
0 0 14 3 13 #"GROUND-HEIGHT"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 21 #";; EMPTY-SCENE: scene"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 14 3 11 #"EMPTY-SCENE"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 14 3 11 #"place-image"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 12 #"nw:rectangle"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 4 3 1 #" "
0 0 14 3 13 #"GROUND-HEIGHT"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"solid\""
0 0 4 3 1 #" "
0 0 19 3 7 #"\"brown\""
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 15 #"               "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 15 #"               "
0 0 22 3 1 #"("
0 0 14 3 1 #"-"
0 0 4 3 1 #" "
0 0 14 3 6 #"HEIGHT"
0 0 4 3 1 #" "
0 0 14 3 13 #"GROUND-HEIGHT"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 15 #"               "
0 0 22 3 1 #"("
0 0 14 3 11 #"place-image"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 12 #"nw:rectangle"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 4 3 1 #" "
0 0 14 3 6 #"HEIGHT"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"solid\""
0 0 4 3 1 #" "
0 0 19 3 7 #"\"white\""
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 28 #"                            "
0 0 20 3 1 #"0"
0 0 4 29 1 #"\n"
0 0 4 3 28 #"                            "
0 0 20 3 1 #"0"
0 0 4 29 1 #"\n"
0 0 4 3 28 #"                            "
0 0 22 3 1 #"("
0 0 14 3 11 #"empty-scene"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 4 3 1 #" "
0 0 14 3 6 #"HEIGHT"
0 0 22 3 4 #"))))"
0 0 4 29 1 #"\n"
0 0 17 3 13 #";; A cow is a"
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 25 #";; (make-cow x direction)"
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 69
#";; where x is a number that represents the x coordinate of a cow, and"
0 0 4 29 1 #"\n"
0 0 17 3 41 #";; direction is either \"left\" or \"right\"."
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 13 #"define-struct"
0 0 4 3 1 #" "
0 0 14 3 3 #"cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"x"
0 0 4 3 1 #" "
0 0 14 3 9 #"direction"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 15 #";; A world is a"
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 24 #";; (make-world ufo cows)"
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 72
(
 #";; where ufo is a posn that represents the (x, y) coordinate of the"
 #" UFO,"
) 0 0 4 29 1 #"\n"
0 0 17 3 30 #";; and cows is a (listof cow)."
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 13 #"define-struct"
0 0 4 3 1 #" "
0 0 14 3 5 #"world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 3 #"ufo"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 23 #";; move-cow: cow -> cow"
0 0 4 29 1 #"\n"
0 0 17 3 76
(
 #";; Consumes a cow, and produces a cow that has shifted either left "
 #"or right,"
) 0 0 4 29 1 #"\n"
0 0 17 3 23 #";; ignoring collisions."
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 59
(
 #";; (move-cow (make-cow 0 \"right\")) ==> (make-cow 1 \"right"
 #"\")"
) 0 0 4 29 1 #"\n"
0 0 17 3 59
(
 #";; (move-cow (make-cow 50 \"left\")) ==> (make-cow 49 \"left"
 #"\")"
) 0 0 4 29 1 #"\n"
0 0 17 3 70
(
 #";; (move-cow (move-cow (make-cow 27 \"left\"))) ==> (make-cow 2"
 #"5 \"left\")"
) 0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-cow"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 15 3 4 #"cond"
0 0 4 29 1 #"\n"
0 0 4 3 4 #"    "
0 0 22 3 2 #"[("
0 0 14 3 8 #"string=?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 13 #"cow-direction"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"-"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 5 #"cow-x"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 20 3 1 #"1"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 2 #")]"
0 0 4 29 1 #"\n"
0 0 4 3 4 #"    "
0 0 22 3 2 #"[("
0 0 14 3 8 #"string=?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 13 #"cow-direction"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"+"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 5 #"cow-x"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 20 3 1 #"1"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 4 #")]))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 9 #";; Tests:"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"1"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"50"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"49"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"27"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 3 #")))"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"25"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"+"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 4 3 1 #" "
0 0 20 3 1 #"1"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 34 #";; cow-distance: cow cow -> number"
0 0 4 29 1 #"\n"
0 0 17 3 82
(
 #";; Consumes two cows, and produces the distance between them as a p"
 #"ositive number."
) 0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 66
(
 #";; (cow-distance (make-cow 3 \"left\") (make-cow 5 \"right"
 #"\"))   ==> 2"
) 0 0 4 29 1 #"\n"
0 0 17 3 67
(
 #";; (cow-distance (make-cow 20 \"right\") (make-cow 32 \"left"
 #"\")) ==> 12"
) 0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 12 #"cow-distance"
0 0 4 3 1 #" "
0 0 14 3 5 #"cow-1"
0 0 4 3 1 #" "
0 0 14 3 5 #"cow-2"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 14 3 3 #"abs"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"-"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 5 #"cow-x"
0 0 4 3 1 #" "
0 0 14 3 5 #"cow-1"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 5 #"cow-x"
0 0 4 3 1 #" "
0 0 14 3 5 #"cow-2"
0 0 22 3 4 #"))))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 9 #";; Tests:"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 12 #"cow-distance"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"3"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"5"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 3 2 #"  "
0 0 20 3 1 #"2"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 12 #"cow-distance"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"20"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"32"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 20 3 2 #"12"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 12 #"cow-distance"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 3 #"100"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 3 #"200"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 20 3 3 #"100"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 12 #"cow-distance"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 3 #"200"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 3 #"100"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 20 3 3 #"100"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 40 #";; cow-collides-cow?: cow cow -> boolean"
0 0 4 29 1 #"\n"
0 0 17 3 68
#";; Consumes two cows, and returns true if cow-1 overlaps with cow-2."
0 0 4 29 1 #"\n"
0 0 17 3 73
(
 #";; The two cows must be moving toward each other to count as a coll"
 #"ision."
) 0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 74
(
 #";; (cow-collides-cow? (make-cow 25 \"left\") (make-cow 22 \"r"
 #"ight\")) ==> true"
) 0 0 4 29 1 #"\n"
0 0 17 3 75
(
 #";; (cow-collides-cow? (make-cow 200 \"left\") (make-cow 0 \"r"
 #"ight\")) ==> false"
) 0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 17 #"cow-collides-cow?"
0 0 4 3 1 #" "
0 0 14 3 5 #"cow-1"
0 0 4 3 1 #" "
0 0 14 3 5 #"cow-2"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 14 3 3 #"and"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"<"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 12 #"cow-distance"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-cow"
0 0 4 3 1 #" "
0 0 14 3 5 #"cow-1"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 24 #"                        "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-cow"
0 0 4 3 1 #" "
0 0 14 3 5 #"cow-2"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 10 #"          "
0 0 22 3 1 #"("
0 0 14 3 11 #"image-width"
0 0 4 3 1 #" "
0 0 14 3 8 #"COW-LEFT"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 7 #"       "
0 0 22 3 1 #"("
0 0 14 3 1 #"<"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 12 #"cow-distance"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-cow"
0 0 4 3 1 #" "
0 0 14 3 5 #"cow-1"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 24 #"                        "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-cow"
0 0 4 3 1 #" "
0 0 14 3 5 #"cow-2"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 10 #"          "
0 0 22 3 1 #"("
0 0 14 3 12 #"cow-distance"
0 0 4 3 1 #" "
0 0 14 3 5 #"cow-1"
0 0 4 3 1 #" "
0 0 14 3 5 #"cow-2"
0 0 22 3 4 #"))))"
0 0 4 29 1 #"\n"
0 0 17 3 9 #";; Tests:"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 17 #"cow-collides-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"25"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"22"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 14 3 4 #"true"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 17 #"cow-collides-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"25"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"22"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 17 #"cow-collides-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 3 #"200"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 17 3 38 #";; A cow will not collide with itself."
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 17 #"cow-collides-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 3 #"100"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 3 #"100"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 53 #";; cow-collides-any-cow?: cow (listof cow) -> boolean"
0 0 4 29 1 #"\n"
0 0 17 3 82
(
 #";; Consumes a cow and a list of cows, and produces true if a-cow co"
 #"llides with any"
) 0 0 4 29 1 #"\n"
0 0 17 3 21 #";; of the other cows."
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 21 #"cow-collides-any-cow?"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 15 3 4 #"cond"
0 0 4 29 1 #"\n"
0 0 4 3 4 #"    "
0 0 22 3 2 #"[("
0 0 14 3 6 #"empty?"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 14 3 5 #"false"
0 0 22 3 1 #"]"
0 0 4 29 1 #"\n"
0 0 4 3 4 #"    "
0 0 22 3 1 #"["
0 0 14 3 4 #"else"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 22 3 1 #"("
0 0 14 3 2 #"or"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 17 #"cow-collides-cow?"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 5 #"first"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 9 #"         "
0 0 22 3 1 #"("
0 0 14 3 21 #"cow-collides-any-cow?"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 4 #"rest"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 6 #")))]))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 9 #";; Tests:"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 21 #"cow-collides-any-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"25"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 21 #"cow-collides-any-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"25"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 37 #"                                     "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"25"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 21 #"cow-collides-any-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"25"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 37 #"                                     "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"25"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 21 #"cow-collides-any-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"25"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 37 #"                                     "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"25"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 21 #"cow-collides-any-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"25"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 37 #"                                     "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"25"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 43 #"                                           "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"20"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 4 #"true"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 42 #";; cow-collides-with-edge?: cow -> boolean"
0 0 4 29 1 #"\n"
0 0 17 3 64
#";; Returns true if the cow collides with the left or right edge."
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 56
#";; (cow-collides-with-edge? (make-cow 0 \"left\")) => true"
0 0 4 29 1 #"\n"
0 0 17 3 58
#";; (cow-collides-with-edge? (make-cow 0 \"right\")) => false"
0 0 4 29 1 #"\n"
0 0 17 3 61
#";; (cow-collides-with-edge? (make-cow WIDTH \"left\")) => false"
0 0 4 29 1 #"\n"
0 0 17 3 61
#";; (cow-collides-with-edge? (make-cow WIDTH \"right\")) => true"
0 0 4 29 1 #"\n"
0 0 17 3 67
(
 #";; (cow-collides-with-edge? (make-cow (/ WIDTH 2) \"left\")) =>"
 #" false"
) 0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 23 #"cow-collides-with-edge?"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 14 3 2 #"or"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 3 #"and"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 2 #"<="
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 5 #"cow-x"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"string=?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 13 #"cow-direction"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 6 #"      "
0 0 22 3 1 #"("
0 0 14 3 3 #"and"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 2 #">="
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 5 #"cow-x"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"string=?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 13 #"cow-direction"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 4 #"))))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 9 #";; Tests:"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 23 #"cow-collides-with-edge?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 14 3 4 #"true"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 23 #"cow-collides-with-edge?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 23 #"cow-collides-with-edge?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 23 #"cow-collides-with-edge?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 14 3 4 #"true"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 23 #"cow-collides-with-edge?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"/"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 4 3 1 #" "
0 0 20 3 1 #"2"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 51 #";; move-cow-with-collision: cow (listof cow) -> cow"
0 0 4 29 1 #"\n"
0 0 17 3 75
(
 #";; Consumes a cow and a list of the other cows, and produces a cow "
 #"that has"
) 0 0 4 29 1 #"\n"
0 0 17 3 60
#";; either moved as normal or bounced off due to a collision."
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 78
(
 #";; (move-cow-with-collision (make-cow 0 \"left\") empty) => (ma"
 #"ke-cow 0 \"right\")"
) 0 0 4 29 1 #"\n"
0 0 17 3 79
(
 #";; (move-cow-with-collision (make-cow 0 \"right\") empty) => (m"
 #"ake-cow 1 \"right\")"
) 0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 23 #"move-cow-with-collision"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 4 3 1 #" "
0 0 14 3 8 #"all-cows"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 15 3 4 #"cond"
0 0 4 3 1 #" "
0 0 22 3 2 #"[("
0 0 14 3 2 #"or"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 23 #"cow-collides-with-edge?"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 13 #"             "
0 0 22 3 1 #"("
0 0 14 3 21 #"cow-collides-any-cow?"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 4 3 1 #" "
0 0 14 3 8 #"all-cows"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 9 #"         "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 5 #"cow-x"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 19 #"                   "
0 0 22 3 1 #"("
0 0 15 3 4 #"cond"
0 0 4 3 1 #" "
0 0 22 3 2 #"[("
0 0 14 3 8 #"string=?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 13 #"cow-direction"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 26 #"                          "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #"]"
0 0 4 29 1 #"\n"
0 0 4 3 25 #"                         "
0 0 22 3 1 #"["
0 0 14 3 4 #"else"
0 0 4 29 1 #"\n"
0 0 4 3 26 #"                          "
0 0 19 3 6 #"\"left\""
0 0 22 3 4 #"]))]"
0 0 4 29 1 #"\n"
0 0 4 3 8 #"        "
0 0 22 3 1 #"["
0 0 14 3 4 #"else"
0 0 4 29 1 #"\n"
0 0 4 3 9 #"         "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-cow"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 4 #")]))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 23 #"move-cow-with-collision"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 23 #"move-cow-with-collision"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"1"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 23 #"move-cow-with-collision"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 39 #"                                       "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"1"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 23 #"move-cow-with-collision"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 39 #"                                       "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"5"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 45 #"                                             "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"5"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 51 #"                                                   "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 71
(
 #";; move-cows-with-collisions: (listof cow) (listof cow) -> (listof "
 #"cow)"
) 0 0 4 29 1 #"\n"
0 0 17 3 69
#";; Consumes a list of cows and another list of all the cows, produces"
0 0 4 29 1 #"\n"
0 0 17 3 69
#";; a list of cows that move.  Those that have collided with something"
0 0 4 29 1 #"\n"
0 0 17 3 31 #";; will change their direction."
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 72
(
 #";; (move-cows-with-collision empty empty)                      ==> "
 #"empty"
) 0 0 4 29 1 #"\n"
0 0 17 3 61
#";; (move-cows-with-collision (cons (make-cow 0 \"left\") empty)"
0 0 4 29 1 #"\n"
0 0 17 3 63
#";;                           (cons (make-cow 0 \"left\") empty)) "
0 0 4 29 1 #"\n"
0 0 17 3 45 #";;      ==> (cons (make-cow 0 \"right\") empty)"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 24 #"move-cows-with-collision"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 4 3 1 #" "
0 0 14 3 8 #"all-cows"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 15 3 4 #"cond"
0 0 4 29 1 #"\n"
0 0 4 3 4 #"    "
0 0 22 3 2 #"[("
0 0 14 3 6 #"empty?"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 14 3 5 #"empty"
0 0 22 3 1 #"]"
0 0 4 29 1 #"\n"
0 0 4 3 4 #"    "
0 0 22 3 1 #"["
0 0 14 3 4 #"else"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 23 #"move-cow-with-collision"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 5 #"first"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 8 #"all-cows"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 11 #"           "
0 0 22 3 1 #"("
0 0 14 3 24 #"move-cows-with-collision"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 4 #"rest"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 8 #"all-cows"
0 0 22 3 5 #"))]))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 9 #";; Tests:"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 24 #"move-cows-with-collision"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 24 #"move-cows-with-collision"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 41 #"                                         "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 24 #"move-cows-with-collision"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 47 #"                                               "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"10"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 41 #"                                         "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 47 #"                                               "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"10"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 20 #"                    "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"10"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 41 #";; drop-ufo-and-move-cows: world -> world"
0 0 4 29 1 #"\n"
0 0 17 3 78
(
 #";; Consumes the UFO's position, and produces a new position shifted"
 #" down by 5."
) 0 0 4 29 1 #"\n"
0 0 17 3 34 #";; The cows also move to the left."
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 92
(
 #";; (drop-ufo-and-move-cows (make-world (make-posn 9 7) (cons (make-"
 #"cow 0 \"left\") empty))) =>"
) 0 0 4 29 1 #"\n"
0 0 17 3 70
(
 #";;     (make-world (make-posn 9 12) (cons (make-cow -1 \"left\""
 #") empty))"
) 0 0 4 29 1 #"\n"
0 0 17 3 95
(
 #";; (drop-ufo-and-move-cows (make-world (make-posn 12 20) (cons (mak"
 #"e-cow 15 \"left\") empty))) =>"
) 0 0 4 29 1 #"\n"
0 0 17 3 71
(
 #";;     (make-world (make-posn 12 25) (cons (make-cow 14 \"left"
 #"\") empty))"
) 0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 22 #"drop-ufo-and-move-cows"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"posn-x"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"world-ufo"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 25 #"                         "
0 0 22 3 1 #"("
0 0 14 3 1 #"+"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"posn-y"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"world-ufo"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 20 3 1 #"5"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 22 3 1 #"("
0 0 14 3 24 #"move-cows-with-collision"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"world-cows"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"world-cows"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 4 #"))))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 9 #";; Tests:"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 22 #"drop-ufo-and-move-cows"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 15 #"               "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"9"
0 0 4 3 1 #" "
0 0 20 3 1 #"7"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 27 #"                           "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"9"
0 0 4 3 1 #" "
0 0 20 3 2 #"12"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 26 #"                          "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 22 #"drop-ufo-and-move-cows"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 15 #"               "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"12"
0 0 4 3 1 #" "
0 0 20 3 2 #"20"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 27 #"                           "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"15"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"12"
0 0 4 3 1 #" "
0 0 20 3 2 #"25"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 26 #"                          "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"14"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 17 3 2 #"#;"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 22 #"drop-ufo-and-move-cows"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 15 #"               "
0 0 22 3 1 #"("
0 0 14 3 22 #"drop-ufo-and-move-cows"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 16 #"                "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 28 #"                            "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"99"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 34 #"                                  "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"98"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 40 #"                                        "
0 0 14 3 5 #"empty"
0 0 22 3 5 #")))))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 20 3 2 #"10"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 3 #"101"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 49 #"                                                 "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"96"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 55 #"                                                       "
0 0 14 3 5 #"empty"
0 0 22 3 4 #"))))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 40 #";; ufo-hitting-ground?: world -> boolean"
0 0 4 29 1 #"\n"
0 0 17 3 75
(
 #";; Consumes the world, and returns true if the ufo has impacted the"
 #" ground."
) 0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 64
#";; (ufo-hitting-ground? (make-world (make-posn 0 0) 0)) => false"
0 0 4 29 1 #"\n"
0 0 17 3 68
#";; (ufo-hitting-ground? (make-world (make-posn 0 HEIGHT) 0)) => true"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 19 #"ufo-hitting-ground?"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 14 3 2 #">="
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"posn-y"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"world-ufo"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 14 3 6 #"HEIGHT"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 9 #";; Tests:"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 19 #"ufo-hitting-ground?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 19 #"ufo-hitting-ground?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 14 3 6 #"HEIGHT"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 4 #"true"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 19 #"ufo-hitting-ground?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"*"
0 0 4 3 1 #" "
0 0 14 3 6 #"HEIGHT"
0 0 4 3 1 #" "
0 0 20 3 1 #"2"
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 4 #"true"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 19 #"ufo-hitting-ground?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"/"
0 0 4 3 1 #" "
0 0 14 3 6 #"HEIGHT"
0 0 4 3 1 #" "
0 0 20 3 1 #"2"
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 27 #";; square: number -> number"
0 0 4 29 1 #"\n"
0 0 17 3 46 #";; Consumes a number, and produces its square."
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 21 #";; (square 10) -> 100"
0 0 4 29 1 #"\n"
0 0 17 3 19 #";; (square 9) -> 81"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"square"
0 0 4 3 1 #" "
0 0 14 3 1 #"x"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 14 3 1 #"*"
0 0 4 3 1 #" "
0 0 14 3 1 #"x"
0 0 4 3 1 #" "
0 0 14 3 1 #"x"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 8 #";; Tests"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"square"
0 0 4 3 1 #" "
0 0 20 3 2 #"10"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 20 3 3 #"100"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"square"
0 0 4 3 1 #" "
0 0 20 3 1 #"9"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 20 3 2 #"81"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 32 #";; distance: posn posn -> number"
0 0 4 29 1 #"\n"
0 0 17 3 59
#";; Consumes the coordinates (x1, y1), (x2, y2) and produces"
0 0 4 29 1 #"\n"
0 0 17 3 16 #";; the distance."
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 50 #";; (distance (make-posn 0 0) (make-posn 0 0)) -> 0"
0 0 4 29 1 #"\n"
0 0 17 3 50 #";; (distance (make-posn 3 4) (make-posn 0 0)) -> 5"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"distance"
0 0 4 3 1 #" "
0 0 14 3 5 #"pos-1"
0 0 4 3 1 #" "
0 0 14 3 5 #"pos-2"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 14 3 4 #"sqrt"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"+"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"square"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"-"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"posn-x"
0 0 4 3 1 #" "
0 0 14 3 5 #"pos-1"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"posn-x"
0 0 4 3 1 #" "
0 0 14 3 5 #"pos-2"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 4 3 11 #"           "
0 0 22 3 1 #"("
0 0 14 3 6 #"square"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"-"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"posn-y"
0 0 4 3 1 #" "
0 0 14 3 5 #"pos-1"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"posn-y"
0 0 4 3 1 #" "
0 0 14 3 5 #"pos-2"
0 0 22 3 6 #"))))))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 9 #";; Tests:"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"distance"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"distance"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"3"
0 0 4 3 1 #" "
0 0 20 3 1 #"4"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 20 3 1 #"5"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"distance"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"1"
0 0 4 3 1 #" "
0 0 20 3 1 #"1"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"1"
0 0 4 3 1 #" "
0 0 20 3 1 #"2"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 20 3 1 #"1"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 40 #";; ufo-hitting-cow?: posn cow -> boolean"
0 0 4 29 1 #"\n"
0 0 17 3 54 #";; Consumes a posn representing the ufo's position and"
0 0 4 29 1 #"\n"
0 0 17 3 60
#";; a cow, and returns true if the UFO and the cow intersect."
0 0 4 29 1 #"\n"
0 0 17 3 56 #";; We do a rough estimate by using the distance formula."
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 74
(
 #";; (ufo-hitting-cow? (make-posn 16 0) (make-cow 16 \"left\"))  "
 #"    ==> false"
) 0 0 4 29 1 #"\n"
0 0 17 3 73
(
 #";; (ufo-hitting-cow? (make-posn 21 COW-Y) (make-cow 21 \"right"
 #"\")) ==> true"
) 0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 16 #"ufo-hitting-cow?"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-ufo"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 14 3 1 #"<"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"distance"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-ufo"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 5 #"cow-x"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-cow"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"COW-Y"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 22 3 1 #"("
0 0 14 3 12 #"image-height"
0 0 4 3 1 #" "
0 0 14 3 3 #"UFO"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 9 #";; Tests:"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 16 #"ufo-hitting-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"16"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"16"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 16 #"ufo-hitting-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"21"
0 0 4 3 1 #" "
0 0 14 3 5 #"COW-Y"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"21"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 4 #"true"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 52 #";; ufo-hitting-any-cow?: ufo (listof cow) -> boolean"
0 0 4 29 1 #"\n"
0 0 17 3 72
(
 #";; Consumes a ufo and the cows, and returns true if any cow has bee"
 #"n hit"
) 0 0 4 29 1 #"\n"
0 0 17 3 14 #";; by the ufo."
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 13 #";;  Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 72
(
 #";; (ufo-hitting-any-cow? (make-posn 21 COW-Y) empty)           ==> "
 #"false"
) 0 0 4 29 1 #"\n"
0 0 17 3 46 #";; (ufo-hitting-any-cow? (make-posn 21 COW-Y) "
0 0 4 29 1 #"\n"
0 0 17 3 72
(
 #";;                       (cons (make-cow 21 \"left\") empty))  "
 #"   ==> true"
) 0 0 4 29 1 #"\n"
0 0 17 3 40 #";; (ufo-hitting-any-cow? (make-posn 0 0)"
0 0 4 29 1 #"\n"
0 0 17 3 73
(
 #";;                       (cons (make-cow 100 \"right\") empty))"
 #"   ==> false"
) 0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 20 #"ufo-hitting-any-cow?"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-ufo"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 15 3 4 #"cond"
0 0 4 29 1 #"\n"
0 0 4 3 4 #"    "
0 0 22 3 2 #"[("
0 0 14 3 6 #"empty?"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 14 3 5 #"false"
0 0 22 3 1 #"]"
0 0 4 29 1 #"\n"
0 0 4 3 4 #"    "
0 0 22 3 1 #"["
0 0 14 3 4 #"else"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 22 3 1 #"("
0 0 14 3 2 #"or"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 16 #"ufo-hitting-cow?"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-ufo"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 5 #"first"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 9 #"         "
0 0 22 3 1 #"("
0 0 14 3 20 #"ufo-hitting-any-cow?"
0 0 4 3 1 #" "
0 0 14 3 5 #"a-ufo"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 4 #"rest"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 6 #")))]))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 9 #";; Tests:"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 20 #"ufo-hitting-any-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"21"
0 0 4 3 1 #" "
0 0 14 3 5 #"COW-Y"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 20 #"ufo-hitting-any-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"21"
0 0 4 3 1 #" "
0 0 14 3 5 #"COW-Y"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"21"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 4 #"true"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 20 #"ufo-hitting-any-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 3 #"100"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 2 #"))"
0 0 4 3 3 #"   "
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 43 #";; ufo-hitting-something?: world -> boolean"
0 0 4 29 1 #"\n"
0 0 17 3 66
#";; Consumes the state of the world, and returns true if the UFO is"
0 0 4 29 1 #"\n"
0 0 17 3 54 #";; hitting either the ground or has landed on the cow."
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 55 #";; (ufo-hitting-something? (make-world (make-posn 19 0)"
0 0 4 29 1 #"\n"
0 0 17 3 88
(
 #";;                                     (cons (make-cow 19 \"left"
 #"\") empty)))     ==> false"
) 0 0 4 29 1 #"\n"
0 0 17 3 62
#";; (ufo-hitting-something? (make-world (make-posn -100 HEIGHT)"
0 0 4 29 1 #"\n"
0 0 17 3 87
(
 #";;                                     (cons (make-cow 1000 \"rig"
 #"ht\") empty)))  ==> true"
) 0 0 4 29 1 #"\n"
0 0 17 3 59
#";; (ufo-hitting-something? (make-world (make-posn 59 COW-Y)"
0 0 4 29 1 #"\n"
0 0 17 3 87
(
 #";;                                     (cons (make-cow 59 \"left"
 #"\") empty)))     ==> true"
) 0 0 4 29 1 #"\n"
0 0 17 3 88
(
 #";; (ufo-hitting-something? (make-world (make-posn 59 (- COW-Y (* 2 "
 #"(image-height COW))))"
) 0 0 4 29 1 #"\n"
0 0 17 3 86
(
 #";;                                     (cons (make-cow 59 \"right"
 #"\") empty)))  ==> false"
) 0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 22 #"ufo-hitting-something?"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 14 3 2 #"or"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 19 #"ufo-hitting-ground?"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 6 #"      "
0 0 22 3 1 #"("
0 0 14 3 20 #"ufo-hitting-any-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"world-ufo"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"world-cows"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 4 #"))))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 9 #";; Tests:"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 22 #"ufo-hitting-something?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"19"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 50 #"                                                  "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"19"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 22 #"ufo-hitting-something?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 4 #"-100"
0 0 4 3 1 #" "
0 0 14 3 6 #"HEIGHT"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 50 #"                                                  "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 4 #"1000"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 4 #"true"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 22 #"ufo-hitting-something?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"59"
0 0 4 3 1 #" "
0 0 14 3 5 #"COW-Y"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 50 #"                                                  "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"59"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 4 #"true"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 22 #"ufo-hitting-something?"
0 0 4 29 1 #"\n"
0 0 4 3 15 #"               "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"59"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"-"
0 0 4 3 1 #" "
0 0 14 3 5 #"COW-Y"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"*"
0 0 4 3 1 #" "
0 0 20 3 1 #"2"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 12 #"image-height"
0 0 4 3 1 #" "
0 0 14 3 8 #"COW-LEFT"
0 0 22 3 4 #"))))"
0 0 4 29 1 #"\n"
0 0 4 3 27 #"                           "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"59"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 14 3 5 #"false"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 37 #";; move-ufo: world key-event -> world"
0 0 4 29 1 #"\n"
0 0 17 3 83
(
 #";; Consumes a world and the key-event, and produces a world where t"
 #"he ufo is either"
) 0 0 4 29 1 #"\n"
0 0 17 3 66
#";; where it was before, or shifted to the left or the right by 10."
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 75
(
 #";; (move-ufo (make-world (make-posn 50 0) (make-cow 99 \"left\""
 #")) 'left) ==> "
) 0 0 4 29 1 #"\n"
0 0 17 3 70
(
 #";;     (make-world (make-posn 40 0) (cons (make-cow 99 \"left\""
 #") empty))"
) 0 0 4 29 1 #"\n"
0 0 17 3 76
(
 #";; (move-ufo (make-world (make-posn 50 0) (make-cow 24 \"left\""
 #")) 'right) ==> "
) 0 0 4 29 1 #"\n"
0 0 17 3 70
(
 #";;     (make-world (make-posn 60 0) (cons (make-cow 24 \"left\""
 #") empty))"
) 0 0 4 29 1 #"\n"
0 0 17 3 42 #";; (move-ufo (make-world (make-posn 50 0) "
0 0 4 29 1 #"\n"
0 0 17 3 99
(
 #";;                       (cons (make-cow 43 \"right\") (cons (m"
 #"ake-cow 44 \"right\") empty))) 'up) ==> "
) 0 0 4 29 1 #"\n"
0 0 17 3 100
(
 #";;     (make-world (make-posn 50 0) (cons (make-cow 43 \"right"
 #"\") (cons (make-cow 44 \"right\") empty)))"
) 0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-ufo"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 4 3 1 #" "
0 0 14 3 11 #"a-key-event"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 15 3 4 #"cond"
0 0 4 29 1 #"\n"
0 0 4 3 4 #"    "
0 0 22 3 2 #"[("
0 0 14 3 5 #"key=?"
0 0 4 3 1 #" "
0 0 14 3 11 #"a-key-event"
0 0 4 3 1 #" "
0 0 20 3 1 #"'"
0 0 14 3 4 #"left"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"-"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"posn-x"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"world-ufo"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 20 3 2 #"10"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 28 #"                            "
0 0 22 3 1 #"("
0 0 14 3 6 #"posn-y"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"world-ufo"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 4 3 17 #"                 "
0 0 22 3 1 #"("
0 0 14 3 10 #"world-cows"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 3 #"))]"
0 0 4 29 1 #"\n"
0 0 4 3 4 #"    "
0 0 22 3 2 #"[("
0 0 14 3 5 #"key=?"
0 0 4 3 1 #" "
0 0 14 3 11 #"a-key-event"
0 0 4 3 1 #" "
0 0 20 3 1 #"'"
0 0 14 3 5 #"right"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"+"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"posn-x"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"world-ufo"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 20 3 2 #"10"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 28 #"                            "
0 0 22 3 1 #"("
0 0 14 3 6 #"posn-y"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"world-ufo"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 4 3 17 #"                 "
0 0 22 3 1 #"("
0 0 14 3 10 #"world-cows"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 3 #"))]"
0 0 4 29 1 #"\n"
0 0 4 3 4 #"    "
0 0 22 3 1 #"["
0 0 14 3 4 #"else"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 14 3 7 #"a-world"
0 0 22 3 3 #"]))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 9 #";; Tests:"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-ufo"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"50"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"99"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 20 3 1 #"'"
0 0 14 3 4 #"left"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"40"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"99"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-ufo"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"50"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"24"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 20 3 1 #"'"
0 0 14 3 5 #"right"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"60"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"24"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 12 #"check-expect"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"move-ufo"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"50"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 36 #"                                    "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"43"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 42 #"                                          "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"44"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 3 #")))"
0 0 4 3 1 #" "
0 0 20 3 1 #"'"
0 0 14 3 2 #"up"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 14 #"              "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 20 3 2 #"50"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 26 #"                          "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"43"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 32 #"                                "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 20 3 2 #"44"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 4 #"))))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 35 #";; draw-cows: (listof cow) -> scene"
0 0 4 29 1 #"\n"
0 0 17 3 68
#";; Consumes all of the cows, and produces a scene with all the cows."
0 0 4 29 1 #"\n"
0 0 17 3 3 #";; "
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 2 #";;"
0 0 4 29 1 #"\n"
0 0 17 3 40 #";; (draw-cows empty)  ==> an empty scene"
0 0 4 29 1 #"\n"
0 0 17 3 101
(
 #";; (draw-cows (cons (make-cow (/ WIDTH 2) \"left\") empty))  =="
 #"> a single left facing cow in the middle"
) 0 0 4 29 1 #"\n"
0 0 17 3 85
(
 #";; (draw-cows (cons (make-cow 0 \"right\") (cons (make-cow (/ W"
 #"IDTH 2) \"left\") empty)))"
) 0 0 4 29 1 #"\n"
0 0 17 3 85
(
 #";;     ==> two cows, one on the left, and the other in the middle, "
 #"facing each other."
) 0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"draw-cows"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 15 3 4 #"cond"
0 0 4 29 1 #"\n"
0 0 4 3 4 #"    "
0 0 22 3 2 #"[("
0 0 14 3 6 #"empty?"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 14 3 11 #"EMPTY-SCENE"
0 0 22 3 1 #"]"
0 0 4 29 1 #"\n"
0 0 4 3 4 #"    "
0 0 22 3 1 #"["
0 0 14 3 4 #"else"
0 0 4 29 1 #"\n"
0 0 4 3 5 #"     "
0 0 22 3 1 #"("
0 0 14 3 11 #"place-image"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 15 3 4 #"cond"
0 0 4 3 1 #" "
0 0 22 3 2 #"[("
0 0 14 3 8 #"string=?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 13 #"cow-direction"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 5 #"first"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 2 #"))"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 25 #"                         "
0 0 14 3 8 #"COW-LEFT"
0 0 22 3 1 #"]"
0 0 4 29 1 #"\n"
0 0 4 3 24 #"                        "
0 0 22 3 1 #"["
0 0 14 3 4 #"else"
0 0 4 29 1 #"\n"
0 0 4 3 25 #"                         "
0 0 14 3 9 #"COW-RIGHT"
0 0 22 3 2 #"])"
0 0 4 29 1 #"\n"
0 0 4 3 18 #"                  "
0 0 22 3 1 #"("
0 0 14 3 5 #"cow-x"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 5 #"first"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 18 #"                  "
0 0 14 3 5 #"COW-Y"
0 0 4 29 1 #"\n"
0 0 4 3 18 #"                  "
0 0 22 3 1 #"("
0 0 14 3 9 #"draw-cows"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 4 #"rest"
0 0 4 3 1 #" "
0 0 14 3 4 #"cows"
0 0 22 3 6 #")))]))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 29 #";; draw-world: world -> scene"
0 0 4 29 1 #"\n"
0 0 17 3 77
(
 #";; Consumes the UFO's position, and produces a scene of the UFO hov"
 #"ering over"
) 0 0 4 29 1 #"\n"
0 0 17 3 11 #";; the cow."
0 0 4 29 1 #"\n"
0 0 17 3 3 #";; "
0 0 4 29 1 #"\n"
0 0 17 3 12 #";; Examples:"
0 0 4 29 1 #"\n"
0 0 17 3 69
#";; (draw-world (make-world (make-posn (/ WIDTH 2) 0) (/ WIDTH 2))) =>"
0 0 4 29 1 #"\n"
0 0 17 3 70
(
 #";;    scene with the ufo at the top, and the cow at the bottom cent"
 #"er."
) 0 0 4 29 1 #"\n"
0 0 17 3 50 #";; (draw-world (make-world (make-posn (/ WIDTH 2) "
0 0 4 29 1 #"\n"
0 0 17 3 85
(
 #";;                                    (- HEIGHT (image-width UFO) ("
 #"image-width COW)))"
) 0 0 4 29 1 #"\n"
0 0 17 3 40 #";;                         (/ WIDTH 2)))"
0 0 4 29 1 #"\n"
0 0 17 3 51 #";;     => scene with the red ufo right over the cow"
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 15 3 6 #"define"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"draw-world"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 2 #"  "
0 0 22 3 1 #"("
0 0 14 3 11 #"place-image"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 15 3 4 #"cond"
0 0 4 3 1 #" "
0 0 22 3 2 #"[("
0 0 14 3 20 #"ufo-hitting-any-cow?"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"world-ufo"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"world-cows"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 22 #"                      "
0 0 14 3 7 #"RED-UFO"
0 0 22 3 1 #"]"
0 0 4 29 1 #"\n"
0 0 4 3 21 #"                     "
0 0 22 3 1 #"["
0 0 14 3 4 #"else"
0 0 4 29 1 #"\n"
0 0 4 3 22 #"                      "
0 0 14 3 3 #"UFO"
0 0 22 3 2 #"])"
0 0 4 29 1 #"\n"
0 0 4 3 15 #"               "
0 0 22 3 1 #"("
0 0 14 3 6 #"posn-x"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"world-ufo"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 15 #"               "
0 0 22 3 1 #"("
0 0 14 3 6 #"posn-y"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"world-ufo"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 2 #"))"
0 0 4 29 1 #"\n"
0 0 4 3 15 #"               "
0 0 22 3 1 #"("
0 0 14 3 9 #"draw-cows"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 10 #"world-cows"
0 0 4 3 1 #" "
0 0 14 3 7 #"a-world"
0 0 22 3 4 #"))))"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 4 29 1 #"\n"
0 0 17 3 44 #";; We start three cows at a random position."
0 0 4 29 1 #"\n"
0 0 22 3 1 #"("
0 0 14 3 8 #"big-bang"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 4 3 1 #" "
0 0 14 3 6 #"HEIGHT"
0 0 4 29 1 #"\n"
0 0 4 3 10 #"          "
0 0 22 3 1 #"("
0 0 14 3 10 #"make-world"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 9 #"make-posn"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 1 #"/"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 4 3 1 #" "
0 0 20 3 1 #"2"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 20 3 1 #"0"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 22 #"                      "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 4 29 1 #"\n"
0 0 4 3 23 #"                       "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"random"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 23 #"                       "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"random"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 19 3 7 #"\"right\""
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 29 #"                             "
0 0 22 3 1 #"("
0 0 14 3 4 #"cons"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 8 #"make-cow"
0 0 4 3 1 #" "
0 0 22 3 1 #"("
0 0 14 3 6 #"random"
0 0 4 3 1 #" "
0 0 14 3 5 #"WIDTH"
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 19 3 6 #"\"left\""
0 0 22 3 1 #")"
0 0 4 3 1 #" "
0 0 14 3 5 #"empty"
0 0 22 3 4 #"))))"
0 0 4 29 1 #"\n"
0 0 4 3 10 #"          "
0 0 22 3 1 #"("
0 0 14 3 7 #"on-tick"
0 0 4 3 1 #" "
0 0 20 3 4 #"1/20"
0 0 4 3 1 #" "
0 0 14 3 22 #"drop-ufo-and-move-cows"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 10 #"          "
0 0 22 3 1 #"("
0 0 14 3 9 #"on-redraw"
0 0 4 3 1 #" "
0 0 14 3 10 #"draw-world"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 10 #"          "
0 0 22 3 1 #"("
0 0 14 3 6 #"on-key"
0 0 4 3 1 #" "
0 0 14 3 8 #"move-ufo"
0 0 22 3 1 #")"
0 0 4 29 1 #"\n"
0 0 4 3 10 #"          "
0 0 22 3 1 #"("
0 0 14 3 9 #"stop-when"
0 0 4 3 1 #" "
0 0 14 3 22 #"ufo-hitting-something?"
0 0 22 3 2 #"))"
0 00000000000