diff tests/eq.ur @ 387:7abb28e9d51f

Binops; equality tested on int; lame 404 substitute
author Adam Chlipala <adamc@hcoop.net>
date Tue, 21 Oct 2008 09:50:19 -0400
parents 32f9212583b2
children 2e93d18daf44
line wrap: on
line diff
--- a/tests/eq.ur	Sun Oct 19 16:49:09 2008 -0400
+++ b/tests/eq.ur	Tue Oct 21 09:50:19 2008 -0400
@@ -1,7 +1,4 @@
-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
+fun main () : transaction page = return <xml><body>
+  {txt _ (1 = 1)}, {txt _ (1 = 2)}<br/>
+  {txt _ (1 <> 1)}, {txt _ (1 <> 2)}
+</body></xml>