Mercurial > urweb
view tests/eq.ur @ 348:b88f4297167f
Improved inference of records of tuples
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 04 Oct 2008 19:56:59 -0400 |
parents | 32f9212583b2 |
children | 7abb28e9d51f |
line wrap: on
line source
val b1 = 1 = 1 val b2 = "Good" = "Bad" fun eq_pair (t1 :: Type) (t2 :: Type) (eq1 : eq t1) (eq2 : eq t2) (x : t1 * t2) (y : t1 * t2) = x.1 = y.1 val b3 = True <> False