parrotcode: macros for checking assumptions | |
Contents | Language Implementations | Common Lisp |
include/macros/assert.pir - macros for checking assumptions
Asserts that A is of type T, throwing a error of type "type-error" on failure
Asserts that A is of type T, branching to B on failure.
Asserts that list A is of length L, branching to B on failure.
Asserts that list A is at least of length L, branching to B on failure.
Asserts that list A is at least of length L and at most of length M, branching to B on failure.
Asserts that list A is composed of an even number of elements, branching to B on failure.
|