package coq-lsp

  1. Overview
  2. Docs
Language Server Protocol native server for Coq

Install

dune-project
 Dependency

Authors

Maintainers

Sources

coq-lsp-0.2.5+9.1.tbz
sha256=488520e2720cd0601a623be39ff87223d81ca1d2f81c77641f803fda21f3717e
sha512=146e43a6a9c516f4e7fe143d4fdf3e1e7ecdcd73ea5cc3e09b2886f68aa05210c016e905bf1596341faa0b55709ad530ef86212c92790b6dce6050a0a00e3325

doc/coq-lsp.lang/Lang/Compat/List/index.html

Module Compat.ListSource

Sourcetype 'a eq = 'a -> 'a -> bool
Sourceval is_empty : 'a list -> bool

Introduced in 5.1

Sourceval insert : 'a eq -> 'a -> 'a list -> 'a list

Insert at the (first) position so that if the list is ordered wrt to the total order given as argument, the order is preserved

Sourceval remove : 'a eq -> 'a -> 'a list -> 'a list

remove eq a l Remove all occurrences of a in l

Sourceval count : ('a -> bool) -> 'a list -> int

Count the number of elements satisfying a predicate

Sourceval prefix_of : 'a eq -> 'a list eq

prefix_of eq l1 l2 returns true if l1 is a prefix of l2, false otherwise. It uses eq to compare elements