defrec

2019-03-07

A library for defining top-level mutually recursive functions.

Upstream URL

bitbucket.org/tarballs_are_good/defrec

Author

Robert Smith <quad@symbo1ics.com>

License

BSD 3-clause
README
DEFREC ------ By Robert Smith DEFREC is a library for defining "top-level" mutually recursive functions. Example: (defrec (even (x) (declare (type unsigned-byte x)) (if (zerop x) t (odd (1- x)))) (odd (x) (declare (type unsigned-byte x)) (if (zerop x) nil (even (1- x))))) Now we can call EVEN and ODD.

Dependencies (1)

  • alexandria

Dependents (0)

    • GitHub
    • Quicklisp