@@ -27,6 +27,12 @@ data Maybe : (a : Type) -> Type where
27-- Syntactic tests
27-- Syntactic tests
28--------------------------------------------------------------------------------
28--------------------------------------------------------------------------------
30+Uninhabited (Nothing = Just _) where
31+ uninhabited Refl impossible
33+Uninhabited (Just _ = Nothing) where
34+ uninhabited Refl impossible
30isNothing : Maybe a -> Bool
36isNothing : Maybe a -> Bool
31isNothing Nothing = True
37isNothing Nothing = True
32isNothing (Just j) = False
38isNothing (Just j) = False