Handbook
Glossary
list
Factor handbook
»
The language
»
Collections
»
Lists
»
The list protocol
Next:
car ( cons -- car )
Vocabulary
lists
Class description
The class of lists. All lists are expected to conform to
The list protocol
.
Definition
USING:
lazy
lists.lazy
;
IN:
lists
MIXIN:
list
INSTANCE:
cons-state
list
INSTANCE:
+nil+
list
INSTANCE:
sequence-cons
list
INSTANCE:
memoized-cons
list
INSTANCE:
lazy
list
INSTANCE:
lazy-io
list
INSTANCE:
lazy-concat
list
INSTANCE:
lazy-cons-state
list
INSTANCE:
lazy-map
list
INSTANCE:
lazy-take
list
INSTANCE:
lazy-append
list
INSTANCE:
lazy-from-by
list
INSTANCE:
lazy-zip
list
INSTANCE:
lazy-while
list
INSTANCE:
lazy-until
list
INSTANCE:
lazy-filter
list
Methods
USING:
kernel
lists
lists.lazy
monads
;
M:
list
>>=
[
swap
lmap-lazy
lconcat
]
curry
;
USING:
lists
;
M:
list
>list
;
USING:
kernel
lists
monads
;
M:
list
monad-of
drop
list-monad
;