view tests/equiv.lac @ 46:44a1bc863f0f

Corifying functors
author Adam Chlipala <adamc@hcoop.net>
date Thu, 19 Jun 2008 17:55:36 -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