Handbook
Glossary
output>sequence-n ( quot exemplar n -- quot )
Vocabulary
combinators
.
smart
Inputs
quot
an
object
exemplar
an
object
n
an
object
Outputs
quot
an
object
Definition
USING:
generalizations
kernel
math
sequences.generalizations
;
IN:
combinators.smart
MACRO:
output>sequence-n
( quot exemplar n -- quot )
3dup
nip
[
outputs
]
dip
-
-rot
[
[
nsequence
]
2curry
]
dip
[
ndip
]
2curry
compose
;