home *** CD-ROM | disk | FTP | other *** search
- main = run program
-
- program x = print' [1 == 2,
- 2 <= 3,
- "Murphy" /= "Baker",
- [9..1] == [],
- [1,2,3] < [1..10],
- [1,2,3] < [1..],
- [[1],[2,3]] == [[1],[2,3]],
- [[1],[2,3]] == [[1],[2,4]],
- [[1],[2,3]] < [[1],[2,4]],
- [[1],[2],[3]] >= [[1],[2],[3]],
- "abc" == "abcdef",
- "abc" <= "abcdef",
- "abc" < "abcdef",
- "abc" /= "abcdef",
- "abc" >= "abcdef",
- "abc" > "abcdef",
- [[[1,2],[3,4]],[[]],[[1,2,3]]]==[[[1,2],[3,4]],[[]],[[1]]],
- [[[1,2],[3,4]],[[]],[[1,2,3]]]/=[[[1,2],[3,4]],[[]],[[1]]],
- [[[1,2],[3,4]],[[]],[[1,2,3]]]> [[[1,2],[3,4]],[[]],[[1]]],
- [[[1,2],[3,4]],[[]],[[1,2,3]]]>=[[[1,2],[3,4]],[[]],[[1]]],
- [[[1,2],[3,4]],[[]],[[1,2,3]]]< [[[1,2],[3,4]],[[]],[[1]]],
- [[[1,2],[3,4]],[[]],[[1,2,3]]]<=[[[1,2],[3,4]],[[]],[[1]]],
- 3.234 == 3.235,
- 3.234 /= 3.235,
- 3.234 >= 3.235,
- 3.234 <= 3.235,
- 3.234 < 3.235,
- 3.234 > 3.235,
- True == False,
- True /= False,
- True >= False,
- True <= False,
- True > False,
- True >= False
- ]
-
- print' = unlines . map which
- where which True = "True"
- which False = "False"
-
-