| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Haskell.TH.Natural.Syntax.Expr.Typed.Builder
Contents
Synopsis
- newtype TypedExprBuilder s (prevArgs :: [Type]) (args :: [Type]) (res :: k) a = MkTEB {
- unTEB :: ConstBuilder s a
- unsafeUntyped :: forall {k1} {k2} s (step :: k1) (step1 :: k1) a (args0 :: [Type]) (args :: [Type]) (res :: k2). Builder s step step1 a -> TypedExprBuilder s args0 args res a
- data Returns a
- type family (args :: [a]) :> (arg :: a) :: [a] where ...
- type family (args0 :: [a]) :++: (args1 :: [a]) :: [a] where ...
- type family (args :: [Type]) :~> res where ...
Documentation
newtype TypedExprBuilder s (prevArgs :: [Type]) (args :: [Type]) (res :: k) a Source #
Constructors
| MkTEB | |
Fields
| |
unsafeUntyped :: forall {k1} {k2} s (step :: k1) (step1 :: k1) a (args0 :: [Type]) (args :: [Type]) (res :: k2). Builder s step step1 a -> TypedExprBuilder s args0 args res a Source #
Util type families
type family (args :: [a]) :> (arg :: a) :: [a] where ... Source #
Adds an argument at the end of an args list (snoc)