Common Lisp Package: TRIVIAL-TYPES

README:

FUNCTION

Public

ASSOCIATION-LIST-P (VAR)

Returns true if OBJECT is an association list. Examples: (association-list-p 1) => NIL (association-list-p '(1 2 3)) => NIL (association-list-p nil) => T (association-list-p '((foo))) => T (association-list-p '((:a . 1) (:b . 2))) => T

FILE-ASSOCIATED-STREAM-P (STREAM)

Returns true if STREAM is a stream associated to a file.

PROPER-LIST-P (OBJECT)

Returns true if OBJECT is a proper list. Examples: (proper-list-p 1) => NIL (proper-list-p '(1 . 2)) => NIL (proper-list-p nil) => T (proper-list-p '(1 2 3)) => T

PROPERTY-LIST-P (OBJECT)

Returns true if OBJECT is a property list. Examples: (property-list-p 1) => NIL (property-list-p '(1 2 3)) => NIL (property-list-p '(foo)) => NIL (property-list-p nil) => T (property-list-p '(foo 1)) => T (property-list-p '(:a 1 :b 2)) => T

TUPLE (&REST ARGS)

Exactly same as LIST.

TUPLEP (OBJECT)

Returns true if OBJECT is a tuple, meaning a proper list. Examples: (tuplep 1) => NIL (tuplep '(1 . 2)) => NIL (tuplep nil) => T (tuplep '(1 2 3)) => T

TYPE-EXPAND (TYPE-SPECIFIER &OPTIONAL ENV)

Expand TYPE-SPECIFIER in the lexical environment ENV.

TYPE-SPECIFIER-P (TYPE-SPECIFIER)

Returns true if TYPE-SPECIFIER is a valid type specfiier.

MACRO

Private

Undocumented

%PROPER-LIST-P (VAR &OPTIONAL (ELEMENT-TYPE '*))

VARIABLE

Private

Undocumented

*STANDARD-OPTIMIZE-QUALITIES*