hs-abci-test-utils-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Tendermint.Utils.Events

Documentation

class GFromEvent f where Source #

Methods

gfromEventData :: Event -> Either Text (f p) Source #

Instances

Instances details
(GFromNamedEventPrimatives f, Datatype d) => GFromEvent (D1 d f) Source # 
Instance details

Defined in Tendermint.Utils.Events

Methods

gfromEventData :: Event -> Either Text (D1 d f p) Source #

class ToEvent e => FromEvent e where Source #

Minimal complete definition

Nothing

Methods

fromEvent :: Event -> Either Text e Source #

default fromEvent :: (Generic e, GFromEvent (Rep e)) => Event -> Either Text e Source #