Quickutilβ

Lisp utilities on demand

Fork me on GitHub
search

There are 9 utilities.

octet v1.0

A type representing an octet: 8 bits. If a positive integer n is specified, then (octet n) represents 8n bits. This can often be used for optimization in Common Lisp.

Provides
octet
Source Code
 
string-designator v1.0

A string designator type. A string designator is either a string, a symbol, or a character.

Provides
string-designator
Source Code
 
array-bounds v1.0

Types related to array bounds.

Provides
array-indexarray-length
Source Code
 
sub-interval-numeric-types v1.0

Contains 'sub-interval numeric types'. Majority of the implementation of CDR5.

Provides
negative-double-floatnegative-fixnum-pnegative-floatnegative-float-pnegative-long-floatnegative-long-float-pnegative-rationalnegative-rational-pnegative-realnegative-single-float-pnon-negative-double-floatnon-negative-double-float-pnon-negative-fixnumnon-negative-fixnum-pnon-negative-floatnon-negative-float-pnon-negative-integer-pnon-negative-long-floatnon-negative-rationalnon-negative-real-pnon-negative-short-float-pnon-negative-single-floatnon-negative-single-float-pnon-positive-double-floatnon-positive-double-float-pnon-positive-fixnumnon-positive-fixnum-pnon-positive-floatnon-positive-float-pnon-positive-integernon-positive-rationalnon-positive-realnon-positive-real-pnon-positive-short-floatnon-positive-short-float-pnon-positive-single-float-ppositive-double-floatpositive-double-float-ppositive-fixnumpositive-fixnum-ppositive-floatpositive-float-ppositive-integerpositive-rationalpositive-realpositive-real-ppositive-short-floatpositive-short-float-ppositive-single-floatpositive-single-float-pnegative-double-float-pnegative-fixnumnegative-integernegative-integer-pnegative-real-pnegative-short-floatnegative-short-float-pnegative-single-floatnon-negative-integernon-negative-long-float-pnon-negative-rational-pnon-negative-realnon-negative-short-floatnon-positive-integer-pnon-positive-long-floatnon-positive-long-float-pnon-positive-rational-pnon-positive-single-floatpositive-integer-ppositive-long-floatpositive-long-float-ppositive-rational-p
Requires
format-symbol
Source Code
 
type= v1.0

Returns a primary value of t is type1 and type2 are the same type, and a secondary value that is true is the type equality could be reliably determined: primary value of nil and secondary value of t indicates that the types are not equivalent.

Provides
type=
Source Code
 
coercef v1.0

Modify-macro for coerce.

Provides
coercef
Source Code
 
circular-list v1.0

Creation and detection of circular lists.

Provides
circular-listcircular-list-pmake-circular-list
Source Code
 
proper-list v1.0

Type designator for proper lists. Implemented as a satisfies type, hence not recommended for performance intensive use. Main usefulness as a type designator of the expected type in a type-error.

Provides
proper-list
Requires
proper-list-p
Source Code
 
proper-sequence v1.0

Type designator for proper sequences, that is proper lists and sequences that are not lists.

Provides
proper-sequence
Requires
proper-list
Source Code