export even more stuff
This commit is contained in:
parent
1fe4085844
commit
70fb80a9fc
2 changed files with 3 additions and 1 deletions
2
index.d.ts
vendored
2
index.d.ts
vendored
|
|
@ -350,6 +350,8 @@ export function substitute(type: any, substitutions: any, stack: any): any;
|
||||||
|
|
||||||
export function sumType(typeParam: any): any;
|
export function sumType(typeParam: any): any;
|
||||||
|
|
||||||
|
export function transitivelyGrow(uni: any): any;
|
||||||
|
|
||||||
export function unify(fType: any, aType: any): any;
|
export function unify(fType: any, aType: any): any;
|
||||||
|
|
||||||
export function unifyLL(typeA: any, typeB: any): any;
|
export function unifyLL(typeA: any, typeB: any): any;
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ export const mergeUnifications = (unifA, unifB) => {
|
||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
|
|
||||||
const transitivelyGrow = (unif) => {
|
export const transitivelyGrow = (unif) => {
|
||||||
let stable = true;
|
let stable = true;
|
||||||
const result = new Map();
|
const result = new Map();
|
||||||
for (const [symbol, setOfTypes] of unif) {
|
for (const [symbol, setOfTypes] of unif) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue