Add product and sum types

This commit is contained in:
Joeri Exelmans 2025-03-17 17:54:42 +01:00
parent 6023efc295
commit 574651ccb7
18 changed files with 209 additions and 157 deletions

View file

@ -1,5 +1,6 @@
import { getListType, makeListModule } from "./list_common.js";
import { makeListModule } from "./list_common.js";
import { Typed } from "../typed.js";
import { getListType } from "../type_registry.js";
export const Module = getListType(Typed); // a Module is a list of Typeds