add interactive prompt
This commit is contained in:
parent
ce192b49f2
commit
94efde3e65
22 changed files with 599 additions and 138 deletions
|
|
@ -16,7 +16,7 @@ export const makeProductType = (leftType, rightType) => {
|
|||
const constructorBoundType = fnType({in: rightType, out: pType});
|
||||
const constructorType = fnType({in: leftType , out: constructorBoundType});
|
||||
|
||||
return [
|
||||
return {l:[
|
||||
{i: pType, t: Type},
|
||||
|
||||
{i: getLeft , t: leftFnType},
|
||||
|
|
@ -27,5 +27,5 @@ export const makeProductType = (leftType, rightType) => {
|
|||
{i: constructor , t: constructorType},
|
||||
{i: constructorType , t: Function},
|
||||
{i: constructorBoundType, t: Function},
|
||||
];
|
||||
]};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue