summaryrefslogtreecommitdiff
path: root/demo/listShop.ur
diff options
context:
space:
mode:
Diffstat (limited to 'demo/listShop.ur')
-rw-r--r--demo/listShop.ur4
1 files changed, 4 insertions, 0 deletions
diff --git a/demo/listShop.ur b/demo/listShop.ur
index 04386349..0c23819f 100644
--- a/demo/listShop.ur
+++ b/demo/listShop.ur
@@ -1,9 +1,13 @@
structure I = struct
type t = int
+ val toString = show _
+ val fromString = read _
end
structure S = struct
type t = string
+ val toString = show _
+ val fromString = read _
end
structure IL = ListFun.Make(I)