Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the defrec Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 04:25:41 2022 GMT+0.
Next: Systems, Previous: The defrec Reference Manual, Up: The defrec Reference Manual [Contents][Index]
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.
Next: Files, Previous: Introduction, Up: The defrec Reference Manual [Contents][Index]
The main system appears first, followed by any subsystem dependency.
A library for defining top-level mutually recursive functions.
Robert Smith <quad@symbo1ics.com>
BSD 3-clause
alexandria (system).
Next: Packages, Previous: Systems, Up: The defrec Reference Manual [Contents][Index]
Files are sorted by type and then listed depth-first from the systems components trees.
Next: defrec/package.lisp, Previous: Lisp, Up: Lisp [Contents][Index]
defrec (system).
Next: defrec/defrec.lisp, Previous: defrec/defrec.asd, Up: Lisp [Contents][Index]
defrec (system).
Previous: defrec/package.lisp, Up: Lisp [Contents][Index]
package.lisp (file).
defrec (system).
defrec (macro).
&-symbol (function).
Next: Definitions, Previous: Files, Up: The defrec Reference Manual [Contents][Index]
Packages are listed by definition order.
Next: Indexes, Previous: Packages, Up: The defrec Reference Manual [Contents][Index]
Definitions are sorted by export status, category, package, and then by lexicographic order.
Next: Internals, Previous: Definitions, Up: Definitions [Contents][Index]
Previous: Public Interface, Up: Public Interface [Contents][Index]
Define mutually recursive functions. Each definition of DEFINITIONS
should be of the same form of FLET or LABELS:
(<function name> <lambda list>
<function body>).
Currently, lambda lists can only be lists of symbols. &REST, &OPTIONAL, and &KEY arguments are not supported.
Previous: Definitions, Up: The defrec Reference Manual [Contents][Index]
Jump to: | &
D F M |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
& | |||
&-symbol : | Private ordinary functions | ||
| |||
D | |||
defrec : | Public macros | ||
| |||
F | |||
Function, &-symbol : | Private ordinary functions | ||
| |||
M | |||
Macro, defrec : | Public macros | ||
|
Jump to: | &
D F M |
---|
Jump to: | D F P S |
---|
Jump to: | D F P S |
---|