package melange
Module Pattern.ArraySource
Source
type ('M, 'T) element = | Element of ('M, 'T) Element.t| RestElement of ('M, 'T) RestElement.t| Hole of 'M
Source
and ('M, 'T) t = {elements : ('M, 'T) element list;annot : ('M, 'T) Type.annotation_or_hint;comments : ('M, 'M Comment.t list) Syntax.t option;
}Source
val pp_element :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
Format.formatter ->
('M, 'T) element ->
unitSource
val show_element :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
('M, 'T) element ->
stringSource
val pp :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
Format.formatter ->
('M, 'T) t ->
unitSource
val show :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
('M, 'T) t ->
string