summaryrefslogtreecommitdiff
path: root/tests/time.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-10-30 14:40:42 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-10-30 14:40:42 -0400
commitc9187effa33aa0e68eda9bef752e3ec8a5a2e5d3 (patch)
tree3bf696058ebb4bf033bed7475be602a25aeeb88c /tests/time.ur
parentc66b728b1b4e4ca919affac82d9bdbebc98a2a42 (diff)
Add time to some type classes
Diffstat (limited to 'tests/time.ur')
-rw-r--r--tests/time.ur3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/time.ur b/tests/time.ur
index 393939e9..7b8b93ef 100644
--- a/tests/time.ur
+++ b/tests/time.ur
@@ -1,3 +1,4 @@
val now : time = readError "10/30/08 14:35:42"
+val later : time = readError "10/30/08 14:37:42"
-fun main () = return <xml>{[now]}</xml>
+fun main () = return <xml>{[now]}, {[now = now]}, {[now = later]}, {[later < now]}, {[now < later]}</xml>