web3-0.9.1.0: Web3 API for Haskell.

CopyrightAlexander Krupenkin 2016
LicenseBSD3
Maintainermail@akru.me
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Network.Ipfs.Client

Description

IPFS daemon HTTP client.

Synopsis

Documentation

newtype IpfsT m a Source #

Constructors

IpfsT 
Instances
MonadTrans IpfsT Source # 
Instance details

Defined in Network.Ipfs.Client

Methods

lift :: Monad m => m a -> IpfsT m a #

Monad m => MonadError ClientError (IpfsT m) Source # 
Instance details

Defined in Network.Ipfs.Client

Methods

throwError :: ClientError -> IpfsT m a #

catchError :: IpfsT m a -> (ClientError -> IpfsT m a) -> IpfsT m a #

Monad m => Monad (IpfsT m) Source # 
Instance details

Defined in Network.Ipfs.Client

Methods

(>>=) :: IpfsT m a -> (a -> IpfsT m b) -> IpfsT m b #

(>>) :: IpfsT m a -> IpfsT m b -> IpfsT m b #

return :: a -> IpfsT m a #

fail :: String -> IpfsT m a #

Functor m => Functor (IpfsT m) Source # 
Instance details

Defined in Network.Ipfs.Client

Methods

fmap :: (a -> b) -> IpfsT m a -> IpfsT m b #

(<$) :: a -> IpfsT m b -> IpfsT m a #

Monad m => Applicative (IpfsT m) Source # 
Instance details

Defined in Network.Ipfs.Client

Methods

pure :: a -> IpfsT m a #

(<*>) :: IpfsT m (a -> b) -> IpfsT m a -> IpfsT m b #

liftA2 :: (a -> b -> c) -> IpfsT m a -> IpfsT m b -> IpfsT m c #

(*>) :: IpfsT m a -> IpfsT m b -> IpfsT m b #

(<*) :: IpfsT m a -> IpfsT m b -> IpfsT m a #

MonadIO m => MonadIO (IpfsT m) Source # 
Instance details

Defined in Network.Ipfs.Client

Methods

liftIO :: IO a -> IpfsT m a #

Monad m => MonadReader (Manager, BaseUrl, String) (IpfsT m) Source # 
Instance details

Defined in Network.Ipfs.Client

Methods

ask :: IpfsT m (Manager, BaseUrl, String) #

local :: ((Manager, BaseUrl, String) -> (Manager, BaseUrl, String)) -> IpfsT m a -> IpfsT m a #

reader :: ((Manager, BaseUrl, String) -> a) -> IpfsT m a #

type Ipfs a = IpfsT IO a Source #

runIpfs' :: BaseUrl -> Ipfs a -> IO () Source #

IpfsT monad runner.

runIpfs :: Ipfs a -> IO () Source #

IpfsT monad runner with default arguments.