Massive refactoring into smaller modules.
[haskell-cryptsy-api.git] / Cryptsy / API / Public / Monad.hs
blob7671163a1a72e7b85b156365b73b7c551780532e
1 module Cryptsy.API.Public.Monad where
3 -- HTTP
4 import Network.Browser (BrowserAction)
5 import Network.TCP (HandleStream)
7 -- bytestring
8 import Data.ByteString.Lazy (ByteString)
10 -- either
11 import Control.Monad.Trans.Either (EitherT)
13 -- this package
14 import Cryptsy.API.Public.Error
16 -- |request monad
17 type PubCryptsy = EitherT CryptsyError (BrowserAction (HandleStream ByteString))