Module Angstrom__.Exported_state

type 'a state =
| Partial of 'a partial
| Done of int * 'a
| Fail of int * string list * string
and 'a partial = {
committed : int;
continue : Bigstringaf.t -> off:int -> len:int -> Angstrom__.More.t -> 'a state;
}
val state_to_option : 'a state -> 'a option
val fail_to_string : string list -> string -> string
val state_to_result : 'a state -> ('a, string) Stdlib.result