Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the strict-function Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Sun May 15 06:10:59 2022 GMT+0.
• Introduction | What strict-function is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
Utility of function definition
The original implementation can be found at http://common-lisp.net/project/qitab/archives/quux-2013-09-24.tar.bz2 (quux/lisp/quux/strict-functions.lisp)
(define-strict-function func-ordinary-1 (:inputs ((a fixnum) (b fixnum)))
(+ a b))
(define-strict-function func-rest-1 (:inputs ((a fixnum "a is fixnum")
(b fixnum "b is fixnum")
&rest (numbers list
"proper-list of fixnum")))
(+ a b (apply #'+ numbers)))
(define-strict-function func-outputs-1 (:inputs ((arg integer))
:outputs (integer 0 *))
arg)
(define-strict-function func-outputs-2 (:inputs ((values list))
:outputs (values (integer 0 *)
boolean))
(apply #'values values))
(define-strict-function func-optional-1 (:inputs (&optional (a integer)))
a)
(define-strict-function func-optional-2 (:inputs (&optional ((a 100) integer)))
a)
(define-strict-function func-optional-3 (:inputs (&optional ((a "test") integer)))
a)
(define-strict-function func-optional-4 (:inputs (&optional ((a #\a) character))
:use-supplied-vars t)
(list a a-supplied-p))
(define-strict-function func-optional-5 (:inputs (&optional ((a 1 a-p) integer)))
(list a a-p))
(define-strict-function func-key-1 (:inputs (&key (a string)))
a)
(define-strict-function func-key-2 (:inputs (&key ((a "default") string)))
a)
(define-strict-function func-key-3 (:inputs (&key ((a 1 a-p) integer)))
(list a a-p))
(define-strict-function func-key-4 (:inputs (&key ((a "default") integer)))
a)
(define-strict-function func-key-5 (:inputs (&key (x integer) (y integer))
:use-supplied-vars t)
(list x x-supplied-p
y y-supplied-p))
(define-strict-function func-key-6 (:inputs (&key (x integer) &allow-other-keys))
x)
(define-strict-function func-aux-1 (:inputs (&aux (x string)))
x)
(define-strict-function func-aux-2 (:inputs (&aux ((x "foo") string)))
x)
(define-strict-function func-aux-3 (:inputs (&aux ((x "foo") string)
((y 12) number)))
(list x y))
MIT
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The strict-function system |
cxxxr
MIT
Utility of function definition
strict-function.asd (file)
strict-function.lisp (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The strict-function.asd file | ||
• The strict-function/strict-function.lisp file |
Next: The strict-function/strict-function․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
strict-function.asd
strict-function (system)
Previous: The strict-function․asd file, Up: Lisp files [Contents][Index]
strict-function (system)
strict-function.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The strict-function package |
strict-function.lisp (file)
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported macros | ||
• Exported functions | ||
• Exported generic functions | ||
• Exported conditions |
Next: Exported functions, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
strict-function.lisp (file)
Next: Exported generic functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
strict-function.lisp (file)
strict-function.lisp (file)
Next: Exported conditions, Previous: Exported functions, Up: Exported definitions [Contents][Index]
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
strict-function.lisp (file)
simple-error (condition)
strict-function.lisp (file)
strict-type-error (condition)
strict-invalid-input-var (method)
:var
strict-invalid-input-var (generic function)
strict-function.lisp (file)
strict-function-error (condition)
:expected-nth-values
strict-invalid-multivalued-number-expected-nth-values (generic function)
:actual-values
strict-invalid-multivalued-number-actual-values (generic function)
strict-function.lisp (file)
strict-type-error (condition)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal special variables | ||
• Internal macros | ||
• Internal functions | ||
• Internal generic functions | ||
• Internal conditions |
Next: Internal macros, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
strict-function.lisp (file)
Next: Internal functions, Previous: Internal special variables, Up: Internal definitions [Contents][Index]
strict-function.lisp (file)
Next: Internal generic functions, Previous: Internal macros, Up: Internal definitions [Contents][Index]
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
Next: Internal conditions, Previous: Internal functions, Up: Internal definitions [Contents][Index]
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
strict-function.lisp (file)
Previous: Internal generic functions, Up: Internal definitions [Contents][Index]
strict-function.lisp (file)
strict-function-error (condition)
:expected-type
strict-type-error-expected-type (generic function)
:value
strict-type-error-value (generic function)
strict-function.lisp (file)
strict-function-error (condition)
:function-name
strict-unexpected-condition-error-expected-function-name (generic function)
:expected-conditions
strict-unexpected-condition-error-expected-conditions (generic function)
:actual-condition
strict-unexpected-condition-error-actual-condition (generic function)
:backtrace
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F L S |
---|
Jump to: | F L S |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | C D F G L M P R S V |
---|
Jump to: | C D F G L M P R S V |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | *
A B E F S V |
---|
Jump to: | *
A B E F S V |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | C P S |
---|
Jump to: | C P S |
---|