view demo/refFun.urs @ 2257:28a541bd2d23

Use referenced (rather than all) free variables as keys for pure caches.
author Ziv Scully <ziv@mit.edu>
date Sun, 27 Sep 2015 14:46:12 -0400
parents cb5897276abf
children
line wrap: on
line source
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