feat: Initial check-in of type system sketch

This commit is contained in:
Vincent Ambo 2019-08-08 01:15:49 +00:00 committed by Vincent Ambo
commit fe33a82a07
2 changed files with 104 additions and 0 deletions

16
yants.md Normal file
View file

@ -0,0 +1,16 @@
yants
=====
This is a tiny type-checker for data in Nix, written in Nix. It doesn't have all the features I think it should have (yet), but it works and its types are composable.
## Primitives & simple polymorphism
![simple](https://i.imgur.com/hDQAQUK.png)
## Structs
![structs](https://i.imgur.com/f8jgnul.png)
## Nested structs!
![nested structs](https://i.imgur.com/O3RsHds.png)