tdlib-types-0.4.0: Types and Functions generated from tdlib api spec
Safe HaskellNone
LanguageHaskell2010

TDLib.Types.Common

Synopsis

Documentation

data a b Source #

Tagged union that parses to either a or b

Constructors

Inl a 
Inr b 

Instances

Instances details
(Eq a, Eq b) => Eq (a b) Source # 
Instance details

Defined in TDLib.Types.Common

Methods

(==) :: (a b) -> (a b) -> Bool #

(/=) :: (a b) -> (a b) -> Bool #

(Show a, Show b) => Show (a b) Source # 
Instance details

Defined in TDLib.Types.Common

Methods

showsPrec :: Int -> (a b) -> ShowS #

show :: (a b) -> String #

showList :: [a b] -> ShowS #

(FromJSON a, FromJSON b) => FromJSON (a b) Source # 
Instance details

Defined in TDLib.Types.Common

Methods

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

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

data Verbosity Source #

Logging verbosity

Constructors

Fatal 
Error 
Warning 
Info 
Debug 
Verbose