Idris2/tests/idris2/evaluator/evaluator001/Issue650.idr
2023-09-07 14:57:22 +01:00

11 lines
174 B
Idris

%default total
isNat : Type -> Bool
isNat Nat = True
isNat (List Char) = False
isNat Int = False
isNat _ = False
trivialEquality : isNat Int = False
trivialEquality = Refl