mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-15 22:32:19 +03:00
4a61146ba0
[ log ] prettier log for pats & clauses [ re #650 ] Even lazier [ fix #705 ] normalise primitives in mkPat [ refactor ] introduce getPrimitiveNames
11 lines
174 B
Idris
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
|