view final_pre/src/AgdaImplicitId.agda @ 7:28f900230c26

add final_pre
author ryokka
date Mon, 19 Feb 2018 23:32:24 +0900
parents
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