Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
and field_validation_error = string * validation_error list
and index_validation_error = int * validation_error list
and validation_error =
| BaseError of base_validation_error
| RecordError of field_validation_error list
| IterableError of index_validation_error list
val pp_base_validation_error :
Ppx_deriving_runtime.Format.formatter ->
base_validation_error ->
Ppx_deriving_runtime.unit
val show_base_validation_error :
base_validation_error ->
Ppx_deriving_runtime.string
val pp_field_validation_error :
Ppx_deriving_runtime.Format.formatter ->
field_validation_error ->
Ppx_deriving_runtime.unit
val show_field_validation_error :
field_validation_error ->
Ppx_deriving_runtime.string
val pp_index_validation_error :
Ppx_deriving_runtime.Format.formatter ->
index_validation_error ->
Ppx_deriving_runtime.unit
val show_index_validation_error :
index_validation_error ->
Ppx_deriving_runtime.string
val pp_validation_error :
Ppx_deriving_runtime.Format.formatter ->
validation_error ->
Ppx_deriving_runtime.unit
val show_validation_error : validation_error -> Ppx_deriving_runtime.string
val equal_base_validation_error :
base_validation_error ->
base_validation_error ->
Ppx_deriving_runtime.bool
val equal_field_validation_error :
field_validation_error ->
field_validation_error ->
Ppx_deriving_runtime.bool
val equal_index_validation_error :
index_validation_error ->
index_validation_error ->
Ppx_deriving_runtime.bool
val equal_validation_error :
validation_error ->
validation_error ->
Ppx_deriving_runtime.bool
val validate :
'a validator ->
'a ->
('a, Validate__.Err.validation_error) Stdlib.result
val field :
string ->
('a, 'b) field_extractor ->
'b validator list ->
'a ->
(unit, string * Validate__.Err.validation_error list) Stdlib.result
val record :
'a field_validator list ->
'a ->
(unit, Validate__.Err.validation_error) Stdlib.result
val iterable_item :
int ->
'a validator list ->
'a ->
(unit, int * Validate__.Err.validation_error list) Stdlib.result
val list :
'a validator list ->
'a list ->
(unit, Validate__.Err.validation_error) Stdlib.result