bleeding: typesystem

This commit is contained in:
Emile Clark-Boman 2025-12-18 11:26:47 +10:00
parent 452dcf99bb
commit 3d9ec28bfc
6 changed files with 88 additions and 4 deletions

9
nib/typesystem.nix Normal file
View file

@ -0,0 +1,9 @@
{...}: rec {
isType = type: T: type == typeOf T;
isSameType = T1: T2: typeOf T1 == typeOf T2;
# TODO
typeOf = builtins.typeOf;
# TODO
typeName = typeOf;
}