clplug-0.1.0.0: Create Core Lightning Plugins
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Conduit

Documentation

data ParseResult x Source #

Constructors

Correct !x 
InvalidReq 
ParseErr 

Instances

Instances details
FromJSON a => FromJSON (ParseResult a) Source # 
Instance details

Defined in Control.Conduit

ToJSON a => ToJSON (ParseResult a) Source # 
Instance details

Defined in Control.Conduit

Generic (ParseResult x) Source # 
Instance details

Defined in Control.Conduit

Associated Types

type Rep (ParseResult x) :: Type -> Type #

Methods

from :: ParseResult x -> Rep (ParseResult x) x0 #

to :: Rep (ParseResult x) x0 -> ParseResult x #

Show x => Show (ParseResult x) Source # 
Instance details

Defined in Control.Conduit

type Rep (ParseResult x) Source # 
Instance details

Defined in Control.Conduit

type Rep (ParseResult x) = D1 ('MetaData "ParseResult" "Control.Conduit" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "Correct" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 x)) :+: (C1 ('MetaCons "InvalidReq" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ParseErr" 'PrefixI 'False) (U1 :: Type -> Type)))

data Res a Source #

Constructors

Res 

Fields

Derp 

Fields

Instances

Instances details
FromJSON a => FromJSON (Res a) Source # 
Instance details

Defined in Control.Conduit

Methods

parseJSON :: Value -> Parser (Res a) #

parseJSONList :: Value -> Parser [Res a] #

ToJSON (Res Value) Source # 
Instance details

Defined in Control.Conduit

Generic (Res a) Source # 
Instance details

Defined in Control.Conduit

Associated Types

type Rep (Res a) :: Type -> Type #

Methods

from :: Res a -> Rep (Res a) x #

to :: Rep (Res a) x -> Res a #

Show a => Show (Res a) Source # 
Instance details

Defined in Control.Conduit

Methods

showsPrec :: Int -> Res a -> ShowS #

show :: Res a -> String #

showList :: [Res a] -> ShowS #

type Rep (Res a) Source # 
Instance details

Defined in Control.Conduit

type Rep (Res a) = D1 ('MetaData "Res" "Control.Conduit" "clplug-0.1.0.0-GnlVoCQX5IrAWjSbjtEVTV" 'False) (C1 ('MetaCons "Res" 'PrefixI 'True) (S1 ('MetaSel ('Just "getResBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "getResId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value)) :+: C1 ('MetaCons "Derp" 'PrefixI 'True) (S1 ('MetaSel ('Just "errMsg") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "errId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value))))

data Req x Source #

Constructors

Req 

Instances

Instances details
FromJSON (Req Value) Source # 
Instance details

Defined in Control.Conduit

ToJSON a => ToJSON (Req a) Source # 
Instance details

Defined in Control.Conduit

Methods

toJSON :: Req a -> Value #

toEncoding :: Req a -> Encoding #

toJSONList :: [Req a] -> Value #

toEncodingList :: [Req a] -> Encoding #

Show x => Show (Req x) Source # 
Instance details

Defined in Control.Conduit

Methods

showsPrec :: Int -> Req x -> ShowS #

show :: Req x -> String #

showList :: [Req x] -> ShowS #