| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Servant
Synopsis
- module Servant.Server
- module Servant.Server.StaticFiles
- data Proxy (t :: k) = Proxy
- throwError :: MonadError e m => e -> m a
Documentation
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).
For implementing servers for servant APIs.
module Servant.Server
Utilities on top of the servant core
module Servant.Server.StaticFiles
Useful re-exports
Constructors
| Proxy |
Instances
| Generic1 (Proxy :: k -> Type) | |
| Foldable (Proxy :: Type -> Type) | |
Defined in Data.Foldable Methods fold :: Monoid m => Proxy m -> m foldMap :: Monoid m => (a -> m) -> Proxy a -> m foldMap' :: Monoid m => (a -> m) -> Proxy a -> m foldr :: (a -> b -> b) -> b -> Proxy a -> b foldr' :: (a -> b -> b) -> b -> Proxy a -> b foldl :: (b -> a -> b) -> b -> Proxy a -> b foldl' :: (b -> a -> b) -> b -> Proxy a -> b foldr1 :: (a -> a -> a) -> Proxy a -> a foldl1 :: (a -> a -> a) -> Proxy a -> a elem :: Eq a => a -> Proxy a -> Bool maximum :: Ord a => Proxy a -> a | |
| Traversable (Proxy :: Type -> Type) | |
| Alternative (Proxy :: Type -> Type) | |
| Applicative (Proxy :: Type -> Type) | |
| Functor (Proxy :: Type -> Type) | |
| Monad (Proxy :: Type -> Type) | |
| MonadPlus (Proxy :: Type -> Type) | |
| NFData1 (Proxy :: Type -> Type) | |
Defined in Control.DeepSeq | |
| Hashable1 (Proxy :: Type -> Type) | |
Defined in Data.Hashable.Class Methods liftHashWithSalt :: (Int -> a -> Int) -> Int -> Proxy a -> Int | |
| Monoid (Proxy s) | |
| Semigroup (Proxy s) | |
| Bounded (Proxy t) | |
Defined in Data.Proxy | |
| Enum (Proxy s) | |
Defined in Data.Proxy | |
| Generic (Proxy t) | |
| Ix (Proxy s) | |
| Read (Proxy t) | |
Defined in Data.Proxy | |
| Show (Proxy s) | |
| NFData (Proxy a) | |
Defined in Control.DeepSeq | |
| Eq (Proxy s) | |
| Ord (Proxy s) | |
| Hashable (Proxy a) | |
Defined in Data.Hashable.Class | |
| type Rep1 (Proxy :: k -> Type) | |
Defined in GHC.Generics type Rep1 (Proxy :: k -> Type) = D1 ('MetaData "Proxy" "Data.Proxy" "base" 'False) (C1 ('MetaCons "Proxy" 'PrefixI 'False) (U1 :: k -> Type)) | |
| type Rep (Proxy t) | |
Defined in GHC.Generics type Rep (Proxy t) = D1 ('MetaData "Proxy" "Data.Proxy" "base" 'False) (C1 ('MetaCons "Proxy" 'PrefixI 'False) (U1 :: Type -> Type)) | |
throwError :: MonadError e m => e -> m a #