rename some things

This commit is contained in:
Joeri Exelmans 2025-04-20 21:09:51 +02:00
parent e04cac4f7d
commit 8a4bd44f04
16 changed files with 92 additions and 60 deletions

View file

@ -1,9 +1,9 @@
import { fnType, typedFnType } from "./types.js";
import { typedFnType } from "./types.js";
import { Char, GenericType, Type } from "../primitives/types.js";
import { Int } from "../primitives/types.js";
import { makeGeneric } from "../generics/generics.js";
import { lsType } from "./types.js";
import { Typed } from "../typed.js"
import { Dynamic } from "../primitives/dynamic.js"
// 'normal' implementation
export const emptyList = {l:[]};
@ -22,7 +22,7 @@ export const fold = ls => callback => initial => {
}
export const String = lsType(Char); // alias
export const Module = lsType(Typed);
export const Module = lsType(Dynamic);
export const ModuleList = {l:[
// Type -> Type