nvim-hs-0.0.2: Haskell plugin backend for neovim

Copyright(c) Sebastian Witte
LicenseApache-2.0
Maintainerwoozletoff@gmail.com
Stabilityexperimental
PortabilityGHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

Neovim.Plugin.IPC.Classes

Description

 

Synopsis

Documentation

data SomeMessage Source

Taken from xmonad and based on ideas in /An Extensible Dynamically-Typed Hierarchy of Exceptions/, Simon Marlow, 2006.

User-extensible messages must be put into a value of this type, so that it can be sent to other plugins.

Constructors

forall msg . Message msg => SomeMessage msg 

class Typeable message => Message message where Source

Minimal complete definition

Nothing

Methods

fromMessage :: SomeMessage -> Maybe message Source

Try to convert a given message to a value of the message type we are interested in. Will evaluate to Nothing for any other type.