Matthew Danish <mdanish@...> writes:
> This patch ensures that a type-error is signalled even if MIN/MAX is
> called with a single argument that is not a REAL. The hyperspec states
> that an error should be signalled so this should be conforming behavior,
> though not ideal (namely, using CHECK-TYPE instead of THE).
(IDENTITY (THE ...)) does the trick, is lighter than CHECK-TYPE and
can be omitted if SPEED>SAFETY:
====CLHS MAX, MIN
Should signal an error of type type-error if any number is not a real.
11:04:01 <wnewman> bad voodoo is when you can't explain why it works,
seriously bad voodoo is when you can't even explain what it is, and
the comment is like "don't touch the code in this file or it will
probably stop working":-)