view demo/refFun.urs @ 2291:50ad02829abd

Make cache flushes happen immediately instead of at end of transaction.
author Ziv Scully <ziv@mit.edu>
date Tue, 17 Nov 2015 02:44:37 -0500
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