Common Lisp Package: PIPES

README:

FUNCTION

Public

PIPE-APPEND (X Y)

Return a pipe that appends the elements of x and y.

PIPE-ELT (PIPE I)

The i-th element of pipe, 0-based.

PIPE-ENUMERATE (PIPE &KEY COUNT KEY (RESULT PIPE))

Go through all (or count) elements of pipe, possibly applying the KEY function. (Try PRINT.)

PIPE-FILTER (PREDICATE PIPE)

Keep only items in pipe satisfying predicate.

PIPE-FORCE (PIPE)

Force the enumeration of all of the pipe. Never returns if the pipe is infinite in length.

PIPE-MAP (FN PIPE)

Map fn over pipe, delaying all but the first fn call.

PIPE-MAP-FILTERING (FN PIPE &OPTIONAL FILTER-PRED)

Map fn over pipe, delaying all but the first fn call, while filtering results.

PIPE-MAPPEND (FN PIPE)

Lazily map fn over pipe, appending results.

PIPE-MAPPEND-FILTERING (FN PIPE &OPTIONAL FILTER-PRED)

Map fn over pipe, delaying all but the first fn call, appending results while filtering.

PIPE-TAIL (PIPE)

Return tail of pipe or list, and destructively update the tail if it is a function.

PIPE-VALUES (PIPE &OPTIONAL COUNT)

Simple wrapper to return values of a pipe

Undocumented

PIPE-HEAD (PIPE)

MACRO

Public

MAKE-PIPE (HEAD TAIL)

Create a pipe by evaluating head and delaying tail.

CONSTANT

Public

Undocumented

+EMPTY-PIPE+