Mercurial > urweb
diff tests/time.ur @ 437:1a4c1b5f4d8f
Add time to some type classes
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 30 Oct 2008 14:40:42 -0400 |
parents | 024478c34f4d |
children | 1c27f03d9bd2 |
line wrap: on
line diff
--- a/tests/time.ur Thu Oct 30 14:36:48 2008 -0400 +++ b/tests/time.ur Thu Oct 30 14:40:42 2008 -0400 @@ -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>