Make.State
exception Error of t
Convenient exception.
exception Key_not_found of t * string * string
Exception raised by `get` when the key is not bound.
val create_key : pipe:string -> string -> _ key
create a new key
get the value associated to a key, or the default if the key is not bound.
update key f s
updates the value associated with the key key
according to the result of f
.
update_opt key f s
updates the value associated with the key key
according to the result of f
. The argument passed to f
is Some v
if the key is currently associated with value v
, and None
if the key is not bound.
val warn :
?file:_ Dolmen_loop.State.file ->
?loc:Dolmen.Std.Loc.full ->
t ->
'a Dolmen_loop.Report.Warning.t ->
'a ->
t
Emit a warning
val error :
?file:_ Dolmen_loop.State.file ->
?loc:Dolmen.Std.Loc.full ->
t ->
'a Dolmen_loop.Report.Error.t ->
'a ->
t
Emit an error.
val debug : bool key
val reports : Dolmen_loop.Report.Conf.t key
val report_style : Dolmen_loop.State.report_style key
val max_warn : int key
val cur_warn : int key
val time_limit : float key
val size_limit : float key
val logic_file : Dolmen_loop.Logic.language Dolmen_loop.State.file key
val response_file : Dolmen_loop.Response.language Dolmen_loop.State.file key