package vcaml
OCaml bindings for the Neovim API
Install
Dune Dependency
Authors
Maintainers
Sources
vcaml-v0.15.0.tar.gz
sha256=0dbf2526a24d838988ae9a327550fdd9f0328dbdca9d026430fb4b579e0e0442
doc/vcaml.msgpack/Msgpack/index.html
Module Msgpack
Source
Parser and Serializer for Msgpack data. https://github.com/msgpack/msgpack/blob/master/spec.md
Source
type t =
| Nil
| Integer of Base.int
| Int64 of Base.Int64.t
| UInt64 of Base.Int64.t
| Boolean of Base.bool
| Floating of Base.float
| Array of t Base.list
| Map of (t * t) Base.list
| String of Base.string
| Binary of Base.Bytes.t
| Extension of Custom.t
include Base.Comparable.S with type t := t
include Base.Comparisons.S with type t := t
compare t1 t2
returns 0 if t1
is equal to t2
, a negative integer if t1
is less than t2
, and a positive integer if t1
is greater than t2
.
ascending
is identical to compare
. descending x y = ascending y x
. These are intended to be mnemonic when used like List.sort ~compare:ascending
and List.sort ~cmp:descending
, since they cause the list to be sorted in ascending or descending order, respectively.
clamp_exn t ~min ~max
returns t'
, the closest value to t
such that between t' ~low:min ~high:max
is true.
Raises if not (min <= max)
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>