TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit
twoStack
Function twoStack
twoStack
<
const
Q
extends
NonEmptyNames
,
const
A
extends
readonly
string
[]
,
const
G1
extends
readonly
string
[]
,
const
G2
extends
readonly
string
[]
,
>
(
input
:
TwoStackInput
<
Q
,
A
,
G1
,
G2
>
,
)
:
Result
<
Typed
<
TwoStackMachine
,
A
[
number
]
,
Q
[
number
]
>
,
TocError
>
Builds independent stacks with accepting control and arbitrary final stack contents.
Type Parameters
const
Q
extends
NonEmptyNames
const
A
extends
readonly
string
[]
const
G1
extends
readonly
string
[]
const
G2
extends
readonly
string
[]
Parameters
input
:
TwoStackInput
<
Q
,
A
,
G1
,
G2
>
Returns
Result
<
Typed
<
TwoStackMachine
,
A
[
number
]
,
Q
[
number
]
>
,
TocError
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
TOC Toolkit API - v0.1.0
Loading...
Builds independent stacks with accepting control and arbitrary final stack contents.