Commit Graph

8 Commits

Author SHA1 Message Date
Stephen Bloch
39629e8e99 map-image and map-image/extra now give their function argument x and y
coordinates, or not, depending on the arity of that function.  This
enables one to write a simple function from color -> color and
immediately map it on an image.  For the situation in which the
function is location-dependent, one can still write a function from
x,y,color -> color and map this on the image.
2011-12-02 07:09:37 -05:00
Stephen Bloch
753dfa3cb2 Fixed error messages, added tests for type errors. 2011-10-02 22:54:34 -04:00
Stephen Bloch
09b0a46dcd Corrected a few error messages. 2011-09-24 12:49:05 -04:00
Stephen Bloch
52527d8a95 Fixed some more error messages. 2011-07-12 07:08:47 -04:00
Stephen Bloch
904ef63ce2 Fixed some more error messages. 2011-07-11 07:25:46 -04:00
Stephen Bloch
d3df33b023 Improved error messages to specify actual argument as well as expected
type.  Still produces one check-error failure because of bug in
make-color.
2011-07-11 07:25:46 -04:00
Stephen Bloch
79778e0a1e Added some illegal-argument tests to map-image.rkt.
Added test cases for these to map-image-bsl-tests.rkt.
Modified an error message from colorize, and its test cases.
Added map-image/extra and build-image/extra functions.
2011-05-12 00:51:02 -04:00
Stephen Bloch
d3d8659183 Moved most files into private directory.
Modified main.rkt, picturing-programs.scrbl, and test-docs-complete
to reflect the new locations.
2011-04-28 22:13:41 -04:00