diff options
author | Chloe Brown <chloe.brown.00@outlook.com> | 2023-04-01 13:58:46 +0100 |
---|---|---|
committer | Chloe Brown <chloe.brown.00@outlook.com> | 2023-04-01 13:58:46 +0100 |
commit | f19665eac65f9a37dcde85eb58e7d4b5b4a22bcf (patch) | |
tree | 0bdae73731c7ec36bac2942d99dba7877ffe723c /src/Core/Declarative.idr | |
parent | 53ff29fda182629b9fd284b196ad67a47c95a777 (diff) |
Make environments do weakening lazily.
This is in anticipation for defining well-formed thinnings.
Diffstat (limited to 'src/Core/Declarative.idr')
-rw-r--r-- | src/Core/Declarative.idr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Core/Declarative.idr b/src/Core/Declarative.idr index 8efda89..4a27923 100644 --- a/src/Core/Declarative.idr +++ b/src/Core/Declarative.idr @@ -27,9 +27,9 @@ data EnvWf where EnvWf [<] (:<) : EnvWf env -> - TypeWf env a -> + TypeWf env (wkn a thin) -> --- - EnvWf (env :< a) + EnvWf (Add env thin a) data TypeWf where SetType : |