#reader(lib"read.ss""wxme")WXME0108 ## #| This file uses the GRacket editor format. Open this file in DrRacket version 5.1.3.6 or later to read it. Most likely, it was created by saving a program in DrRacket, and it probably contains a program with non-text elements (such as images or comment boxes). http://racket-lang.org/ |# 44 7 #"wxtext\0" 3 1 6 #"wxtab\0" 1 1 8 #"wximage\0" 2 0 8 #"wxmedia\0" 4 1 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 68 ( #"((lib \"image-core.ss\" \"mrlib\") (lib \"image-core-wxme.rkt\" \"mr" #"lib\"))\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 8 #"gb:core\0" 5 0 10 #"gb:canvas\0" 5 0 17 #"gb:editor-canvas\0" 5 0 10 #"gb:slider\0" 5 0 9 #"gb:gauge\0" 5 0 11 #"gb:listbox\0" 5 0 12 #"gb:radiobox\0" 5 0 10 #"gb:choice\0" 5 0 8 #"gb:text\0" 5 0 11 #"gb:message\0" 5 0 10 #"gb:button\0" 5 0 12 #"gb:checkbox\0" 5 0 18 #"gb:vertical-panel\0" 5 0 9 #"gb:panel\0" 5 0 20 #"gb:horizontal-panel\0" 5 0 33 #"(lib \"readable.ss\" \"guibuilder\")\0" 1 0 57 #"(lib \"hrule-snip.rkt\" \"macro-debugger\" \"syntax-browser\")\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" 0 0 84 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 9 #"Standard\0" 0 75 7 #"Monaco\0" 0 18 90 -1 90 -1 1 -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 0 -1 -1 93 -1 -1 -1 0 0 0 0 0 0 0 0 0 1.0 1.0 1.0 255 0 0 0 0 0 -1 -1 2 15 #"text:ports err\0" 0 -1 1 #"\0" 1.0 0 -1 -1 93 -1 -1 -1 0 0 0 0 0 0 0 0 0 1.0 1.0 1.0 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 0 92 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1.0 1.0 1.0 34 139 34 0 0 0 -1 -1 2 27 #"Matching Parenthesis Style\0" 0 -1 1 #"\0" 1.0 0 92 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 1.0 1.0 1.0 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 #"drracket: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 178 34 34 0 0 0 -1 -1 2 28 #"drracket:check-syntax:set!d\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 2 37 #"drracket:check-syntax:unused-require\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 #"drracket:check-syntax:free-variable\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 68 0 203 0 0 0 -1 -1 2 31 #"drracket: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 47 #"drracket:check-syntax:my-obligation-style-pref\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 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 116 0 0 0 0 -1 -1 2 50 #"drracket:check-syntax:their-obligation-style-pref\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 116 0 0 0 0 -1 -1 2 48 #"drracket:check-syntax:unk-obligation-style-pref\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 142 28 0 0 0 -1 -1 2 49 #"drracket:check-syntax:both-obligation-style-pref\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 142 28 0 0 0 -1 -1 2 26 #"plt:htdp:test-coverage-on\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 0 0 0 255 165 0 0 0 0 -1 -1 2 27 #"plt:htdp:test-coverage-off\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 255 165 0 0 0 0 -1 -1 4 1 #"\0" 0 70 1 #"\0" 1.0 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 1.0 1.0 1.0 1.0 1.0 1.0 0 0 0 0 0 0 -1 -1 4 4 #"XML\0" 0 70 1 #"\0" 1.0 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 1.0 1.0 1.0 1.0 1.0 1.0 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 34 139 34 0 0 0 -1 -1 2 37 #"plt:module-language:test-coverage-on\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 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 176 48 96 0 0 0 -1 -1 2 38 #"plt:module-language:test-coverage-off\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 176 48 96 0 0 0 -1 -1 0 1 #"\0" 0 75 7 #"Monaco\0" 0.0 18 90 -1 90 -1 1 -1 0 1 0 1 0 0 0.0 0.0 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 0 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0 1.0 1.0 1.0 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1 #"\0" 1.0 0 -1 -1 -1 -1 -1 -1 0 0 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 255 255 255 -1 -1 43 1 #"\0" 0 -1 1 #"\0" 1.0 0 -1 -1 -1 -1 -1 -1 0 0 0 0 1 0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 255 255 255 -1 -1 0 462 0 4 3 85 ( #";; The first three lines of this file were inserted by DrRacket. The" #"y 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 ca" #"n easily process." ) 0 0 4 29 1 #"\n" 0 0 4 3 171 ( #"#reader(lib \"htdp-beginner-reader.ss\" \"lang\")((modname lec3) (re" #"ad-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructo" #"r repeating-decimal #f #t none #f ())))" ) 0 0 4 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 14 3 7 #"require" 0 0 73 3 1 #" " 0 0 14 3 11 #"2htdp/image" 0 0 22 3 1 #")" 0 0 73 29 1 #"\n" 0 0 73 29 1 #"\n" 0 0 17 3 41 #";; bigger-image? : image image -> boolean" 0 0 73 29 1 #"\n" 0 0 17 3 58 #";; To determine whether a has strictly more pixels than b" 0 0 73 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 15 3 6 #"define" 0 0 82 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 13 #"bigger-image?" 0 0 82 3 1 #" " 0 0 14 3 1 #"a" 0 0 82 3 1 #" " 0 0 14 3 1 #"b" 0 0 22 3 1 #")" 0 0 82 29 1 #"\n" 0 0 82 3 2 #" " 0 0 22 3 1 #"(" 0 0 14 3 1 #">" 0 0 82 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 11 #"pixel-count" 0 0 82 3 1 #" " 0 0 14 3 1 #"a" 0 0 22 3 1 #")" 0 0 82 3 1 #" " 0 0 82 29 1 #"\n" 0 0 82 3 5 #" " 0 0 22 3 1 #"(" 0 0 14 3 11 #"pixel-count" 0 0 82 3 1 #" " 0 0 14 3 1 #"b" 0 0 22 3 3 #")))" 0 0 73 29 1 #"\n" 0 0 73 29 1 #"\n" 0 0 17 3 29 #";; pixel-count : image -> num" 0 0 73 29 1 #"\n" 0 0 17 3 37 #";; To compute the number pixels in i" 0 0 73 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 15 3 6 #"define" 0 0 82 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 11 #"pixel-count" 0 0 82 3 1 #" " 0 0 14 3 1 #"i" 0 0 22 3 1 #")" 0 0 82 29 1 #"\n" 0 0 82 3 2 #" " 0 0 22 3 1 #"(" 0 0 14 3 1 #"*" 0 0 82 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 11 #"image-width" 0 0 82 3 1 #" " 0 0 14 3 1 #"i" 0 0 22 3 1 #")" 0 0 82 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 12 #"image-height" 0 0 82 3 1 #" " 0 0 14 3 1 #"i" 0 0 22 3 3 #")))" 0 0 82 29 1 #"\n" 0 0 73 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 14 3 12 #"check-expect" 0 0 82 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 11 #"pixel-count" 0 0 82 3 1 #" " 0 11 4 82 165 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 20 0) #(struct:point 20 20) #(struct:point 0 20)) 255 \"blu" #"e\")) #(struct:bb 20 20 20) #f)" ) 0 0 22 3 1 #")" 0 0 82 3 1 #" " 0 0 20 3 3 #"400" 0 0 22 3 1 #")" 0 0 73 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 14 3 12 #"check-expect" 0 0 82 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 11 #"pixel-count" 0 0 82 3 1 #" " 0 11 4 82 164 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 10 0) #(struct:point 10 10) #(struct:point 0 10)) 255 \"red" #"\")) #(struct:bb 10 10 10) #f)" ) 0 0 22 3 1 #")" 0 0 82 3 1 #" " 0 0 20 3 3 #"100" 0 0 22 3 1 #")" 0 0 73 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 14 3 12 #"check-expect" 0 0 82 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 11 #"pixel-count" 0 0 82 3 1 #" " 0 11 4 82 166 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 15 0) #(struct:point 15 40) #(struct:point 0 40)) 255 \"gre" #"en\")) #(struct:bb 15 40 40) #f)" ) 0 0 22 3 1 #")" 0 0 82 3 1 #" " 0 0 20 3 3 #"600" 0 0 22 3 1 #")" 0 0 73 29 1 #"\n" 0 0 73 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 14 3 12 #"check-expect" 0 0 82 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 13 #"bigger-image?" 0 0 82 3 1 #" " 0 11 4 82 165 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 20 0) #(struct:point 20 20) #(struct:point 0 20)) 255 \"blu" #"e\")) #(struct:bb 20 20 20) #f)" ) 0 0 82 3 1 #" " 0 11 4 82 164 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 10 0) #(struct:point 10 10) #(struct:point 0 10)) 255 \"red" #"\")) #(struct:bb 10 10 10) #f)" ) 0 0 22 3 1 #")" 0 0 82 3 1 #" " 0 0 14 3 4 #"true" 0 0 22 3 1 #")" 0 0 73 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 14 3 12 #"check-expect" 0 0 82 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 13 #"bigger-image?" 0 0 82 3 1 #" " 0 11 4 82 164 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 10 0) #(struct:point 10 10) #(struct:point 0 10)) 255 \"red" #"\")) #(struct:bb 10 10 10) #f)" ) 0 0 82 3 1 #" " 0 11 4 82 165 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 20 0) #(struct:point 20 20) #(struct:point 0 20)) 255 \"blu" #"e\")) #(struct:bb 20 20 20) #f)" ) 0 0 22 3 1 #")" 0 0 82 3 1 #" " 0 0 14 3 5 #"false" 0 0 22 3 1 #")" 0 0 73 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 14 3 12 #"check-expect" 0 0 82 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 13 #"bigger-image?" 0 0 82 3 1 #" " 0 11 4 82 165 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 20 0) #(struct:point 20 20) #(struct:point 0 20)) 255 \"blu" #"e\")) #(struct:bb 20 20 20) #f)" ) 0 0 82 3 1 #" " 0 11 4 82 165 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 20 0) #(struct:point 20 20) #(struct:point 0 20)) 255 \"blu" #"e\")) #(struct:bb 20 20 20) #f)" ) 0 0 22 3 1 #")" 0 0 82 3 1 #" " 0 0 14 3 5 #"false" 0 0 22 3 1 #")" 0 0 73 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 14 3 12 #"check-expect" 0 0 82 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 13 #"bigger-image?" 0 0 82 3 1 #" " 0 11 4 82 165 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 20 0) #(struct:point 20 20) #(struct:point 0 20)) 255 \"blu" #"e\")) #(struct:bb 20 20 20) #f)" ) 0 0 82 3 1 #" " 0 11 4 82 166 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 15 0) #(struct:point 15 40) #(struct:point 0 40)) 255 \"gre" #"en\")) #(struct:bb 15 40 40) #f)" ) 0 0 22 3 1 #")" 0 0 82 3 1 #" " 0 0 14 3 5 #"false" 0 0 22 3 1 #")" 0 0 73 29 1 #"\n" 0 0 73 29 1 #"\n" 0 0 17 3 35 #";; max-image : image image -> image" 0 0 73 29 1 #"\n" 0 0 17 3 48 #";; To return the larger (in pixels) of a and b;" 0 0 73 29 1 #"\n" 0 0 17 3 37 #";; If they're the same size, pick a." 0 0 73 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 15 3 6 #"define" 0 0 82 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 9 #"max-image" 0 0 82 3 1 #" " 0 0 14 3 1 #"a" 0 0 82 3 1 #" " 0 0 14 3 1 #"b" 0 0 22 3 1 #")" 0 0 82 29 1 #"\n" 0 0 82 3 2 #" " 0 0 22 3 1 #"(" 0 0 15 3 4 #"cond" 0 0 83 29 1 #"\n" 0 0 83 3 4 #" " 0 0 22 3 2 #"[(" 0 0 14 3 13 #"bigger-image?" 0 0 83 3 1 #" " 0 0 14 3 1 #"a" 0 0 83 3 1 #" " 0 0 14 3 1 #"b" 0 0 22 3 1 #")" 0 0 83 3 1 #" " 0 0 14 3 1 #"a" 0 0 22 3 1 #"]" 0 0 83 29 1 #"\n" 0 0 83 3 4 #" " 0 0 22 3 2 #"[(" 0 0 14 3 13 #"bigger-image?" 0 0 83 3 1 #" " 0 0 14 3 1 #"b" 0 0 83 3 1 #" " 0 0 14 3 1 #"a" 0 0 22 3 1 #")" 0 0 83 3 1 #" " 0 0 14 3 1 #"b" 0 0 22 3 1 #"]" 0 0 83 29 1 #"\n" 0 0 83 3 4 #" " 0 0 22 3 1 #"[" 0 0 14 3 4 #"else" 0 0 83 3 1 #" " 0 0 14 3 1 #"a" 0 0 22 3 3 #"]))" 0 0 73 29 1 #"\n" 0 0 24 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 14 3 12 #"check-expect" 0 0 24 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 9 #"max-image" 0 0 24 3 1 #" " 0 11 4 24 165 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 20 0) #(struct:point 20 20) #(struct:point 0 20)) 255 \"blu" #"e\")) #(struct:bb 20 20 20) #f)" ) 0 0 24 3 1 #" " 0 11 4 24 164 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 10 0) #(struct:point 10 10) #(struct:point 0 10)) 255 \"red" #"\")) #(struct:bb 10 10 10) #f)" ) 0 0 22 3 1 #")" 0 0 24 3 1 #" " 0 11 4 24 165 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 20 0) #(struct:point 20 20) #(struct:point 0 20)) 255 \"blu" #"e\")) #(struct:bb 20 20 20) #f)" ) 0 0 22 3 1 #")" 0 0 24 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 14 3 12 #"check-expect" 0 0 24 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 9 #"max-image" 0 0 24 3 1 #" " 0 11 4 24 164 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 10 0) #(struct:point 10 10) #(struct:point 0 10)) 255 \"red" #"\")) #(struct:bb 10 10 10) #f)" ) 0 0 24 3 1 #" " 0 11 4 24 165 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 20 0) #(struct:point 20 20) #(struct:point 0 20)) 255 \"blu" #"e\")) #(struct:bb 20 20 20) #f)" ) 0 0 22 3 1 #")" 0 0 24 3 1 #" " 0 11 4 24 165 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 20 0) #(struct:point 20 20) #(struct:point 0 20)) 255 \"blu" #"e\")) #(struct:bb 20 20 20) #f)" ) 0 0 22 3 1 #")" 0 0 24 29 1 #"\n" 0 0 22 3 1 #"(" 0 0 14 3 12 #"check-expect" 0 0 24 3 1 #" " 0 0 22 3 1 #"(" 0 0 14 3 9 #"max-image" 0 0 24 3 1 #" " 0 11 4 24 165 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 20 0) #(struct:point 20 20) #(struct:point 0 20)) 255 \"blu" #"e\")) #(struct:bb 20 20 20) #f)" ) 0 0 24 3 1 #" " 0 11 4 24 165 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 20 0) #(struct:point 20 20) #(struct:point 0 20)) 255 \"blu" #"e\")) #(struct:bb 20 20 20) #f)" ) 0 0 22 3 1 #")" 0 0 24 3 1 #" " 0 11 4 24 165 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 20 0) #(struct:point 20 20) #(struct:point 0 20)) 255 \"blu" #"e\")) #(struct:bb 20 20 20) #f)" ) 0 0 22 3 1 #")" 0 0 24 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 9 #"max-image" 0 0 4 3 1 #" " 0 11 4 4 167 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 40 0) #(struct:point 40 15) #(struct:point 0 15)) 255 \"yel" #"low\")) #(struct:bb 40 15 15) #f)" ) 0 0 4 3 1 #" " 0 11 4 4 166 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 15 0) #(struct:point 15 40) #(struct:point 0 40)) 255 \"gre" #"en\")) #(struct:bb 15 40 40) #f)" ) 0 0 22 3 1 #")" 0 0 4 3 1 #" " 0 11 4 4 167 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 40 0) #(struct:point 40 15) #(struct:point 0 15)) 255 \"yel" #"low\")) #(struct:bb 40 15 15) #f)" ) 0 0 22 3 1 #")" 0 0 24 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 9 #"max-image" 0 0 4 3 1 #" " 0 11 4 4 166 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 15 0) #(struct:point 15 40) #(struct:point 0 40)) 255 \"gre" #"en\")) #(struct:bb 15 40 40) #f)" ) 0 0 4 3 1 #" " 0 11 4 4 167 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 40 0) #(struct:point 40 15) #(struct:point 0 15)) 255 \"yel" #"low\")) #(struct:bb 40 15 15) #f)" ) 0 0 22 3 1 #")" 0 0 4 3 1 #" " 0 11 4 4 166 ( #"(#(struct:translate 0 0 #(struct:polygon (#(struct:point 0 0) #(stru" #"ct:point 15 0) #(struct:point 15 40) #(struct:point 0 40)) 255 \"gre" #"en\")) #(struct:bb 15 40 40) #f)" ) 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 12 #";; A posn is" 0 0 4 29 1 #"\n" 0 0 17 3 23 #";; (make-posn num num)" 0 0 4 29 1 #"\n" 0 0 4 29 1 #"\n" 0 0 17 3 35 #";; pixels-from-corner : posn -> num" 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 18 #"pixels-from-corner" 0 0 4 3 1 #" " 0 0 14 3 1 #"p" 0 0 22 3 1 #")" 0 0 4 3 2 #" " 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 6 #"posn-x" 0 0 4 3 1 #" " 0 0 14 3 1 #"p" 0 0 22 3 1 #")" 0 0 4 3 2 #" " 0 0 22 3 1 #"(" 0 0 14 3 6 #"posn-y" 0 0 4 3 1 #" " 0 0 14 3 1 #"p" 0 0 22 3 3 #")))" 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 18 #"pixels-from-corner" 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 2 #"))" 0 0 4 29 1 #"\n" 0 0 4 3 14 #" " 0 0 20 3 1 #"7" 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 18 #"pixels-from-corner" 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 #"10" 0 0 4 3 1 #" " 0 0 20 3 1 #"6" 0 0 22 3 2 #"))" 0 0 4 29 1 #"\n" 0 0 4 3 14 #" " 0 0 20 3 2 #"16" 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 18 #"pixels-from-corner" 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 4 29 1 #"\n" 0 0 17 3 27 #";; flip-posn : posn -> posn" 0 0 4 29 1 #"\n" 0 0 17 3 37 #";; To reverse the x and y parts of p" 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 #"flip-posn" 0 0 4 3 1 #" " 0 0 14 3 1 #"p" 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 9 #"make-posn" 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 1 #"p" 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 1 #"p" 0 0 22 3 3 #")))" 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 9 #"flip-posn" 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 2 #"))" 0 0 4 29 1 #"\n" 0 0 4 3 14 #" " 0 0 22 3 1 #"(" 0 0 14 3 9 #"make-posn" 0 0 4 3 1 #" " 0 0 20 3 1 #"4" 0 0 4 3 1 #" " 0 0 20 3 1 #"3" 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 9 #"flip-posn" 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 #"10" 0 0 4 3 1 #" " 0 0 20 3 1 #"6" 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 9 #"make-posn" 0 0 4 3 1 #" " 0 0 20 3 1 #"6" 0 0 4 3 1 #" " 0 0 20 3 2 #"10" 0 0 22 3 2 #"))" 0 0 4 29 1 #"\n" 0 0