annotate tests/eq.ur @ 281:7d5860add50f

Change sqlify[int|float|string] to annotate with SQL types
author Adam Chlipala <adamc@hcoop.net>
date Thu, 04 Sep 2008 10:27:21 -0400
parents 32f9212583b2
children 7abb28e9d51f
rev   line source
adamc@256 1 val b1 = 1 = 1
adamc@256 2 val b2 = "Good" = "Bad"
adamc@256 3
adamc@256 4 fun eq_pair (t1 :: Type) (t2 :: Type) (eq1 : eq t1) (eq2 : eq t2) (x : t1 * t2) (y : t1 * t2) =
adamc@256 5 x.1 = y.1
adamc@257 6
adamc@257 7 val b3 = True <> False