package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.8.1-505.tbz
sha256=b8fb32bc0fc092af2fd6bdc831cb966057f2e3fd7b99a172b705e96ba8082583
sha512=01ca96f8167d062ba24036e43f650ff958fb157d44867bd52eb7999b7d19bf9fc97cdcd46c04b6979f0e1149d5041047723eed5913b03c4404d7acb116183bee

doc/merlin-lib.utils/Merlin_utils/Std/index.html

Module Merlin_utils.StdSource

Sourcetype json = [
  1. | `Assoc of (string * json) list
  2. | `Bool of bool
  3. | `Float of float
  4. | `Int of int
  5. | `List of json list
  6. | `Null
  7. | `String of string
]
Sourcemodule Json : sig ... end
Sourcemodule Hashtbl : sig ... end
Sourcemodule List : sig ... end
Sourcemodule Option : sig ... end
Sourcemodule Result : sig ... end
Sourcemodule String : sig ... end
Sourceval sprintf : ('a, unit, string) format -> 'a
Sourcemodule Format : sig ... end
Sourcemodule Lexing : sig ... end
Sourcemodule Char : sig ... end
Sourceval fprintf : Format.formatter -> ('a, Format.formatter, unit) format -> 'a
Sourceval lazy_eq : 'a Lazy.t -> 'a Lazy.t -> bool
Sourceval let_ref : 'a ref -> 'a -> (unit -> 'b) -> 'b
Sourceval failwithf : ('a, unit, string, 'b) format4 -> 'a
Sourcemodule Shell : sig ... end
Sourcemodule System : sig ... end
Sourceval modules_in_path : ext:string -> string list -> string list
Sourceval file_contents : string -> string
Sourceval reraise : exn -> 'a
Sourcetype 'a with_workdir = {
  1. workdir : string;
  2. workval : 'a;
}

Some value that must be interpreted with respect to a specific work directory. (e.g. for resolving relative paths or executing sub-commands

Sourceval dump_with_workdir : ('a -> json) -> 'a with_workdir -> json
Sourceval time_spent : unit -> float
Sourceval unitname : string -> string