package ocp-index

  1. Overview
  2. Docs
Lightweight completion and documentation browsing for OCaml libraries

Install

Dune Dependency

Authors

Maintainers

Sources

1.3.7.tar.gz
md5=8ba7ad0ff42d98e82c1359f97b98a692
sha512=54a5aad2b99126fe14e7e9c98184e58b497cbc0e5e4ac064ebaca2bec750fc5800d97edbff4cde0a323d63cd7a5e5d9942cf05467d3149fe6e3bbf03f5fe3025

doc/ocp-index.lib/IndexMisc/index.html

Module IndexMiscSource

Sourceval debug_enabled : bool
Sourceval debug : ('a, out_channel, unit) format -> 'a
Sourceval timer : unit -> unit -> float
Sourceval foldl_next : ('acc -> 'a -> 'a option -> 'acc) -> 'acc -> 'a list -> 'acc

Similar to List.fold_left but with 1 step look-ahead

Sourceval string_split : char -> string -> string list
Sourcetype key = char list
Sourceval dot : char
Sourceval dots : string
Sourceval string_to_key : string -> key

Used to get the keys (or paths) in the trie

Sourceval key_to_string : key -> string
Sourceval modpath_to_key : ?enddot:bool -> string list -> key
Sourceval key_to_modpath : key -> string list
Sourceval modpath_to_string : string list -> string
Sourceval parent_type : IndexTypes.info -> IndexTypes.info option

Returns the parent type for field records, variants and methods

Sourceval unique_subdirs : ?skip:(string -> bool) -> string list -> string list
Sourceval project_root : ?path:string -> unit -> string option * string option
Sourceval find_build_dir : string -> string option
Sourceval make_relative : ?path:string -> string -> string

Shorten file by making it relative to current path (default cwd)

Sourceval capitalize : string -> string

String.capitalize_ascii, but compatibile across OCaml versions

Sourceval lowercase : string -> string

String.lowercase_ascii, but compatibile across OCaml versions

Sourceval file_extension : string -> string

Returns whatever is after the last '.' in the string, "" otherwise.

OCaml

Innovation. Community. Security.