type checks in the reference implementation Sven.Hartrumpf@xxxxxx 07 Apr 2005 07:29 UTC

Hi again.

Looking at the reference implementation (compare.scm):

It contains many type checks (like (compare z z) ). These are (all?) required by
the SRFI. But many Scheme compilers provide "unsafe" modes of operation for
efficiency. If you mark the type checks (maybe even in a way that allows a
clever "grep" command to remove them, e.g. in a way like check-arg in the
reference implementation of SRFI-1), you would help Scheme implementations to
provide "safe" and "unsafe" versions of this SRFI.

Ciao
Sven