Handbook
Glossary
fmap-n* ( int -- quot )
Vocabulary
models
.
combinators
Inputs
int
an
object
Outputs
quot
an
object
Definition
USING:
kernel
monads
sequences
sequences.generalizations
;
IN:
models.combinators
MACRO:
fmap-n*
( int -- quot )
dup
[
[
narray
<collection>
#1
]
curry
]
dip
[
firstn
]
curry
[
[
dip
]
curry
]
dip
[
prepend
fmap
]
curry
compose
;