Module Write.Fields_O

Open for prefix operators useful for using with Fields.to_list.

e.g.

let csv =
  Delimited.Write.Fields_O.(
    Fields.to_list
      ~a_string:!!Fn.id
      ~a_date:!!Date.to_string
      ~mv:!>Long_short.csv)
  |> Delimited.Write.of_list
val (!!) : ('a -> string) -> ('b'a) Core_kernel.Field.t -> 'b t

Create a single column from a field of a record.

val (!>) : 'a t -> ('b'a) Core_kernel.Field.t -> 'b t

Nest a builder in a field of a record.

Column headers will be prefixed with the name of the field.