servant/servant-server/src/Servant.hs

22 lines
681 B
Haskell
Raw Normal View History

2014-12-10 16:10:57 +01:00
module Servant (
-- | This module and its submodules can be used to define servant APIs. Note
-- that these API definitions don't directly implement a server (or anything
-- else).
module Servant.API,
-- | For implementing servers for servant APIs.
module Servant.Server,
-- | Utilities on top of the servant core
module Servant.Utils.Links,
module Servant.Utils.StaticFiles,
-- | Useful re-exports
Proxy(..),
throwError
2014-12-10 16:10:57 +01:00
) where
import Control.Monad.Error.Class (throwError)
import Data.Proxy
import Servant.API
import Servant.Server
import Servant.Utils.Links
import Servant.Utils.StaticFiles