view final_main/src/AgdaImplicitId.agda @ 5:eafc166804f3

fix Capter4.2,5,1
author ryokka
date Mon, 19 Feb 2018 18:44:59 +0900
parents 93d26c4576d3
children
line wrap: on
line source

id : {A : Set} -> A -> A
id x = x

id-zero : Nat
id-zero = id zero

id' : {A : Set} -> A -> A
id' {A} x = x

id-true : Bool
id-true = id {Bool} true