view tests/equiv.lac @ 45:3c1ce1b4eb3d

Explifying functors
author Adam Chlipala <adamc@hcoop.net>
date Thu, 19 Jun 2008 17:11:24 -0400
parents e634ae817a8e
children
line wrap: on
line source
type t1 = {A : int, B : float}
type t2 = {B : float, A : int}
val e1 : t1 -> t2 = fn x => x