From f8d1a7fcf13f655200be366733c24233b5df7f9a Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sun, 7 Sep 2008 11:53:30 -0400 Subject: 'read' type class --- tests/toString.ur | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/toString.ur') 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 - 6 = {cdata (intToString 6)}
- 12.34 = {cdata (floatToString 12.34)}
- False = {cdata (boolToString False)}
+ 6 = {cdata (show _ 6)}
+ 12.34 = {cdata (show _ 12.34)}
+ Hi = {cdata (show _ "Hi")}
+ False = {cdata (show _ False)}
-- cgit v1.2.3