Module Datascript_lg.Codec

type 'a t
val string : string t
val int : int t
val float : float t
val bool : bool t
val keyword : string t
val entity_id : int t
val value : Datascript.value t
val agree : 'a t -> 'a t -> unit
val encode : 'a t -> 'a -> Datascript.value
val decode : 'a t -> Datascript.value -> ('a, error) Stdlib.result