merlin-lib.ocaml_utils
Simple._
merlin-lib.analysis
merlin-lib.commands
merlin-lib.config
merlin-lib.dot_protocol
merlin-lib.extend
merlin-lib.kernel
merlin-lib.ocaml_compression
merlin-lib.ocaml_merlin_specific
merlin-lib.ocaml_parsing
merlin-lib.ocaml_preprocess
merlin-lib.ocaml_typing
merlin-lib.os_ipc
merlin-lib.query_commands
merlin-lib.query_protocol
merlin-lib.sherlodoc
merlin-lib.utils
val weight : change -> int
weight ch returns the weight of the change ch. Used to find the smallest patch.
weight ch
ch
val test : D.state -> D.left -> D.right -> (D.eq, D.diff) result
test st xl xr tests if the elements xl and xr are co mpatible (Ok) or not (Error).
test st xl xr
xl
xr
Ok
Error
val update : change -> D.state -> D.state
update ch st returns the new state after applying a change. The update_result type also contains expansions in the variadic case.
update ch st
update_result