Handbook
Glossary
-nrotd ( n d -- quot )
Vocabulary
generalizations
Inputs
n
an
object
d
an
object
Outputs
quot
an
object
Definition
USING:
kernel
math
;
IN:
generalizations
MACRO:
-nrotd
( n d -- quot )
over
0
<
[
[
neg
]
dip
[
nrotd
]
2curry
]
[
[
1
-
[
]
[
[
[
swap
]
]
dip
[
dip
]
curry
compose
]
swapd
times
]
dip
[
ndip
]
2curry
]
if
;