mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
commit
003c9c2fa1
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ s" Invalid argument" exception constant INVALID-ARGUMENT
|
||||||
s" Index out of range" exception constant OUT-OF-RANGE export
|
s" Index out of range" exception constant OUT-OF-RANGE export
|
||||||
|
|
||||||
defined? roll [unless]
|
defined? roll [unless]
|
||||||
: roll ( w[n-1] ... w0 n -- w[n-2] ... w0 w[n-1] )
|
: roll ( wn ... w0 n -- w[n-1] ... w0 wn )
|
||||||
dup 0<= if drop else swap >r 1- recurse r> swap then
|
dup 0<= if drop else swap >r 1- recurse r> swap then
|
||||||
;
|
;
|
||||||
[then]
|
[then]
|
||||||
|
|
Loading…
Reference in a new issue