diff options
author | Vincent Ambo <tazjin@google.com> | 2019-08-28T12·31+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-08-28T13·36+0100 |
commit | b622bcef7de3d69d3aa52b9c43c89906c75f0ae3 (patch) | |
tree | d7d9e0becf0f5bb4631c291db737d67eab33a95c /z-yants-tests.nix | |
parent | f6635fec982ecf892f77dde82568689631932d85 (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