package ocp-indent

  1. Overview
  2. Docs
A simple tool to indent OCaml programs

Install

Dune Dependency

Authors

Maintainers

Sources

1.8.0.tar.gz
md5=d4d11e1aaedd7d3268ac7d5813de43ca
sha512=246a97f04b44371900a6f39eab34d9b674d6afa9026e78fce2ef171b5d28fcca0b49f353b2de9d09cb5529b896e47c253acc3074618060862e8a7debd9289afc

doc/src/ocp-indent.utils/compat.ml.html

Source file compat.ml

1
2
3
4
5
6
7
8
9
10
11
external ( @* ) : ('a -> 'b) -> 'a -> 'b = "%apply"
external ( |> ) : 'a -> ('a -> 'b) -> 'b = "%revapply"


module String = struct
  include String

  let is_space = function
    | ' ' | '\012' | '\n' | '\r' | '\t' -> true
    | _ -> false
end
OCaml

Innovation. Community. Security.