comparison tests/eq.ur @ 388:2e93d18daf44

Monoize eq_[bool|string]
author Adam Chlipala <adamc@hcoop.net>
date Tue, 21 Oct 2008 09:52:52 -0400
parents 7abb28e9d51f
children
comparison
equal deleted inserted replaced
387:7abb28e9d51f 388:2e93d18daf44
1 fun main () : transaction page = return <xml><body> 1 fun main () : transaction page = return <xml><body>
2 {txt _ (1 = 1)}, {txt _ (1 = 2)}<br/> 2 {txt _ (1 = 1)}, {txt _ (1 = 2)}<br/>
3 {txt _ (1 <> 1)}, {txt _ (1 <> 2)} 3 {txt _ (1 <> 1)}, {txt _ (1 <> 2)}<br/>
4 {txt _ (True = True)}, {txt _ (True = False)}<br/>
5 {txt _ (True <> True)}, {txt _ (True <> False)}<br/>
6 {txt _ ("A" = "A")}, {txt _ ("A" = "B")}<br/>
7 {txt _ ("A" <> "A")}, {txt _ ("A" <> "B")}<br/>
4 </body></xml> 8 </body></xml>