mirror of
https://github.com/nineties/planckforth
synced 2024-12-26 21:58:42 +01:00
fix comment of roll
This commit is contained in:
parent
a4e5968359
commit
1238649a4c
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ s" Invalid argument" exception constant INVALID-ARGUMENT
|
||||||
;
|
;
|
||||||
|
|
||||||
defined? roll [unless]
|
defined? roll [unless]
|
||||||
: roll ( wn ... w1 n -- w1 wn ... w2 )
|
: roll ( w[n-1] ... w0 n -- w0 w[n-2] ... w0 w[n-1] )
|
||||||
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