[plt-scheme] Should < work with just one argument?
$ mzscheme
Welcome to MzScheme version 299.102, Copyright (c) 2004-2005 PLT Scheme, Inc.
> (< 3 4)
#t
> (< 3)
<: expects at least 2 arguments, given 1: 3
>
R5RS says
- procedure: < x1 x2 x3 ...
and
<thing1> <thing2> ...
indicates one or more occurrences of a <thing>.
So I read R5RS as saying that the procedure < should accept one or
more arguments, but mzscheme's < seems to demand two. Is this a bug?
--
Always code as if the guy who ends up maintaining your code will
be a violent psychopath who knows where you live. John F. Woods