Switch the names of unstack and disenstacken.
Part of Ticket #38237 Still need to update the docs.
This commit is contained in:
parent
f13d572304
commit
fac2d2ae5f
|
|
@ -231,7 +231,7 @@ binary == nullary [popop] dip
|
||||||
cleave == fork [popd] dip
|
cleave == fork [popd] dip
|
||||||
codireco == cons dip rest cons
|
codireco == cons dip rest cons
|
||||||
dinfrirst == dip infra first
|
dinfrirst == dip infra first
|
||||||
disenstacken == ? [uncons ?] loop pop
|
unstack == ? [uncons ?] loop pop
|
||||||
down_to_zero == [0 >] [dup --] while
|
down_to_zero == [0 >] [dup --] while
|
||||||
dupdipd == dup dipd
|
dupdipd == dup dipd
|
||||||
enstacken == stack [clear] dip
|
enstacken == stack [clear] dip
|
||||||
|
|
@ -661,9 +661,9 @@ def clear(stack):
|
||||||
|
|
||||||
@inscribe
|
@inscribe
|
||||||
@SimpleFunctionWrapper
|
@SimpleFunctionWrapper
|
||||||
def unstack(stack):
|
def disenstacken(stack):
|
||||||
'''
|
'''
|
||||||
The unstack operator expects a list on top of the stack and makes that
|
The disenstacken operator expects a list on top of the stack and makes that
|
||||||
the stack discarding the rest of the stack.
|
the stack discarding the rest of the stack.
|
||||||
'''
|
'''
|
||||||
return stack[0]
|
return stack[0]
|
||||||
|
|
@ -1614,7 +1614,6 @@ for name in ('''
|
||||||
|
|
||||||
## product == 1 swap [*] step
|
## product == 1 swap [*] step
|
||||||
## flatten == [] swap [concat] step
|
## flatten == [] swap [concat] step
|
||||||
## disenstacken == ? [uncons ?] loop pop
|
|
||||||
## pam == [i] map
|
## pam == [i] map
|
||||||
## size == 0 swap [pop ++] step
|
## size == 0 swap [pop ++] step
|
||||||
## fork == [i] app2
|
## fork == [i] app2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue