| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Web.Minion.Args
Synopsis
- data Lenient e
- data Strict
- data Required
- data Optional
- class IsLenient a where
- class IsRequired a where
- isRequired :: Bool
- newtype WithReq m r = WithReq (m r)
- newtype WithHeader presence parsing m a = WithHeader (m (Arg presence parsing a))
- newtype WithPiece a = WithPiece a
- newtype WithPieces a = WithPieces [a]
- newtype WithQueryParam presence parsing m a = WithQueryParam (m (Arg presence parsing a))
- newtype Hide a = Hide a
- type family DelayedArgs ts :: [Type]
- type family ts ~> r :: Type
- type HandleArgs ts st m = (FunArgs (DelayedArgs st), RHListToHList ts, Reverse (HListTypes ts) st, RunDelayed st m, Monad m)
- data HList ts where
- data RHList ts where
- data (a :: Type) :+ (b :: Type)
- class GetByType t ts where
Documentation
Instances
| IsRequired Required Source # | |
Defined in Web.Minion.Args.Internal Methods isRequired :: Bool Source # | |
Instances
| IsRequired Optional Source # | |
Defined in Web.Minion.Args.Internal Methods isRequired :: Bool Source # | |
class IsRequired a where Source #
Methods
isRequired :: Bool Source #
Instances
| IsRequired Optional Source # | |
Defined in Web.Minion.Args.Internal Methods isRequired :: Bool Source # | |
| IsRequired Required Source # | |
Defined in Web.Minion.Args.Internal Methods isRequired :: Bool Source # | |
Constructors
| WithReq (m r) |
Instances
| Monad m => Hidden m (WithReq m a) Source # | |
| (RunDelayed as m, IsRequest r) => RunDelayed (WithReq m r ': as) m Source # | |
Defined in Web.Minion.Args.Internal Associated Types type DelayedArgs (WithReq m r ': as) :: [Type] Source # Methods runDelayed :: HList (WithReq m r ': as) -> m (HList (DelayedArgs (WithReq m r ': as))) Source # | |
| type DelayedArgs (WithReq m r ': as) Source # | |
Defined in Web.Minion.Args.Internal | |
newtype WithHeader presence parsing m a Source #
Constructors
| WithHeader (m (Arg presence parsing a)) |
Instances
| Monad m => Hidden m (WithHeader a b m v) Source # | |
Defined in Web.Minion.Args.Internal Methods runHidden :: Hide (WithHeader a b m v) -> m () Source # | |
| RunDelayed as m => RunDelayed (WithHeader required lenient m a ': as) m Source # | |
Defined in Web.Minion.Args.Internal Associated Types type DelayedArgs (WithHeader required lenient m a ': as) :: [Type] Source # Methods runDelayed :: HList (WithHeader required lenient m a ': as) -> m (HList (DelayedArgs (WithHeader required lenient m a ': as))) Source # | |
| type DelayedArgs (WithHeader required lenient m a ': as) Source # | |
Defined in Web.Minion.Args.Internal | |
Constructors
| WithPiece a |
Instances
| Monad m => Hidden m (WithPiece a) Source # | |
| RunDelayed as m => RunDelayed (WithPiece a ': as) m Source # | |
Defined in Web.Minion.Args.Internal Associated Types type DelayedArgs (WithPiece a ': as) :: [Type] Source # Methods runDelayed :: HList (WithPiece a ': as) -> m (HList (DelayedArgs (WithPiece a ': as))) Source # | |
| type DelayedArgs (WithPiece a ': as) Source # | |
Defined in Web.Minion.Args.Internal | |
newtype WithPieces a Source #
Constructors
| WithPieces [a] |
Instances
| Monad m => Hidden m (WithPieces a) Source # | |
Defined in Web.Minion.Args.Internal Methods runHidden :: Hide (WithPieces a) -> m () Source # | |
| RunDelayed as m => RunDelayed (WithPieces a ': as) m Source # | |
Defined in Web.Minion.Args.Internal Associated Types type DelayedArgs (WithPieces a ': as) :: [Type] Source # Methods runDelayed :: HList (WithPieces a ': as) -> m (HList (DelayedArgs (WithPieces a ': as))) Source # | |
| type DelayedArgs (WithPieces a ': as) Source # | |
Defined in Web.Minion.Args.Internal | |
newtype WithQueryParam presence parsing m a Source #
Constructors
| WithQueryParam (m (Arg presence parsing a)) |
Instances
| Monad m => Hidden m (WithQueryParam a b m v) Source # | |
Defined in Web.Minion.Args.Internal Methods runHidden :: Hide (WithQueryParam a b m v) -> m () Source # | |
| RunDelayed as m => RunDelayed (WithQueryParam required lenient m a ': as) m Source # | |
Defined in Web.Minion.Args.Internal Associated Types type DelayedArgs (WithQueryParam required lenient m a ': as) :: [Type] Source # Methods runDelayed :: HList (WithQueryParam required lenient m a ': as) -> m (HList (DelayedArgs (WithQueryParam required lenient m a ': as))) Source # | |
| type DelayedArgs (WithQueryParam required lenient m a ': as) Source # | |
Defined in Web.Minion.Args.Internal type DelayedArgs (WithQueryParam required lenient m a ': as) = Arg required lenient a ': DelayedArgs as | |
Constructors
| Hide a |
Instances
| Hidden m a => Hidden m (Hide a) Source # | |
| (RunDelayed as m, Hidden m a) => RunDelayed (Hide a ': as) m Source # | |
Defined in Web.Minion.Args.Internal Associated Types type DelayedArgs (Hide a ': as) :: [Type] Source # Methods runDelayed :: HList (Hide a ': as) -> m (HList (DelayedArgs (Hide a ': as))) Source # | |
| type DelayedArgs (Hide a ': as) Source # | |
Defined in Web.Minion.Args.Internal | |
type family DelayedArgs ts :: [Type] Source #
Instances
| type DelayedArgs ('[] :: [Type]) Source # | |
Defined in Web.Minion.Args.Internal | |
| type DelayedArgs (Hide a ': as) Source # | |
Defined in Web.Minion.Args.Internal | |
| type DelayedArgs (WithHeader required lenient m a ': as) Source # | |
Defined in Web.Minion.Args.Internal | |
| type DelayedArgs (WithPiece a ': as) Source # | |
Defined in Web.Minion.Args.Internal | |
| type DelayedArgs (WithPieces a ': as) Source # | |
Defined in Web.Minion.Args.Internal | |
| type DelayedArgs (WithQueryParam required lenient m a ': as) Source # | |
Defined in Web.Minion.Args.Internal type DelayedArgs (WithQueryParam required lenient m a ': as) = Arg required lenient a ': DelayedArgs as | |
| type DelayedArgs (WithReq m r ': as) Source # | |
Defined in Web.Minion.Args.Internal | |
type HandleArgs ts st m = (FunArgs (DelayedArgs st), RHListToHList ts, Reverse (HListTypes ts) st, RunDelayed st m, Monad m) Source #
Reversed HList
data (a :: Type) :+ (b :: Type) infixl 9 Source #
Instances
| (Show (RHList as), Show a) => Show (RHList (as :+ a)) Source # | |
| RHListToHList as => RHListToHList (as :+ a) Source # | |
Defined in Web.Minion.Args.Internal Associated Types type HListTypes (as :+ a) :: [Type] Source # Methods revHListToList :: RHList (as :+ a) -> HList (HListTypes (as :+ a)) Source # | |
| type HListTypes (as :+ a) Source # | |
Defined in Web.Minion.Args.Internal | |