(compose) --> error, procedure compose: no clause matching 0 arguments
Why not (compose) --> #<procedure:values> ?
The docs of DrScheme, version 4.1.5.5-svn2may2009 [3m] say:
(compose proc ...) → procedure?
proc : procedure?
This suggests that compose can be applied without actual arguments.
The docs do not specify what happens in this case.
I propose:
1: adding one more case-lambda clause to the definition of compose:
(() values)
2: adding "(compose) --> procedure values" in the docs.
Jos
_________________________________________________
For list-related administrative tasks:
http://list.cs.brown.edu/mailman/listinfo/plt-dev