package ocb

  1. Overview
  2. Docs

Source file style.ml

1
2
3
4
5
6
7
8
type t =
  | Classic
  | Flat

let of_string = function
  | "classic" -> Classic
  | "flat" -> Flat
  | s -> failwith @@ Format.sprintf "unknown style `%s`" s
OCaml

Innovation. Community. Security.