Handbook
Glossary
nwith ( n -- )
Factor handbook
»
The language
»
Combinators
»
Generalized shuffle words and combinators
»
Additional generalizations
Prev:
ncurry ( n -- )
Next:
nsum ( n -- quot )
Vocabulary
generalizations
Inputs
n
an
integer
Outputs
None
Word description
A generalization of
with
that can work for any stack depth.
Examples
Some core words expressed in terms of
nwith
:
with
1 nwith
Definition
USING:
kernel
;
IN:
generalizations
:
nwith
( n -- )
[
with
]
swap
call-n
;
inline