package vcaml
OCaml bindings for the Neovim API
Install
Dune Dependency
Authors
Maintainers
Sources
vcaml-v0.16.0.tar.gz
sha256=dd123302c46af7ca6eda8a7806c78236fd217a8c73a2e1cd7da85f1d69ed1ae4
doc/vcaml.nvim_internal/Nvim_internal/Phantom/index.html
Module Nvim_internal.Phantom
Source
Source
type _ t =
| Nil : unit t
| Integer : int t
| Boolean : bool t
| Float : float t
| Array : 'a t -> 'a list t
| Tuple : 'a t * int -> 'a list t
| Dict : (Msgpack.t * Msgpack.t) list t
| String : string t
| Buffer : Buffer.t t
| Window : Window.t t
| Tabpage : Tabpage.t t
| Luaref : Luaref.t t
| Object : Msgpack.t t
| Custom : (module Msgpack.Msgpackable with type t = 'a) -> 'a t
For use in pattern matching. For example, if you have a 'a Phantom.t * 'a
, if a pattern match on the phantom succeeds on Integer
, then 'a
unifies with int
. Use Custom
for serialization & deserialization of custom types.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>