diff demo/refFun.urs @ 419:cb5897276abf

Fix bug with bringing functor argument instances into scope; Ref demo, minus prose
author Adam Chlipala <adamc@hcoop.net>
date Thu, 23 Oct 2008 17:35:10 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/demo/refFun.urs	Thu Oct 23 17:35:10 2008 -0400
@@ -0,0 +1,10 @@
+functor Make(M : sig
+                 type data
+                 val inj : sql_injectable data
+             end) : sig
+    type ref
+    val new : M.data -> transaction ref
+    val read : ref -> transaction M.data
+    val write : ref -> M.data -> transaction unit
+    val delete : ref -> transaction unit
+end