diff --git a/collects/scribblings/quick/images/exprs.dat b/collects/scribblings/quick/images/exprs.dat index cb78daca61..5df01e094d 100644 --- a/collects/scribblings/quick/images/exprs.dat +++ b/collects/scribblings/quick/images/exprs.dat @@ -1,89 +1,15 @@ -((2) 0 () 0 () () 5) -((2) 0 () 0 () () 5) -((2) 0 () 0 () () (c begin c "art gallery")) -((2) 0 () 0 () () "art gallery") -((2) 0 () 0 () () (c circle c 10)) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img0") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c rectangle c 10 c 20)) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img1") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c circle c 10 c 20)) -((2) 1 (((lib "scriblib/private/gui-eval-exn.rkt") . deserialize-info:gui-exn-v0)) 0 () () (0 "procedure circle: expects 1 argument, given 2: 10 20")) -((2) 0 () 0 () () (c hc-append c (c circle c 10) c (c rectangle c 10 c 20))) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img2") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c define c c c (c circle c 10))) -((2) 0 () 0 () () (void)) -((2) 0 () 0 () () (c define c r c (c rectangle c 10 c 20))) -((2) 0 () 0 () () (void)) -((2) 0 () 0 () () r) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img3") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c hc-append c c c r)) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img4") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c hc-append c 20 c c c r c c)) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img5") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c define c (c square c n) c (c filled-rectangle c n c n))) -((2) 0 () 0 () () (void)) -((2) 0 () 0 () () (c square c 10)) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img6") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c define c (c four c p) c (c define c two-p c (c hc-append c p c p)) c (c vc-append c two-p c two-p))) -((2) 0 () 0 () () (void)) -((2) 0 () 0 () () (c four c (c circle c 10))) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img7") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c define c (c checker c p1 c p2) c (c let c (c (c p12 c (c hc-append c p1 c p2)) c (c p21 c (c hc-append c p2 c p1))) c (c vc-append c p12 c p21)))) -((2) 0 () 0 () () (void)) -((2) 0 () 0 () () (c checker c (c colorize c (c square c 10) c "red") c (c colorize c (c square c 10) c "black"))) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img8") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c define c (c checkerboard c p) c (c let* c (c (c rp c (c colorize c p c "red")) c (c bp c (c colorize c p c "black")) c (c c c (c checker c rp c bp)) c (c c4 c (c four c c))) c (c four c c4)))) -((2) 0 () 0 () () (void)) -((2) 0 () 0 () () (c checkerboard c (c square c 10))) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img9") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () circle) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:element-v0)) 0 () () (0 #f (c (u . "#")))) -((2) 0 () 0 () () (c define c (c series c mk) c (c hc-append c 4 c (c mk c 5) c (c mk c 10) c (c mk c 20)))) -((2) 0 () 0 () () (void)) -((2) 0 () 0 () () (c series c circle)) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img10") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c series c square)) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img11") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c series c (c lambda c (c size) c (c checkerboard c (c square c size))))) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img12") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c define c (c rgb-series c mk) c (c vc-append c (c series c (c lambda c (c sz) c (c colorize c (c mk c sz) c "red"))) c (c series c (c lambda c (c sz) c (c colorize c (c mk c sz) c "green"))) c (c series c (c lambda c (c sz) c (c colorize c (c mk c sz) c "blue")))))) -((2) 0 () 0 () () (void)) -((2) 0 () 0 () () (c rgb-series c circle)) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img13") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c rgb-series c square)) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img14") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c define c (c rgb-maker c mk) c (c lambda c (c sz) c (c vc-append c (c colorize c (c mk c sz) c "red") c (c colorize c (c mk c sz) c "green") c (c colorize c (c mk c sz) c "blue"))))) -((2) 0 () 0 () () (void)) -((2) 0 () 0 () () (c series c (c rgb-maker c circle))) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img15") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c series c (c rgb-maker c square))) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img16") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c list c "red" c "green" c "blue")) -((2) 0 () 0 () () (c "red" c "green" c "blue")) -((2) 0 () 0 () () (c list c (c circle c 10) c (c square c 10))) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 2 ("[image]" (c ".pdf" c ".png")) () (c (0 #f (c (? . 0)) (u . "images/img17") (? . 1) 1.0) c (0 #f (c (? . 0)) (u . "images/img18") (? . 1) 1.0))) -((2) 0 () 0 () () (c define c (c rainbow c p) c (c map c (c lambda c (c color) c (c colorize c p c color)) c (c list c "red" c "orange" c "yellow" c "green" c "blue" c "purple")))) -((2) 0 () 0 () () (void)) -((2) 0 () 0 () () (c rainbow c (c square c 5))) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 2 ("[image]" (c ".pdf" c ".png")) () (c (0 #f (c (? . 0)) (u . "images/img19") (? . 1) 1.0) c (0 #f (c (? . 0)) (u . "images/img20") (? . 1) 1.0) c (0 #f (c (? . 0)) (u . "images/img21") (? . 1) 1.0) c (0 #f (c (? . 0)) (u . "images/img22") (? . 1) 1.0) c (0 #f (c (? . 0)) (u . "images/img23") (? . 1) 1.0) c (0 #f (c (? . 0)) (u . "images/img24") (? . 1) 1.0))) -((2) 0 () 0 () () (c apply c vc-append c (c rainbow c (c square c 5)))) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img25") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c require c slideshow/flash)) -((2) 0 () 0 () () (void)) -((2) 0 () 0 () () (c filled-flash c 40 c 30)) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img26") (c ".pdf" c ".png") 1.0)) -((2) 0 () 0 () () (c require c (c planet c "random.rkt" c (c "schematics" c "random.plt" c 1 c 0)))) +((2) 0 () 0 () () (c require c (c planet c schematics/random:1:0/random))) ((2) 0 () 0 () () (void)) ((2) 0 () 0 () () (c random-gaussian)) ((2) 0 () 0 () () 0.7386912134436788) ((2) 0 () 0 () () (c require c slideshow/code)) ((2) 0 () 0 () () (void)) ((2) 0 () 0 () () (c code c (c circle c 10))) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img27") (c ".pdf" c ".png") 1.0)) +((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img0") (c ".pdf" c ".png") 1.0)) ((2) 0 () 0 () () (c define-syntax c pict+code c (c syntax-rules c () c (c (c pict+code c expr) c (c hc-append c 10 c expr c (c code c expr)))))) ((2) 0 () 0 () () (void)) ((2) 0 () 0 () () (c pict+code c (c circle c 10))) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img28") (c ".pdf" c ".png") 1.0)) +((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img1") (c ".pdf" c ".png") 1.0)) ((2) 0 () 0 () () (c require c racket/class c racket/gui/base)) ((2) 0 () 0 () () (void)) ((2) 0 () 0 () () (c define c f c (c new c frame% c (c label c "My Art") c (c width c 300) c (c height c 300) c (c alignment c (c quote c (c center c center)))))) @@ -97,6 +23,6 @@ ((2) 0 () 0 () () (c add-drawing c (c pict+code c (c circle c 10)))) ((2) 1 (((lib "scribble/core.rkt") . deserialize-info:element-v0)) 0 () () (0 #f (c (u . "#(struct:object:canvas% ...)")))) ((2) 0 () 0 () () (c add-drawing c (c colorize c (c filled-flash c 50 c 30) c "yellow"))) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:element-v0)) 0 () () (0 #f (c (u . "#(struct:object:canvas% ...)")))) +((2) 1 (((lib "scriblib/private/gui-eval-exn.rkt") . deserialize-info:gui-exn-v0)) 0 () () (0 "reference to undefined identifier: filled-flash")) ((2) 0 () 0 () () (c scale c (c bitmap c (c build-path c (c collection-path c "scribblings/quick") c "art.png")) c 0.5)) -((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img29") (c ".pdf" c ".png") 1.0)) +((2) 1 (((lib "scribble/core.rkt") . deserialize-info:image-element-v0)) 0 () () (0 #f (c "[image]") (u . "images/img2") (c ".pdf" c ".png") 1.0)) diff --git a/collects/scribblings/quick/images/img0.pdf b/collects/scribblings/quick/images/img0.pdf index 25438957a6..4d8e7d9496 100644 Binary files a/collects/scribblings/quick/images/img0.pdf and b/collects/scribblings/quick/images/img0.pdf differ diff --git a/collects/scribblings/quick/images/img0.png b/collects/scribblings/quick/images/img0.png index ecaba56e73..f479d36f93 100644 Binary files a/collects/scribblings/quick/images/img0.png and b/collects/scribblings/quick/images/img0.png differ diff --git a/collects/scribblings/quick/images/img1.pdf b/collects/scribblings/quick/images/img1.pdf index 0cb18631b6..85664a1388 100644 Binary files a/collects/scribblings/quick/images/img1.pdf and b/collects/scribblings/quick/images/img1.pdf differ diff --git a/collects/scribblings/quick/images/img1.png b/collects/scribblings/quick/images/img1.png index b45fa1cb6f..5f2c07464f 100644 Binary files a/collects/scribblings/quick/images/img1.png and b/collects/scribblings/quick/images/img1.png differ diff --git a/collects/scribblings/quick/images/img10.pdf b/collects/scribblings/quick/images/img10.pdf deleted file mode 100644 index 5d70606044..0000000000 --- a/collects/scribblings/quick/images/img10.pdf +++ /dev/null @@ -1,80 +0,0 @@ -%PDF-1.4 -%쏢 -5 0 obj -<> -stream -xEKn1D8fiQ~(ӣy?,IYz7%?RE\U~@QgMKe'u:eQ?lS(b0?Ob%:#(- c͞dR5H4; l<)4<9mN:acd=\RD:LGd"*j^h<. tW!R:endstream -endobj -6 0 obj -214 -endobj -4 0 obj -<> -/Contents 5 0 R ->> -endobj -3 0 obj -<< /Type /Pages /Kids [ -4 0 R -] /Count 1 ->> -endobj -1 0 obj -<> -endobj -7 0 obj -<>endobj -8 0 obj -<> -endobj -9 0 obj -<>stream - - - - - -PLT Scheme - -Untitledmflatt@Macintosh \(Matthew Flatt\) - - - - - -endstream -endobj -2 0 obj -<>endobj -xref -0 10 -0000000000 65535 f -0000000506 00000 n -0000002090 00000 n -0000000447 00000 n -0000000318 00000 n -0000000015 00000 n -0000000299 00000 n -0000000570 00000 n -0000000611 00000 n -0000000640 00000 n -trailer -<< /Size 10 /Root 1 0 R /Info 2 0 R -/ID [<773F739C40C01D398B1ACA4FA8323A87><773F739C40C01D398B1ACA4FA8323A87>] ->> -startxref -2278 -%%EOF diff --git a/collects/scribblings/quick/images/img10.png b/collects/scribblings/quick/images/img10.png deleted file mode 100644 index 626c2649aa..0000000000 Binary files a/collects/scribblings/quick/images/img10.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img11.pdf b/collects/scribblings/quick/images/img11.pdf deleted file mode 100644 index bbf27fdc69..0000000000 Binary files a/collects/scribblings/quick/images/img11.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img11.png b/collects/scribblings/quick/images/img11.png deleted file mode 100644 index a8ea2528e8..0000000000 Binary files a/collects/scribblings/quick/images/img11.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img12.pdf b/collects/scribblings/quick/images/img12.pdf deleted file mode 100644 index bf80744b7b..0000000000 Binary files a/collects/scribblings/quick/images/img12.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img12.png b/collects/scribblings/quick/images/img12.png deleted file mode 100644 index fa40ec0c6d..0000000000 Binary files a/collects/scribblings/quick/images/img12.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img13.pdf b/collects/scribblings/quick/images/img13.pdf deleted file mode 100644 index c0045d2a2c..0000000000 Binary files a/collects/scribblings/quick/images/img13.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img13.png b/collects/scribblings/quick/images/img13.png deleted file mode 100644 index 5716b93b17..0000000000 Binary files a/collects/scribblings/quick/images/img13.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img14.pdf b/collects/scribblings/quick/images/img14.pdf deleted file mode 100644 index 9b4e55ba98..0000000000 --- a/collects/scribblings/quick/images/img14.pdf +++ /dev/null @@ -1,80 +0,0 @@ -%PDF-1.4 -%쏢 -5 0 obj -<> -stream -xm1 Ew'hl Tp*TCӡ/6a0B|{#]Iq_0, OI+> -/Contents 5 0 R ->> -endobj -3 0 obj -<< /Type /Pages /Kids [ -4 0 R -] /Count 1 ->> -endobj -1 0 obj -<> -endobj -7 0 obj -<>endobj -8 0 obj -<> -endobj -9 0 obj -<>stream - - - - - -PLT Scheme - -Untitledmflatt@Macintosh \(Matthew Flatt\) - - - - - -endstream -endobj -2 0 obj -<>endobj -xref -0 10 -0000000000 65535 f -0000000443 00000 n -0000002027 00000 n -0000000384 00000 n -0000000255 00000 n -0000000015 00000 n -0000000236 00000 n -0000000507 00000 n -0000000548 00000 n -0000000577 00000 n -trailer -<< /Size 10 /Root 1 0 R /Info 2 0 R -/ID [] ->> -startxref -2215 -%%EOF diff --git a/collects/scribblings/quick/images/img14.png b/collects/scribblings/quick/images/img14.png deleted file mode 100644 index 29ee39aab5..0000000000 Binary files a/collects/scribblings/quick/images/img14.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img15.pdf b/collects/scribblings/quick/images/img15.pdf deleted file mode 100644 index b84d3dd08b..0000000000 Binary files a/collects/scribblings/quick/images/img15.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img15.png b/collects/scribblings/quick/images/img15.png deleted file mode 100644 index e2eb4ca1f3..0000000000 Binary files a/collects/scribblings/quick/images/img15.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img16.pdf b/collects/scribblings/quick/images/img16.pdf deleted file mode 100644 index 10364af170..0000000000 --- a/collects/scribblings/quick/images/img16.pdf +++ /dev/null @@ -1,80 +0,0 @@ -%PDF-1.4 -%쏢 -5 0 obj -<> -stream -xmQ @{@[c70qKLp~x}[ʺחҎtqzCycopгGO~*gs9ʲ9J ,YGM"ZXQ'jGM!q_2r6J\KݠMҕYsW,}hendstream -endobj -6 0 obj -162 -endobj -4 0 obj -<> -/Contents 5 0 R ->> -endobj -3 0 obj -<< /Type /Pages /Kids [ -4 0 R -] /Count 1 ->> -endobj -1 0 obj -<> -endobj -7 0 obj -<>endobj -8 0 obj -<> -endobj -9 0 obj -<>stream - - - - - -PLT Scheme - -Untitledmflatt@Macintosh \(Matthew Flatt\) - - - - - -endstream -endobj -2 0 obj -<>endobj -xref -0 10 -0000000000 65535 f -0000000454 00000 n -0000002038 00000 n -0000000395 00000 n -0000000266 00000 n -0000000015 00000 n -0000000247 00000 n -0000000518 00000 n -0000000559 00000 n -0000000588 00000 n -trailer -<< /Size 10 /Root 1 0 R /Info 2 0 R -/ID [<2D22C5E6138860AE600CF56ED7C7E964><2D22C5E6138860AE600CF56ED7C7E964>] ->> -startxref -2226 -%%EOF diff --git a/collects/scribblings/quick/images/img16.png b/collects/scribblings/quick/images/img16.png deleted file mode 100644 index 19c3aef5ff..0000000000 Binary files a/collects/scribblings/quick/images/img16.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img17.pdf b/collects/scribblings/quick/images/img17.pdf deleted file mode 100644 index 423035879b..0000000000 Binary files a/collects/scribblings/quick/images/img17.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img17.png b/collects/scribblings/quick/images/img17.png deleted file mode 100644 index ecaba56e73..0000000000 Binary files a/collects/scribblings/quick/images/img17.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img18.pdf b/collects/scribblings/quick/images/img18.pdf deleted file mode 100644 index 766c59b57a..0000000000 Binary files a/collects/scribblings/quick/images/img18.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img18.png b/collects/scribblings/quick/images/img18.png deleted file mode 100644 index a81d97a88f..0000000000 Binary files a/collects/scribblings/quick/images/img18.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img19.pdf b/collects/scribblings/quick/images/img19.pdf deleted file mode 100644 index b8e14fbdc0..0000000000 Binary files a/collects/scribblings/quick/images/img19.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img19.png b/collects/scribblings/quick/images/img19.png deleted file mode 100644 index c01258374c..0000000000 Binary files a/collects/scribblings/quick/images/img19.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img2.pdf b/collects/scribblings/quick/images/img2.pdf index 94573b751b..6be681c83f 100644 Binary files a/collects/scribblings/quick/images/img2.pdf and b/collects/scribblings/quick/images/img2.pdf differ diff --git a/collects/scribblings/quick/images/img2.png b/collects/scribblings/quick/images/img2.png index 60119f0842..139cbed1ef 100644 Binary files a/collects/scribblings/quick/images/img2.png and b/collects/scribblings/quick/images/img2.png differ diff --git a/collects/scribblings/quick/images/img20.pdf b/collects/scribblings/quick/images/img20.pdf deleted file mode 100644 index c26e315d45..0000000000 Binary files a/collects/scribblings/quick/images/img20.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img20.png b/collects/scribblings/quick/images/img20.png deleted file mode 100644 index bcef5d38b1..0000000000 Binary files a/collects/scribblings/quick/images/img20.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img21.pdf b/collects/scribblings/quick/images/img21.pdf deleted file mode 100644 index 0a66ba9f0d..0000000000 Binary files a/collects/scribblings/quick/images/img21.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img21.png b/collects/scribblings/quick/images/img21.png deleted file mode 100644 index 4a9e94375d..0000000000 Binary files a/collects/scribblings/quick/images/img21.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img22.pdf b/collects/scribblings/quick/images/img22.pdf deleted file mode 100644 index 93e545155f..0000000000 Binary files a/collects/scribblings/quick/images/img22.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img22.png b/collects/scribblings/quick/images/img22.png deleted file mode 100644 index e41b869fd2..0000000000 Binary files a/collects/scribblings/quick/images/img22.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img23.pdf b/collects/scribblings/quick/images/img23.pdf deleted file mode 100644 index 5abb060e1a..0000000000 Binary files a/collects/scribblings/quick/images/img23.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img23.png b/collects/scribblings/quick/images/img23.png deleted file mode 100644 index a0eab57204..0000000000 Binary files a/collects/scribblings/quick/images/img23.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img24.pdf b/collects/scribblings/quick/images/img24.pdf deleted file mode 100644 index 42da18e9e2..0000000000 Binary files a/collects/scribblings/quick/images/img24.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img24.png b/collects/scribblings/quick/images/img24.png deleted file mode 100644 index 799dff9896..0000000000 Binary files a/collects/scribblings/quick/images/img24.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img25.pdf b/collects/scribblings/quick/images/img25.pdf deleted file mode 100644 index cb04e4b6a3..0000000000 --- a/collects/scribblings/quick/images/img25.pdf +++ /dev/null @@ -1,81 +0,0 @@ -%PDF-1.4 -%쏢 -5 0 obj -<> -stream -xuM -0Fs 8=НD 뛙 })~zy@7.!#^V.%˼ԶfM"Wi\ Tܠ21cytE!42B#3AZIlJi|Nendstream -endobj -6 0 obj -152 -endobj -4 0 obj -<> -/Contents 5 0 R ->> -endobj -3 0 obj -<< /Type /Pages /Kids [ -4 0 R -] /Count 1 ->> -endobj -1 0 obj -<> -endobj -7 0 obj -<>endobj -8 0 obj -<> -endobj -9 0 obj -<>stream - - - - - -PLT Scheme - -Untitledmflatt@Macintosh \(Matthew Flatt\) - - - - - -endstream -endobj -2 0 obj -<>endobj -xref -0 10 -0000000000 65535 f -0000000443 00000 n -0000002027 00000 n -0000000384 00000 n -0000000256 00000 n -0000000015 00000 n -0000000237 00000 n -0000000507 00000 n -0000000548 00000 n -0000000577 00000 n -trailer -<< /Size 10 /Root 1 0 R /Info 2 0 R -/ID [] ->> -startxref -2215 -%%EOF diff --git a/collects/scribblings/quick/images/img25.png b/collects/scribblings/quick/images/img25.png deleted file mode 100644 index e4d4b58336..0000000000 Binary files a/collects/scribblings/quick/images/img25.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img26.pdf b/collects/scribblings/quick/images/img26.pdf deleted file mode 100644 index d979ba6be1..0000000000 --- a/collects/scribblings/quick/images/img26.pdf +++ /dev/null @@ -1,80 +0,0 @@ -%PDF-1.4 -%쏢 -5 0 obj -<> -stream -x퐽 1 {O؉MD1@!EQ|~~7d|ӀQH"^! Jg/l$UAMhK$2P㷆KРGHf 4v酙:L1ZڛdӮ_,rfJM T\u+jCW5>Apx-'^؎{endstream -endobj -6 0 obj -196 -endobj -4 0 obj -<> -/Contents 5 0 R ->> -endobj -3 0 obj -<< /Type /Pages /Kids [ -4 0 R -] /Count 1 ->> -endobj -1 0 obj -<> -endobj -7 0 obj -<>endobj -8 0 obj -<> -endobj -9 0 obj -<>stream - - - - - -PLT Scheme - -Untitledmflatt@Macintosh \(Matthew Flatt\) - - - - - -endstream -endobj -2 0 obj -<>endobj -xref -0 10 -0000000000 65535 f -0000000488 00000 n -0000002072 00000 n -0000000429 00000 n -0000000300 00000 n -0000000015 00000 n -0000000281 00000 n -0000000552 00000 n -0000000593 00000 n -0000000622 00000 n -trailer -<< /Size 10 /Root 1 0 R /Info 2 0 R -/ID [<6C51B73DC3A90C9A3E8D707F4552676C><6C51B73DC3A90C9A3E8D707F4552676C>] ->> -startxref -2260 -%%EOF diff --git a/collects/scribblings/quick/images/img26.png b/collects/scribblings/quick/images/img26.png deleted file mode 100644 index 21a87515c1..0000000000 Binary files a/collects/scribblings/quick/images/img26.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img27.pdf b/collects/scribblings/quick/images/img27.pdf deleted file mode 100644 index 4c0667c991..0000000000 Binary files a/collects/scribblings/quick/images/img27.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img27.png b/collects/scribblings/quick/images/img27.png deleted file mode 100644 index 994c76743d..0000000000 Binary files a/collects/scribblings/quick/images/img27.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img28.pdf b/collects/scribblings/quick/images/img28.pdf deleted file mode 100644 index 63cf5f2e8f..0000000000 Binary files a/collects/scribblings/quick/images/img28.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img28.png b/collects/scribblings/quick/images/img28.png deleted file mode 100644 index 74697eb3db..0000000000 Binary files a/collects/scribblings/quick/images/img28.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img29.pdf b/collects/scribblings/quick/images/img29.pdf deleted file mode 100644 index 709afd4a14..0000000000 Binary files a/collects/scribblings/quick/images/img29.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img29.png b/collects/scribblings/quick/images/img29.png deleted file mode 100644 index 1166306162..0000000000 Binary files a/collects/scribblings/quick/images/img29.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img3.pdf b/collects/scribblings/quick/images/img3.pdf deleted file mode 100644 index d0d2fbb178..0000000000 Binary files a/collects/scribblings/quick/images/img3.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img3.png b/collects/scribblings/quick/images/img3.png deleted file mode 100644 index b45fa1cb6f..0000000000 Binary files a/collects/scribblings/quick/images/img3.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img4.pdf b/collects/scribblings/quick/images/img4.pdf deleted file mode 100644 index b97703e6c6..0000000000 --- a/collects/scribblings/quick/images/img4.pdf +++ /dev/null @@ -1,82 +0,0 @@ -%PDF-1.4 -%쏢 -5 0 obj -<> -stream -x=MA0 ~ATcK_čjBB8}Ң$L -FuLۊ[(.>ilg1<(3h0wk꧜$ -2zBv_\ U$endstream -endobj -6 0 obj -120 -endobj -4 0 obj -<> -/Contents 5 0 R ->> -endobj -3 0 obj -<< /Type /Pages /Kids [ -4 0 R -] /Count 1 ->> -endobj -1 0 obj -<> -endobj -7 0 obj -<>endobj -8 0 obj -<> -endobj -9 0 obj -<>stream - - - - - -PLT Scheme - -Untitledmflatt@Macintosh \(Matthew Flatt\) - - - - - -endstream -endobj -2 0 obj -<>endobj -xref -0 10 -0000000000 65535 f -0000000412 00000 n -0000001996 00000 n -0000000353 00000 n -0000000224 00000 n -0000000015 00000 n -0000000205 00000 n -0000000476 00000 n -0000000517 00000 n -0000000546 00000 n -trailer -<< /Size 10 /Root 1 0 R /Info 2 0 R -/ID [<18F7F7D89292F20542678B75862EDC0C><18F7F7D89292F20542678B75862EDC0C>] ->> -startxref -2184 -%%EOF diff --git a/collects/scribblings/quick/images/img4.png b/collects/scribblings/quick/images/img4.png deleted file mode 100644 index 60119f0842..0000000000 Binary files a/collects/scribblings/quick/images/img4.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img5.pdf b/collects/scribblings/quick/images/img5.pdf deleted file mode 100644 index f04c3d80a8..0000000000 Binary files a/collects/scribblings/quick/images/img5.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img5.png b/collects/scribblings/quick/images/img5.png deleted file mode 100644 index d4b4a480f9..0000000000 Binary files a/collects/scribblings/quick/images/img5.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img6.pdf b/collects/scribblings/quick/images/img6.pdf deleted file mode 100644 index 495d919428..0000000000 Binary files a/collects/scribblings/quick/images/img6.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img6.png b/collects/scribblings/quick/images/img6.png deleted file mode 100644 index a81d97a88f..0000000000 Binary files a/collects/scribblings/quick/images/img6.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img7.pdf b/collects/scribblings/quick/images/img7.pdf deleted file mode 100644 index 5d91589518..0000000000 Binary files a/collects/scribblings/quick/images/img7.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img7.png b/collects/scribblings/quick/images/img7.png deleted file mode 100644 index afcd6602cd..0000000000 Binary files a/collects/scribblings/quick/images/img7.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img8.pdf b/collects/scribblings/quick/images/img8.pdf deleted file mode 100644 index 6666f2d535..0000000000 Binary files a/collects/scribblings/quick/images/img8.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img8.png b/collects/scribblings/quick/images/img8.png deleted file mode 100644 index aadb50cf8a..0000000000 Binary files a/collects/scribblings/quick/images/img8.png and /dev/null differ diff --git a/collects/scribblings/quick/images/img9.pdf b/collects/scribblings/quick/images/img9.pdf deleted file mode 100644 index e106eda746..0000000000 Binary files a/collects/scribblings/quick/images/img9.pdf and /dev/null differ diff --git a/collects/scribblings/quick/images/img9.png b/collects/scribblings/quick/images/img9.png deleted file mode 100644 index 0dca5c1ff8..0000000000 Binary files a/collects/scribblings/quick/images/img9.png and /dev/null differ diff --git a/collects/scribblings/quick/mreval.rkt b/collects/scribblings/quick/mreval.rkt index 14c1c969c3..22756b5aa8 100644 --- a/collects/scribblings/quick/mreval.rkt +++ b/collects/scribblings/quick/mreval.rkt @@ -1,6 +1,6 @@ #lang racket/base - -(require scriblib/gui-eval) +(require scribble/eval + scriblib/gui-eval) (provide (rename-out [gui-interaction mr-interaction] [gui-interaction-eval mr-interaction-eval] @@ -9,3 +9,24 @@ [gui-def+int mr-def+int] [gui-defs+int mr-defs+int] [gui-interaction-eval-show mr-interaction-eval-show])) + +(define ss-eval (make-base-eval)) +(void (interaction-eval #:eval ss-eval (require slideshow/pict))) + +(define-syntax-rule (ss-interaction e ...) + (interaction #:eval ss-eval e ...)) +(define-syntax-rule (ss-interaction-eval e ...) + (interaction-eval #:eval ss-eval e ...)) +(define-syntax-rule (ss-racketmod+eval e ...) + (racketmod+eval #:eval ss-eval e ...)) +(define-syntax-rule (ss-racketblock+eval e ...) + (racketblock+eval #:eval ss-eval e ...)) +(define-syntax-rule (ss-def+int e ...) + (def+int #:eval ss-eval e ...)) + +(provide ss-interaction + ss-interaction-eval + ss-racketmod+eval + ss-racketblock+eval + ss-def+int) + diff --git a/collects/scribblings/quick/quick.scrbl b/collects/scribblings/quick/quick.scrbl index 1db0541b42..514ff0641a 100644 --- a/collects/scribblings/quick/quick.scrbl +++ b/collects/scribblings/quick/quick.scrbl @@ -66,13 +66,13 @@ window and hit Enter, DrRacket evaluates the expression and prints its result. An expression can be just a value, such as the number @racket[5] or the string @racket["art gallery"]: -@mr-interaction[5 "art gallery"] +@ss-interaction[5 "art gallery"] An expression can also be a function call. To call a function, put an open parenthesis before the function name, then expressions for the function arguments, and then a close parenthesis, like this: -@mr-interaction[(circle 10)] +@ss-interaction[(circle 10)] A result from the @racket[circle] function is a picture value, which prints as an expression result in much the same way that numbers or @@ -80,12 +80,12 @@ strings print. The argument to @racket[circle] determines the circle's size in pixels. As you might guess, there's a @racket[rectangle] function that takes two arguments instead of one: -@mr-interaction[(rectangle 10 20)] +@ss-interaction[(rectangle 10 20)] Try giving @racket[circle] the wrong number of arguments, just to see what happens: -@mr-interaction[(circle 10 20)] +@ss-interaction[(circle 10 20)] Note that DrRacket highlights in pink the expression that triggered the error (but pink highlighting is not shown in this documentation). @@ -95,7 +95,7 @@ In addition to basic picture constructors like @racket[circle] and combines pictures. When you start composing function calls in Racket, it looks like this: -@mr-interaction[(hc-append (circle 10) (rectangle 10 20))] +@ss-interaction[(hc-append (circle 10) (rectangle 10 20))] The hyphen in the name @racket[hc-append] is just a part of the identifier; it's not @racketidfont{hc} minus @@ -122,7 +122,7 @@ simpler to give them names. Move back to the definitions area (the top area) and add two definitions, so that the complete content of the definitions area looks like this: -@mr-racketmod+eval[ +@ss-racketmod+eval[ slideshow (define c (circle 10)) (define r (rectangle 10 20)) @@ -131,7 +131,7 @@ slideshow Then click @onscreen{Run} again. Now, you can just type @racket[c] or @racket[r]: -@mr-interaction[r (hc-append c r) (hc-append 20 c r c)] +@ss-interaction[r (hc-append c r) (hc-append 20 c r c)] As you can see, the @racket[hc-append] function accepts an optional number argument before the picture arguments, and it accepts any @@ -149,7 +149,7 @@ uses @racket[define], just like our shape definitions, but with an open parenthesis before the function name, and names for the function arguments before the matching close parenthesis: -@mr-racketblock+eval[ +@ss-racketblock+eval[ (define (square n) (code:comment @#,t{A semi-colon starts a line comment.}) (code:comment @#,t{The expression below is the function body.}) @@ -159,7 +159,7 @@ arguments before the matching close parenthesis: The syntax of the definition mirrors the syntax of a function call: -@mr-interaction[(square 10)] +@ss-interaction[(square 10)] In the same way that definitions can be evaluated in the interactions area, expressions can be included in the definitions area. When a @@ -176,7 +176,7 @@ definition area. The @racket[define] form can be used in some places to create local bindings. For example, it can be used inside a function body: -@mr-def+int[ +@ss-def+int[ (define (four p) (define two-p (hc-append p p)) (vc-append two-p two-p)) @@ -188,7 +188,7 @@ for local binding. An advantage of @racket[let] is that it can be used in any expression position. Also, it binds many identifiers at once, instead of requiring a separate @racket[define] for each identifier: -@mr-def+int[ +@ss-def+int[ (define (checker p1 p2) (let ([p12 (hc-append p1 p2)] [p21 (hc-append p2 p1)]) @@ -201,7 +201,7 @@ A @racket[let] form binds many identifiers at the same time, so the bindings cannot refer to each other. The @racket[let*] form, in contrast, allows later bindings to use earlier bindings: -@mr-def+int[ +@ss-def+int[ (define (checkerboard p) (let* ([rp (colorize p "red")] [bp (colorize p "black")] @@ -217,7 +217,7 @@ contrast, allows later bindings to use earlier bindings: Instead of calling @racket[circle] as a function, try evaluating just @racket[circle] as an expression: -@mr-interaction[circle] +@ss-interaction[circle] That is, the identifier @racket[circle] is bound to a function (a.k.a. ``procedure''), just like @racket[c] is bound to a @@ -230,7 +230,7 @@ pictures (even if they don't print as nicely). Since functions are values, you can define functions that expect other functions as arguments: -@mr-def+int[ +@ss-def+int[ (define (series mk) (hc-append 4 (mk 5) (mk 10) (mk 20))) (series circle) @@ -244,7 +244,7 @@ have to make up a name and find a place to put the function definition. The alternative is to use @racket[lambda], which creates an anonymous function: -@mr-interaction[(series (lambda (size) (checkerboard (square size))))] +@ss-interaction[(series (lambda (size) (checkerboard (square size))))] The parenthesized names after a @racket[lambda] are the arguments to the function, and the expression after the argument names is the @@ -278,7 +278,7 @@ of @racket[mk] in each @racket[lambda] form to refer to the argument of @racket[rgb-series], since that's the binding that is textually in scope: -@mr-def+int[ +@ss-def+int[ (define (rgb-series mk) (vc-append (series (lambda (sz) (colorize (mk sz) "red"))) @@ -291,7 +291,7 @@ scope: Here's another example, where @racket[rgb-maker] takes a function and returns a new one that remembers and uses the original function. -@mr-def+int[ +@ss-def+int[ (define (rgb-maker mk) (lambda (sz) (vc-append (colorize (mk sz) "red") @@ -315,7 +315,7 @@ part of Racket. The @racket[list] function takes any number of arguments and returns a list containing the given values: -@mr-interaction[(list "red" "green" "blue") +@ss-interaction[(list "red" "green" "blue") (list (circle 10) (square 10))] As you can see, a list prints as a single quote and then pair of parentheses wrapped around @@ -332,7 +332,7 @@ each of the elements. The @racket[map] function takes a list and a function to apply to each element of the list; it returns a new list to combine the function's results: -@mr-def+int[ +@ss-def+int[ (define (rainbow p) (map (lambda (color) (colorize p color)) @@ -347,7 +347,7 @@ each one individually. The @racket[apply] function is especially useful with functions that take any number of arguments, such as @racket[vc-append]: -@mr-interaction[ +@ss-interaction[ (apply vc-append (rainbow (square 5))) ] @@ -375,7 +375,7 @@ To import additional libraries, use the @racket[require] form. For example, the library @racketmodname[slideshow/flash] provides a @racket[filled-flash] function: -@mr-def+int[ +@ss-def+int[ (require slideshow/flash) (filled-flash 40 30) ] @@ -398,13 +398,13 @@ Modules are named and distributed in various ways: that you evaluate the following fragment: @mr-def+int[ - (require (planet "random.rkt" ("schematics" "random.plt" 1 0))) + (require (planet schematics/random:1:0/random)) (random-gaussian) ] DrRacket automatically downloads version 1.0 of the - @filepath{random.plt} library and then imports the - @filepath{random.rkt} module.} + @filepath{random.plt} library by @filepath{schematics} and then + imports the @filepath{random.rkt} module.} @item{Some modules live relative to other modules, without necessarily belonging to any particular collection or package. @@ -517,7 +517,8 @@ classes. By convention, the classes are given names that end with @racket[%]: @mr-defs+int[ -[(require racket/class racket/gui/base) +[(require racket/class + racket/gui/base) (define f (new frame% [label "My Art"] [width 300] [height 300]