view tests/equiv.lac @ 217:56db662ebcfd

Fun with type classes and modules
author Adam Chlipala <adamc@hcoop.net>
date Sat, 16 Aug 2008 16:30:07 -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