Portability | see LANGUAGE pragmas (... GHC) |
---|---|
Stability | experimental |
Maintainer | nicolas.frisby@gmail.com |
Safe Haskell | Safe-Infered |
Kinds for the spine-view on types.
- parameterKinds :: [Kind]
- maxParameters :: Int
- allKinds :: [Kind]
- badParseK :: Monad m => [Char] -> m a
- parseK_ :: Monad m => String -> m Kind
- trim :: [Char] -> [Char]
- parseK :: Monad m => String -> m (Kind, String)
- stringK :: Kind -> [Char]
- nameK :: Kind -> Name
- typeK :: Kind -> TypeQ
- declareK :: Kind -> Q [Dec]
- qK :: QuasiQuoter
- generateK :: (Eq a, Num a) => [Kind] -> a -> [Kind]
- forallAppsK :: (Kind -> Kind -> Q a) -> Q [a]
Documentation
parameterKinds :: [Kind]Source
The set of kinds that this library will initially support as type parameters.
The default number of parameters that this library will initially support.
[qK|...|]
is either the declaration of a type that takes one parameter
of the corresponding kind, or an occurrence of that type constructor. (The
name is an encoding of that parameter's kind based on prefix notation for
application.)