Ortac_qcheck_stm.ReserrSourcetype W.kind += | Constant_value of string| Ensures_not_found_for_next_state of string * string| Ensures_not_found_for_ret_sut of string * string list| Function_arity of string| Functional_argument of string| Ghost_values of string * [ `Arg | `Ret ]| Impossible_init_state_generation of init_state_error| Impossible_term_substitution of [ `Never
| `New
| `Old
| `NotModel
| `OutOfScope ]| Incompatible_sut of string| Incompatible_type of string * string| Incomplete_configuration_module of [ `Init_sut | `Sut ]| Incomplete_ret_val_computation of string| No_configuration_file of string| No_init_function of string| No_models of string| No_spec of string| No_sut_type of string| Not_a_structure of string| Returning_nested_sut of string| Sub_module_not_found of string| Sut_as_type_inst of string| Sut_in_tuple of string| Sut_type_not_specified of string| Sut_type_not_supported of string| Syntax_error_in_config_module of string| Third_order_function_argument of string| Tuple_arity of string| Type_not_supported of string| Type_not_supported_for_sut_parameter of string| Type_parameter_not_instantiated of stringa <|> b is the alternative between a and b. It picks the first one that succeed, looking first at a. IT doesn't store the warnings of the one it doesn't pick.
traverse f xs maps f over xs and returns ok of the resulting list iff it contains no error
traverse_ f xs is traverse f xs ignoring the returned list
sequence rs returns ok of the list of 'a iff there is no error in rs
promote rs filters rs and returns ok of the list of 'a iff there is no errors of level Error in rs and store the errors of level Warning in the warnings list
promote_map f xs is List.map f xs |> promote with only one traversal
promote_mapi f xs is List.mapi f xs |> promote with only one traversal