defrec

2023-06-18

A library for defining top-level mutually recursive functions.

Upstream URL

github.com/stylewarning/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