package ocamlformat-lib
Auto-formatter for OCaml code
Install
Dune Dependency
github.com
Readme
Changelog
MIT; LGPL-2.1-only WITH OCaml-LGPL-linking-exception License
Edit opam file
Versions (5)
Authors
Maintainers
Sources
ocamlformat-0.25.1.tbz
sha256=dc8f2a330ca3930b36cacb2623bb360ed8bdf6e4a8acd293dbd9e2241a6fd33d
sha512=b28f545425fb5375447c90022d065dc7fd51ed2f66d8c1f65a71a6ad2465d039a8686e8f18249e5ad3a2362fee6149c855ef30eb45fb9d06d743a53d26b3e26f
doc/ocamlformat-lib.ocamlformat_stdlib/Ocamlformat_stdlib/Export/index.html
Module Ocamlformat_stdlib.Export
Source
Source
val hash_fold_list :
'a. (Base.Hash.state -> 'a -> Base.Hash.state) ->
Base.Hash.state ->
'a list ->
Base.Hash.state
Source
val hash_fold_option :
'a. (Base.Hash.state -> 'a -> Base.Hash.state) ->
Base.Hash.state ->
'a option ->
Base.Hash.state
Format stuff
List operators
include module type of struct include Base.List.Infix end
Int operators and comparisons
Float operators
Reverse application operator. x |> g |> f
is equivalent to f (g (x))
.
Application operator. g @@ f @@ x
is equivalent to g (f (x))
.
Boolean operations
Common string operations
Reference operations
Pair operations
Exceptions stuff
Misc
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>