Moved most files into private directory.

Modified main.rkt, picturing-programs.scrbl, and test-docs-complete
to reflect the new locations.
This commit is contained in:
Stephen Bloch 2011-04-28 22:13:41 -04:00
parent 8fb0f8840d
commit d3d8659183
14 changed files with 16 additions and 16 deletions

View File

@ -1,16 +1,16 @@
#lang racket/base
(require 2htdp/universe
(only-in htdp/error check-arg)
picturing-programs/tiles
picturing-programs/io-stuff
picturing-programs/map-image
picturing-programs/book-pictures)
picturing-programs/private/tiles
picturing-programs/private/io-stuff
picturing-programs/private/map-image
picturing-programs/private/book-pictures)
(provide (all-from-out picturing-programs/tiles) ; includes all-from-out 2htdp/image, plus a few simple add-ons
(all-from-out picturing-programs/io-stuff) ; includes with-{input-from,output-to}-{string,file}, with-io-strings
(all-from-out picturing-programs/map-image)
(provide (all-from-out picturing-programs/private/tiles) ; includes all-from-out 2htdp/image, plus a few simple add-ons
(all-from-out picturing-programs/private/io-stuff) ; includes with-{input-from,output-to}-{string,file}, with-io-strings
(all-from-out picturing-programs/private/map-image)
; includes (map,build)(3,4,)-image, real->int, name->color, colorize, get-pixel-color
(all-from-out picturing-programs/book-pictures) ; pic:calendar, pic:hacker, etc.
(all-from-out picturing-programs/private/book-pictures) ; pic:calendar, pic:hacker, etc.
(all-from-out 2htdp/universe)
show-it)

View File

@ -69,7 +69,7 @@ model is exactly what should be displayed in the animation window:
@section{New image functions}
@; @defmodule*/no-declare[(picturing-programs/tiles)]
@declare-exporting[picturing-programs/tiles picturing-programs]
@declare-exporting[picturing-programs/private/tiles picturing-programs]
@defproc[(rotate-cw [img image?])
image?]{Rotates an image 90 degrees clockwise.}
@ -119,7 +119,7 @@ compatibility.}
@section{Variables}
@; @defmodule*/no-declare[(picturing-programs/book-pictures)]
@declare-exporting[picturing-programs/book-pictures picturing-programs]
@declare-exporting[picturing-programs/private/book-pictures picturing-programs]
This teachpack also defines variable names for some of the pictures used in the textbook.
@ -143,7 +143,7 @@ particular, there's no requirement that your names start with "pic:".
@section{Pixel functions}
@; @defmodule*/no-declare[(picturing-programs/map-image)]
@declare-exporting[picturing-programs/map-image picturing-programs]
@declare-exporting[picturing-programs/private/map-image picturing-programs]
The above functions allow you to operate on a picture as a whole, but sometimes
@ -354,7 +354,7 @@ The version using @racket[good-gradient] works.}
@section{Input and Output}
@; @defmodule*/no-declare[(picturing-programs/io-stuff)]
@declare-exporting[picturing-programs/io-stuff picturing-programs]
@declare-exporting[picturing-programs/private/io-stuff picturing-programs]
This teachpack also provides several functions to help in testing

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 339 B

After

Width:  |  Height:  |  Size: 339 B

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 748 B

After

Width:  |  Height:  |  Size: 748 B

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -1,7 +1,7 @@
#lang racket/base
(require tests/utils/docs-complete)
(check-docs (quote picturing-programs/tiles))
(check-docs (quote picturing-programs/map-image))
(check-docs (quote picturing-programs/private/tiles))
(check-docs (quote picturing-programs/private/map-image))
(check-docs (quote picturing-programs))
(check-docs (quote picturing-programs/io-stuff))
(check-docs (quote picturing-programs/book-pictures))
(check-docs (quote picturing-programs/private/io-stuff))
(check-docs (quote picturing-programs/private/book-pictures))