Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Prepend the name of a field to the list of fields. This function is Fields.fold friendly.
Add the two integer parameters. This function is Fields.fold friendly
val write :
is_first:bool ->
is_last:bool ->
writer:(string -> unit) ->
to_string:('a -> string) ->
_ ->
_ ->
'a ->
unit
write ~is_first ~is_last ~writer ~to_string _ _ t
writes the contents of a field using writer
. If not is_first
writer ","; writer (to_string t)
. If is_last
then writer (to_string t); writer "\n"
.