add interactive prompt
This commit is contained in:
parent
ce192b49f2
commit
94efde3e65
22 changed files with 599 additions and 138 deletions
|
|
@ -50,20 +50,20 @@ export const makeListModule = elementType => {
|
|||
|
||||
if (elementType === Byte) {
|
||||
// specialization: use Uint8Array instead of JS array
|
||||
return [
|
||||
return {l:[
|
||||
...common,
|
||||
{i: byteListImpl.emptyList , t: ListOfElement},
|
||||
{i: byteListImpl.get , t: getFnType},
|
||||
{i: byteListImpl.put , t: putFnType},
|
||||
];
|
||||
]};
|
||||
}
|
||||
else {
|
||||
return [
|
||||
return {l:[
|
||||
...common,
|
||||
{i: emptyList , t: ListOfElement},
|
||||
{i: get , t: getFnType},
|
||||
{i: put , t: putFnType},
|
||||
// {i: push , t: pushFnType},
|
||||
];
|
||||
]};
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue