From 6a144b5f5a7e85a02465aa25a19c3b5686e062cb Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sun, 31 Aug 2008 15:15:41 -0400 Subject: 'eq' type class --- tests/eq.ur | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/eq.ur (limited to 'tests/eq.ur') diff --git a/tests/eq.ur b/tests/eq.ur new file mode 100644 index 00000000..0c5cde60 --- /dev/null +++ b/tests/eq.ur @@ -0,0 +1,5 @@ +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 -- cgit v1.2.3