basic functionality, no generics

This commit is contained in:
Joeri Exelmans 2025-03-14 16:56:37 +01:00
commit a8260f2afb
17 changed files with 615 additions and 0 deletions

6
structures/module.js Normal file
View file

@ -0,0 +1,6 @@
import { getListType, makeListModule } from "./list_common.js";
import { Typed } from "../typed.js";
export const Module = getListType(Typed); // a Module is a list of Typeds
export const ModuleModule = makeListModule(Typed); // the module containing operations on Module