package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-4.19-414.tbz
sha256=60a630f59203a9ce7047a5f04d0f239945960dac6f38102922e328b6d2657384
sha512=19f8ec152356873e29c05b971a529146bb7079929037c2b35a5c0afb0b3adf662341ee8527282c5fdd16de391d01c2c469fc8629af9e0ae443fa9f42472b70bb

doc/merlin-lib.commands/Merlin_commands/New_commands/index.html

Module Merlin_commands.New_commandsSource

Sourcetype command =
  1. | Command : string * Merlin_utils.Marg.docstring * ([ `Mandatory | `Optional | `Many ] * 'args Merlin_utils.Marg.spec) list * 'args * (Merlin_kernel.Mpipeline.t -> 'args -> Merlin_utils.Std.json) -> command
Sourceval all_commands : command list
Sourceval find_command : string -> command list -> command

find_command name cmds returns the command with name name in the list cmds if it exists. Raises Not_found if it does not.

Sourceval find_command_opt : string -> command list -> command option

find_command name cmds optionaly returns the command with name name if it is in the list cmds.

OCaml

Innovation. Community. Security.