16 lines
No EOL
389 B
Markdown
16 lines
No EOL
389 B
Markdown
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) |