interactive prompt can handle polymorphic types

This commit is contained in:
Joeri Exelmans 2025-04-02 15:49:43 +02:00
parent a0e3aa0cb3
commit 4a4983f693
20 changed files with 485 additions and 276 deletions

View file

@ -11,11 +11,14 @@ import { ModuleFunction } from "./structures/function.js";
import { ModuleList } from "./structures/list.js";
import { ModuleProduct } from "./structures/product.js";
import { ModuleSum } from "./structures/sum.js";
import { ModuleType } from "./type.js";
import { ModuleType } from "./primitives/type.js";
import { ModuleTyped } from "./typed.js";
import { ModuleSet } from "./structures/set.js";
import { ModuleGenericType } from "./primitives/generic_type.js";
export const ModuleStd = {l:[
...ModuleType.l,
...ModuleGenericType.l,
...ModuleTyped.l,
...ModuleTypeConstructor.l,
@ -35,4 +38,5 @@ export const ModuleStd = {l:[
...ModuleList.l,
...ModuleProduct.l,
...ModuleSum.l,
]};
...ModuleSet.l,
]};