gnutls-0.2: Bindings for GNU libgnutls

Safe HaskellNone
LanguageHaskell98

Network.Protocol.TLS.GNU

Contents

Synopsis

Documentation

data TLS a Source #

Instances
Monad TLS Source # 
Instance details

Defined in Network.Protocol.TLS.GNU

Methods

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

(>>) :: TLS a -> TLS b -> TLS b #

return :: a -> TLS a #

fail :: String -> TLS a #

Functor TLS Source # 
Instance details

Defined in Network.Protocol.TLS.GNU

Methods

fmap :: (a -> b) -> TLS a -> TLS b #

(<$) :: a -> TLS b -> TLS a #

Applicative TLS Source # 
Instance details

Defined in Network.Protocol.TLS.GNU

Methods

pure :: a -> TLS a #

(<*>) :: TLS (a -> b) -> TLS a -> TLS b #

liftA2 :: (a -> b -> c) -> TLS a -> TLS b -> TLS c #

(*>) :: TLS a -> TLS b -> TLS b #

(<*) :: TLS a -> TLS b -> TLS a #

MonadIO TLS Source # 
Instance details

Defined in Network.Protocol.TLS.GNU

Methods

liftIO :: IO a -> TLS a #

MonadError TLS Source # 
Instance details

Defined in Network.Protocol.TLS.GNU

Associated Types

type ErrorType TLS :: * #

Methods

throwError :: ErrorType TLS -> TLS a #

catchError :: TLS a -> (ErrorType TLS -> TLS a) -> TLS a #

type ErrorType TLS Source # 
Instance details

Defined in Network.Protocol.TLS.GNU

data Error Source #

Constructors

Error Integer 
Instances
Show Error Source # 
Instance details

Defined in Network.Protocol.TLS.GNU

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

Settings