summaryrefslogtreecommitdiff
path: root/tests/toString.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-09-07 11:53:30 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-09-07 11:53:30 -0400
commitf8d1a7fcf13f655200be366733c24233b5df7f9a (patch)
treed2b1505cfdcef966f5410d29930821ab39fa1818 /tests/toString.ur
parent9ae8932c978ab9c12f683745b47b3e0898581635 (diff)
'read' type class
Diffstat (limited to 'tests/toString.ur')
-rw-r--r--tests/toString.ur7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/toString.ur b/tests/toString.ur
index f51ef098..6a22fe64 100644
--- a/tests/toString.ur
+++ b/tests/toString.ur
@@ -1,5 +1,6 @@
fun main () : transaction page = return <html><body>
- 6 = {cdata (intToString 6)}<br/>
- 12.34 = {cdata (floatToString 12.34)}<br/>
- False = {cdata (boolToString False)}<br/>
+ 6 = {cdata (show _ 6)}<br/>
+ 12.34 = {cdata (show _ 12.34)}<br/>
+ Hi = {cdata (show _ "Hi")}<br/>
+ False = {cdata (show _ False)}<br/>
</body></html>