progress and some refactoring

This commit is contained in:
Joeri Exelmans 2025-03-31 15:35:02 +02:00
parent d236eca5e5
commit d8ca2f3999
25 changed files with 376 additions and 163 deletions

13
structures/nominal.js Normal file
View file

@ -0,0 +1,13 @@
import { Any } from "../typed.js";
import { String } from "./list.js";
import { sumType, prodType, fnType } from "./types.js";
export const createNominalADT = symbol => variants => {
};
export const createNominalADTFnType =
fnType
(Any)
();