Switch the names of unstack and disenstacken.

Part of Ticket #38237

Still need to update the docs.
This commit is contained in:
Simon Forman 2020-04-28 10:28:30 -07:00
parent f13d572304
commit fac2d2ae5f
2 changed files with 7 additions and 8 deletions

View File

@ -231,7 +231,7 @@ binary == nullary [popop] dip
cleave == fork [popd] dip
codireco == cons dip rest cons
dinfrirst == dip infra first
disenstacken == ? [uncons ?] loop pop
unstack == ? [uncons ?] loop pop
down_to_zero == [0 >] [dup --] while
dupdipd == dup dipd
enstacken == stack [clear] dip
@ -661,9 +661,9 @@ def clear(stack):
@inscribe
@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.
'''
return stack[0]
@ -1614,7 +1614,6 @@ for name in ('''
## product == 1 swap [*] step
## flatten == [] swap [concat] step
## disenstacken == ? [uncons ?] loop pop
## pam == [i] map
## size == 0 swap [pop ++] step
## fork == [i] app2

View File

@ -49,10 +49,10 @@ setup(
'future',
],
extras_require={
"build-docs": [
"sphinx",
"ipython",
"nbconvert",
'build-docs': [
'sphinx',
'ipython',
'nbconvert',
],
}
)