Synext.Make_precedencesmodule S : sig ... endinclude Support.Imperative_state.IMPERATIVE_STATE with type state = S.statetype state = S.stateval traverse_list :
state ->
(state -> 'a -> 'b) ->
'a Support.List.t ->
'b Support.List.ttraverse_list state f [x1; x2; ...; xn] is [y1; y2; ...; yn] where yi = f state xi, and y1, y2, ..., yn are computed in order, meaning that y1 is computed first, then y2, etc.
val traverse_list1 :
state ->
(state -> 'a -> 'b) ->
'a Support.List1.t ->
'b Support.List1.tval traverse_list2 :
state ->
(state -> 'a -> 'b) ->
'a Support.List2.t ->
'b Support.List2.tval iter_list :
state ->
(state -> 'a -> Stdlib.Unit.t) ->
'a Support.List.t ->
Stdlib.Unit.titer_list state f [x1; x2; ...; xn] is f state x1; f state x2; ...; f state xn.
val iter_list1 :
state ->
(state -> 'a -> Stdlib.Unit.t) ->
'a Support.List1.t ->
Stdlib.Unit.tval iter_list2 :
state ->
(state -> 'a -> Stdlib.Unit.t) ->
'a Support.List2.t ->
Stdlib.Unit.tval traverse_reverse_list :
state ->
(state -> 'a -> 'b) ->
'a Support.List.t ->
'b Support.List.ttraverse_reverse_list state f [x1; x2; ...; xn] is [y1; y2; ...; yn] where yi = f state xi, and y1, y2, ..., yn are computed in reverse order, meaning that yn is computed first, then y(n-1), etc.
val traverse_reverse_list1 :
state ->
(state -> 'a -> 'b) ->
'a Support.List1.t ->
'b Support.List1.tval traverse_reverse_list2 :
state ->
(state -> 'a -> 'b) ->
'a Support.List2.t ->
'b Support.List2.tval iter_rev_list :
state ->
(state -> 'a -> Stdlib.Unit.t) ->
'a Support.List.t ->
Stdlib.Unit.titer_rev_list state f [x1; x2; ...; xn] is f state xn; f state x(n-1); ...; f state x1.
val iter_rev_list1 :
state ->
(state -> 'a -> Stdlib.Unit.t) ->
'a Support.List1.t ->
Stdlib.Unit.tval iter_rev_list2 :
state ->
(state -> 'a -> Stdlib.Unit.t) ->
'a Support.List2.t ->
Stdlib.Unit.tval traverse_option :
state ->
(state -> 'a -> 'b) ->
'a Support.Option.t ->
'b Support.Option.tval iter_option :
state ->
(state -> 'a -> Stdlib.Unit.t) ->
'a Support.Option.t ->
Stdlib.Unit.tval seq_list : state -> (state -> 'a) Support.List.t -> 'a Support.List.tval seq_list1 : state -> (state -> 'a) Support.List1.t -> 'a Support.List1.tval iter_seq :
state ->
(state -> Stdlib.Unit.t) Support.List.t ->
Stdlib.Unit.tmodule Lf_precedence : sig ... endval precedence_of_lf_kind : state -> lf_kind -> Lf_precedence.precedenceval precedence_of_lf_typ : state -> lf_typ -> Lf_precedence.precedenceval precedence_of_lf_term : state -> lf_term -> Lf_precedence.precedencemodule Clf_precedence : sig ... endval precedence_of_clf_typ : state -> clf_typ -> Clf_precedence.precedenceval precedence_of_clf_term : state -> clf_term -> Clf_precedence.precedenceval precedence_of_clf_term_pattern :
state ->
clf_term_pattern ->
Clf_precedence.precedencemodule Schema_precedence : sig ... endval precedence_of_schema : state -> schema -> Schema_precedence.precedencemodule Comp_sort_precedence : sig ... endval precedence_of_comp_kind :
state ->
comp_kind ->
Comp_sort_precedence.precedenceval precedence_of_comp_typ :
state ->
comp_typ ->
Comp_sort_precedence.precedencemodule Comp_expression_precedence : sig ... endval precedence_of_comp_expression :
state ->
comp_expression ->
Comp_expression_precedence.precedencemodule Comp_pattern_precedence : sig ... endval precedence_of_comp_pattern :
state ->
comp_pattern ->
Comp_pattern_precedence.precedence