about summary refs log tree commit diff
path: root/z-yants-tests.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-28T12·31+0100
committerVincent Ambo <tazjin@google.com>2019-08-28T13·36+0100
commitb622bcef7de3d69d3aa52b9c43c89906c75f0ae3 (patch)
treed7d9e0becf0f5bb4631c291db737d67eab33a95c /z-yants-tests.nix
parentf6635fec982ecf892f77dde82568689631932d85 (diff)
feat: Introduce composable type errors and type parameter checking
This refactoring moves the type definitions into a recursively
evaluated attribute set, which makes it possibe to refer to types in
the definitions of other types.

This functionality is used to type-check some of the type parameters
passed in to other types. This is not yet done for all higher-order
types because the evaluation semantics of Nix make it less useful for
some cases.

Further the definition of a type itself is now a stricter
representation that works for all types except typed functions, which
allows for composable error messages.
Diffstat (limited to 'z-yants-tests.nix')
0 files changed, 0 insertions, 0 deletions