comparison 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
comparison
equal deleted inserted replaced
418:ad7e854a518c 419:cb5897276abf
1 functor Make(M : sig
2 type data
3 val inj : sql_injectable data
4 end) : sig
5 type ref
6 val new : M.data -> transaction ref
7 val read : ref -> transaction M.data
8 val write : ref -> M.data -> transaction unit
9 val delete : ref -> transaction unit
10 end