Stability | experimental |
---|---|
Maintainer | woozletoff@gmail.com |
Safe Haskell | None |
- class NvimObject o where
- toObject :: o -> Object
- fromObjectUnsafe :: Object -> o
- fromObject :: NvimObject o => Object -> Either Doc o
- type Dictionary = Map ByteString Object
- (+:) :: NvimObject o => o -> [Object] -> [Object]
- module Data.Int
- module Data.Word
Documentation
class NvimObject o whereSource
Conversion from Object
files to Haskell types and back with respect
to neovim's interpretation.
fromObjectUnsafe :: Object -> oSource
fromObject :: NvimObject o => Object -> Either Doc oSource
type Dictionary = Map ByteString ObjectSource
A generic vim dictionary is a simply a map from strings to objects. This type alias is sometimes useful as a type annotation especially if the OverloadedStrings extension is enabled.
(+:) :: NvimObject o => o -> [Object] -> [Object]Source
Convenient operator to create a list of Object
from normal values.
module Data.Int
module Data.Word