view tests/impl.lac @ 15:1e645beb3f3b

Implicit constructor arguments
author Adam Chlipala <adamc@hcoop.net>
date Sun, 08 Jun 2008 13:00:12 -0400
parents
children 9bd8669d53c2
line wrap: on
line source
val id = fn t :: Type => fn x : t => x
val id_self = id [t :: Type -> t -> t] id

val idi = fn t ::: Type => fn x : t => x
val idi_self = idi idi