Library
Module
Module type
Parameter
Class
Class type
create_fun0 db name ~init ~step ~final
registers the step and finalizer functions under name name
with database handle db
. This function has arity 0
.
val create_fun1 :
db ->
string ->
init:'a ->
step:('a -> Data.t -> 'a) ->
final:('a -> Data.t) ->
unit
create_fun1 db name ~init ~step ~final
registers the step and finalizer functions under name name
with database handle db
. This function has arity 1
.
val create_fun2 :
db ->
string ->
init:'a ->
step:('a -> Data.t -> Data.t -> 'a) ->
final:('a -> Data.t) ->
unit
create_fun2 db name ~init ~step ~final
registers the step and finalizer functions under name name
with database handle db
. This function has arity 2
.