package odoc

  1. Overview
  2. Docs
OCaml documentation generator

Install

dune-project
 Dependency

Authors

Maintainers

Sources

odoc-2.1.1.tbz
sha256=f574dbd28cd0fc3a2b95525c4bb95ddf6d1f6408bb4fe12157fa537884f987fd
sha512=1c545c281a7022a167f028fff8cec6fb3f2f82da0881431be74e7a4281c5353ed83bfbdb4d9d9e08af6755dbe3505c052c5e5b58cdeb08c57aed5e89c0f15e91

doc/odoc.xref_test/Odoc_xref_test/Common/LangUtils/Lens/index.html

Module LangUtils.LensSource

Sourcetype ('a, 'b) lens = {
  1. get : 'a -> 'b;
  2. set : 'b -> 'a -> 'a;
}
Sourcetype ('a, 'b) prism = {
  1. preview : 'a -> 'b option;
  2. review : 'b -> 'a;
}
Sourceval option : ('a option, 'a) prism
Sourceval compose : ('a, 'b) lens -> ('b, 'c) lens -> ('a, 'c) lens
Sourceval compose_prism : ('a, 'b) lens -> ('b, 'c) prism -> ('a, 'c) lens
Sourceval fst : ('a * 'b, 'a) lens
Sourceval snd : ('a * 'b, 'b) lens
Sourceval hd : ('a list, 'a) prism
Sourceval nth : int -> ('a list, 'a) prism
Sourceval (|--) : ('a, 'b) lens -> ('b, 'c) lens -> ('a, 'c) lens
Sourceval (|-~) : ('a, 'b) lens -> ('b, 'c) prism -> ('a, 'c) lens
Sourceval get : ('a, 'b) lens -> 'a -> 'b
Sourceval set : ('a, 'b) lens -> 'b -> 'a -> 'a
Sourceval name_of_id : [< Odoc_model.Paths.Identifier.t ] -> string
Sourcemodule Signature : sig ... end
Sourcemodule Module : sig ... end
Sourcemodule Include : sig ... end
Sourcemodule ModuleType : sig ... end
Sourcemodule FunctorParameter : sig ... end
Sourcemodule TypeDecl : sig ... end
Sourcemodule TypeExpr : sig ... end