Tags: | collections |
Authors: | James Cash |
Class | Superclass | Slots |
cons-state | tuple | car cdr |
list-syntax-error | tuple |
+nil+ |
list |
Word | Syntax |
L{ |
Word | Stack effect |
>list | ( object -- list ) |
car | ( cons -- car ) |
cdr | ( cons -- cdr ) |
nil? | ( object -- ? ) |
Word | Stack effect |
1list | ( obj -- cons ) |
1list? | ( list -- ? ) |
2car | ( list -- car cadr ) |
2leach | ( ... list1 list2 quot: ( ... elt1 elt2 -- ... ) -- ... ) |
2list | ( a b -- cons ) |
2lreduce | ( ... list1 list2 identity quot: ( ... prev elt1 elt2 -- ... next ) -- ... result ) |
3car | ( list -- car cadr caddr ) |
3list | ( a b c -- cons ) |
atom? | ( obj -- ? ) |
cadr | ( list -- elt ) |
cons | ( car cdr -- cons-state ) |
deeplist>array | ( list -- array ) |
foldl | ( ... list identity quot: ( ... prev elt -- ... next ) -- ... result ) |
foldr | ( ... list identity quot: ( ... prev elt -- ... next ) -- ... result ) |
lappend | ( list1 list2 -- newlist ) |
lcut | ( list index -- before after ) |
leach | ( ... list quot: ( ... elt -- ... ) -- ... ) |
list-syntax-error | ( -- * ) |
list>array | ( list -- array ) |
llength | ( list -- n ) |
lmap | ( ... list quot: ( ... elt -- ... newelt ) -- ... result ) |
lmap>array | ( ... list quot: ( ... elt -- ... newelt ) -- ... array ) |
lnth | ( n list -- elt ) |
lreduce | ( ... list identity quot: ( ... prev elt -- ... next ) -- ... result ) |
lreverse | ( list -- newlist ) |
nil | ( -- symbol ) |
sequence>list | ( sequence -- list ) |
swons | ( cdr car -- cons ) |
uncons | ( cons -- car cdr ) |
unswons | ( cons -- cdr car ) |
Word | Stack effect |
+nil+? | ( object -- ? ) |
cons-state? | ( object -- ? ) |
list-syntax-error? | ( object -- ? ) |
list? | ( object -- ? ) |
Vocabulary | Summary |
lists.lazy | Lazy lists |
Vocabulary | Summary |
lists.circular | Circular sequences as infinite linked lists |
Vocabulary | Summary |
lists.private |