package ocamlformat-mlx-lib
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=4557bcca3d2bd2b6d37b046a84a82a1bed83e46e45e363c0b209d30d70c0ec77
sha512=2802651c733bf3535ce9d2e4e533729da75b17e9507d911f4d79d1a68f35ddfb82db1daf8815a46d57a9937dea5b5466d523739c217ace0e446738208037ec2d
doc/ocamlformat-mlx-lib.ocamlformat_stdlib/Ocamlformat_stdlib/index.html
Module Ocamlformat_stdlib
Source
include module type of Base
include module type of struct include Export end
val hash_fold_list :
'a. (Base.Hash.state -> 'a -> Base.Hash.state) ->
Base.Hash.state ->
'a list ->
Base.Hash.state
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
Continue_or_stop.t
is used by the f
argument to fold_until
in order to indicate whether folding should continue, or stop early.
include module type of Stdio
Same as In_channel.stdin
Same as Out_channel.stdout
Same as Out_channel.stderr
Same as Out_channel.printf
Same as Out_channel.print_s
Same as Out_channel.eprint_s
Same as Out_channel.eprintf
Same as Out_channel.print_string
Same as Out_channel.print_endline
Same as Out_channel.prerr_endline
Composition of functions: (f >> g) x
is exactly equivalent to g (f (x))
. Left associative.
Asserting identity: check f x
asserts that f x
does not raise and returns x
.