servant/servant-server/src/Servant.hs

23 lines
688 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.Links,
module Servant.Server.StaticFiles,
2014-12-10 16:10:57 +01:00
-- | Useful re-exports
Proxy(..),
throwError
2014-12-10 16:10:57 +01:00
) where
2018-06-29 21:08:26 +02:00
import Control.Monad.Error.Class
(throwError)
import Data.Proxy
import Servant.API
import Servant.Links
2018-06-29 21:08:26 +02:00
import Servant.Server
import Servant.Server.StaticFiles