package core_extended

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.Field.t -> 'b t

Create a single column from a field of a record.

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

Nest a builder in a field of a record.

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

OCaml

Innovation. Community. Security.