Mercurial > hg > Papers > 2020 > ryokka-master
view paper/src/AgdaInstance.agda.replaced @ 19:046b2b20d6c7 default tip
fix
author | ryokka |
---|---|
date | Mon, 09 Mar 2020 11:25:49 +0900 |
parents | c7acb9211784 |
children |
line wrap: on
line source
_==Nat_ : Nat @$\rightarrow$@ Nat @$\rightarrow$@ Bool zero ==Nat zero = true (suc n) ==Nat zero = false zero ==Nat (suc m) = false (suc n) ==Nat (suc m) = n ==Nat m instance natHas== : Eq Nat natHas== = record { _==_ = _==Nat_}