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
Sourcemodule Glob : 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