[plt-scheme] Should < work with just one argument?

From: Paul Schlie (schlie at comcast.net)
Date: Mon Apr 18 12:25:02 EDT 2005

> MzScheme intentionally requires at least two arguments for `<'. It used
> to accept one, but after try it for a while, that generality was deemed
> to be potentially more confusing than useful.
>
> Matthew

Although two arguments are necessary for a literal comparison; it would
occasionally be convenient, and seemingly consistent, to accept N arguments;
thereby allowing (eval `(< ,@(args))) to evaluate without errors when all as
may be desired to verify that the elements provided as arguments (if any)
are ordered as specified; which seems likely more useful than an error,
which typically never seems to be as useful as a generalized behavior?




Posted on the users mailing list.