docs: Add enum screenshot to README

This commit is contained in:
Vincent Ambo 2019-08-08 13:56:08 +01:00
parent 661e09daac
commit 4ebc069a3f

View file

@ -1,7 +1,9 @@
yants 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. 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 ## Primitives & simple polymorphism
@ -14,3 +16,7 @@ This is a tiny type-checker for data in Nix, written in Nix. It doesn't have all
## Nested structs! ## Nested structs!
![nested structs](https://gist.githubusercontent.com/tazjin/ad6d48bc2416335acc5da4a197eb9ddc/raw/d7b1fa0a511ae40f0831b369df4b97103441c7e5/z-nested-structs.png) ![nested structs](https://gist.githubusercontent.com/tazjin/ad6d48bc2416335acc5da4a197eb9ddc/raw/d7b1fa0a511ae40f0831b369df4b97103441c7e5/z-nested-structs.png)
## Enums!
![enums](https://gist.githubusercontent.com/tazjin/ad6d48bc2416335acc5da4a197eb9ddc/raw/b435b5996a176a9e824c42da4713a1d30f261338/z-enums.png)