bleeding: typesystem
This commit is contained in:
parent
452dcf99bb
commit
3d9ec28bfc
6 changed files with 88 additions and 4 deletions
9
nib/typesystem.nix
Normal file
9
nib/typesystem.nix
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue