summaryrefslogtreecommitdiff
path: root/src/Core/Term.idr
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/Term.idr')
-rw-r--r--src/Core/Term.idr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Core/Term.idr b/src/Core/Term.idr
index a3ddac5..8c05e03 100644
--- a/src/Core/Term.idr
+++ b/src/Core/Term.idr
@@ -20,6 +20,14 @@ data Term : Nat -> Type where
%name Term t, u, v
+-- Impossibilities -------------------------------------------------------------
+
+export
+Uninhabited (Set = Pi f g) where uninhabited prf impossible
+
+export
+Uninhabited (Pi f g = Set) where uninhabited prf impossible
+
-- Weakening -------------------------------------------------------------------
public export