dope2/structures/module.js
2025-03-19 15:43:45 +01:00

7 lines
302 B
JavaScript

import { makeListModule } from "./list_common.js";
import { Typed } from "../typed.js";
import { lsType } from "../type_registry.js";
export const Module = lsType(Typed); // a Module is a list of Typeds
export const ModuleModule = makeListModule(Typed); // the module containing operations on Module