package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.9.tbz
sha256=de395dd37d246e3ec303e1af35ff8421665fa4f0f0005d95732124b22e3417ac
sha512=74756b28767cdfe10288720540582e818a9d946dd2406606724ebc7b68d1cf6623142e56a1e457f7862839732e7add365aec056930c7ac89be7036c22e5f29ae

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