add String type + use String to make nominal types unique (worse, but more pleasant when debugging)

This commit is contained in:
Joeri Exelmans 2025-03-20 14:09:17 +01:00
parent 18b5e56ff0
commit 9405ba1b4e
9 changed files with 41 additions and 13 deletions

View file

@ -1,7 +1,7 @@
import { fnType, lsType } from "../type_registry.js";
import {Type, Function} from "../metacircular.js";
import { makeListModule } from "./list_common.js";
import { Module } from "./module.js";
import { Module } from "./list_types/module.js";
const Type_to_Type = fnType({in: Type, out: Type});
const Type_to_Module = fnType({in: Type, out: Module});