3 ms·
That, and more, is available in common lisp. * (describe #'+) #<FUNCTION +> [compiled function] Lambda-list: (&REST SB-KERNEL::NUMB
by dleslie 6y ago
That, and more, is available in common lisp.
* (describe #'+)
#<FUNCTION +>
[compiled function]
Lambda-list: (&REST SB-KERNEL::NUMBERS)
Declared type: (FUNCTION (&REST NUMBER) (VALUES NUMBER &OPTIONAL))
Derived type: (FUNCTION (&REST T) (VALUES NUMBER &OPTIONAL))
Documentation:
Return the sum of its arguments. With no args, returns 0.
Known attributes: foldable, flushable, unsafely-flushable, movable, commutative
Source file: SYS:SRC;CODE;NUMBERS.LISP
Docstrings and type information can (optionally, but recommended) be added to all code. Users of your API can use documentation/describe to discover information about it without ever having to look at the implementation.