package ocp-indent

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.8.1.tar.gz
md5=70db6649a8c08a682ad63730c9752e31
sha512=565353de333dd44375366fff75e85a6256c3cd9ff52b3db79803141f975e77cda04dfe32f5e0f2d4c82c59be8f04e9c2bf4d066b113b2cdf267f4c3dcfa401da

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.