about summary refs log tree commit diff
path: root/yants.md
blob: fe2affd5e8b916a4286dba8aaf34169bbe0ac702 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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](z-simple.png)

## Structs

![structs](z-structs.png)

## Nested structs!

![nested structs](z-nested-structs.png)