Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 isRequired :: Bool Source # |
Instances
IsRequired Optional Source # | |
Defined in Web.Minion.Args.Internal isRequired :: Bool Source # |
class IsRequired a where Source #
isRequired :: Bool Source #
Instances
IsRequired Optional Source # | |
Defined in Web.Minion.Args.Internal isRequired :: Bool Source # | |
IsRequired Required Source # | |
Defined in Web.Minion.Args.Internal isRequired :: Bool Source # |
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 type DelayedArgs (WithReq m r ': as) :: [Type] Source # 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 #
WithHeader (m (Arg presence parsing a)) |
Instances
Monad m => Hidden m (WithHeader a b m a) Source # | |
Defined in Web.Minion.Args.Internal runHidden :: Hide (WithHeader a b m a) -> m () Source # | |
RunDelayed as m => RunDelayed (WithHeader required lenient m a ': as) m Source # | |
Defined in Web.Minion.Args.Internal type DelayedArgs (WithHeader required lenient m a ': as) :: [Type] Source # 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 |
Instances
Monad m => Hidden m (WithPiece a) Source # | |
RunDelayed as m => RunDelayed (WithPiece a ': as) m Source # | |
Defined in Web.Minion.Args.Internal type DelayedArgs (WithPiece a ': as) :: [Type] Source # 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 #
WithPieces [a] |
Instances
Monad m => Hidden m (WithPieces a) Source # | |
Defined in Web.Minion.Args.Internal runHidden :: Hide (WithPieces a) -> m () Source # | |
RunDelayed as m => RunDelayed (WithPieces a ': as) m Source # | |
Defined in Web.Minion.Args.Internal type DelayedArgs (WithPieces a ': as) :: [Type] Source # 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 #
WithQueryParam (m (Arg presence parsing a)) |
Instances
Monad m => Hidden m (WithQueryParam a b m a) Source # | |
Defined in Web.Minion.Args.Internal runHidden :: Hide (WithQueryParam a b m a) -> m () Source # | |
RunDelayed as m => RunDelayed (WithQueryParam required lenient m a ': as) m Source # | |
Defined in Web.Minion.Args.Internal type DelayedArgs (WithQueryParam required lenient m a ': as) :: [Type] Source # 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 |
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 type DelayedArgs (Hide a ': as) :: [Type] Source # 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 type HListTypes (as :+ a) :: [Type] Source # revHListToList :: RHList (as :+ a) -> HList (HListTypes (as :+ a)) Source # | |
type HListTypes (as :+ a) Source # | |
Defined in Web.Minion.Args.Internal |