| Copyright | (C) 2014 Jan Stolarek |
|---|---|
| License | BSD-style (see LICENSE) |
| Maintainer | Jan Stolarek (jan.stolarek@p.lodz.pl) |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Promotion.Prelude.Base
Description
Implements promoted functions from GHC.Base module.
Because many of these definitions are produced by Template Haskell,
it is not possible to create proper Haddock documentation. Please look
up the corresponding operation in Prelude. Also, please excuse
the apparent repeated variable names. This is due to an interaction
between Template Haskell and Haddock.
- type family Foldr (a :: TyFun a (TyFun b b -> Type) -> Type) (a :: b) (a :: [a]) :: b where ...
- type family Map (a :: TyFun a b -> Type) (a :: [a]) :: [b] where ...
- type family (a :: [a]) :++ (a :: [a]) :: [a] where ...
- type family Otherwise :: Bool where ...
- type family Id (a :: a) :: a where ...
- type family Const (a :: a) (a :: b) :: a where ...
- type family ((a :: TyFun b c -> Type) :. (a :: TyFun a b -> Type)) (a :: a) :: c where ...
- type family (f :: TyFun a b -> *) $ (x :: a) :: b
- type family (f :: TyFun a b -> *) $! (x :: a) :: b
- type family Flip (a :: TyFun a (TyFun b c -> Type) -> Type) (a :: b) (a :: a) :: c where ...
- type family Until (a :: TyFun a Bool -> Type) (a :: TyFun a a -> Type) (a :: a) :: a where ...
- type family AsTypeOf (a :: a) (a :: a) :: a where ...
- type family Seq (a :: a) (a :: b) :: b where ...
- data FoldrSym0 (l :: TyFun (TyFun a6989586621679289774 (TyFun b6989586621679289775 b6989586621679289775 -> Type) -> Type) (TyFun b6989586621679289775 (TyFun [a6989586621679289774] b6989586621679289775 -> Type) -> Type))
- data FoldrSym1 (l :: TyFun a6989586621679289774 (TyFun b6989586621679289775 b6989586621679289775 -> Type) -> Type) (l :: TyFun b6989586621679289775 (TyFun [a6989586621679289774] b6989586621679289775 -> Type))
- data FoldrSym2 (l :: TyFun a6989586621679289774 (TyFun b6989586621679289775 b6989586621679289775 -> Type) -> Type) (l :: b6989586621679289775) (l :: TyFun [a6989586621679289774] b6989586621679289775)
- type FoldrSym3 (t :: TyFun a6989586621679289774 (TyFun b6989586621679289775 b6989586621679289775 -> Type) -> Type) (t :: b6989586621679289775) (t :: [a6989586621679289774]) = Foldr t t t
- data MapSym0 (l :: TyFun (TyFun a6989586621679289772 b6989586621679289773 -> Type) (TyFun [a6989586621679289772] [b6989586621679289773] -> Type))
- data MapSym1 (l :: TyFun a6989586621679289772 b6989586621679289773 -> Type) (l :: TyFun [a6989586621679289772] [b6989586621679289773])
- type MapSym2 (t :: TyFun a6989586621679289772 b6989586621679289773 -> Type) (t :: [a6989586621679289772]) = Map t t
- data (:++$) (l :: TyFun [a6989586621679289771] (TyFun [a6989586621679289771] [a6989586621679289771] -> Type))
- data (l :: [a6989586621679289771]) :++$$ (l :: TyFun [a6989586621679289771] [a6989586621679289771])
- type (:++$$$) (t :: [a6989586621679289771]) (t :: [a6989586621679289771]) = (:++) t t
- type OtherwiseSym0 = Otherwise
- data IdSym0 (l :: TyFun a6989586621679289770 a6989586621679289770)
- type IdSym1 (t :: a6989586621679289770) = Id t
- data ConstSym0 (l :: TyFun a6989586621679289768 (TyFun b6989586621679289769 a6989586621679289768 -> Type))
- data ConstSym1 (l :: a6989586621679289768) (l :: TyFun b6989586621679289769 a6989586621679289768)
- type ConstSym2 (t :: a6989586621679289768) (t :: b6989586621679289769) = Const t t
- data (:.$) (l :: TyFun (TyFun b6989586621679289765 c6989586621679289766 -> Type) (TyFun (TyFun a6989586621679289767 b6989586621679289765 -> Type) (TyFun a6989586621679289767 c6989586621679289766 -> Type) -> Type))
- data (l :: TyFun b6989586621679289765 c6989586621679289766 -> Type) :.$$ (l :: TyFun (TyFun a6989586621679289767 b6989586621679289765 -> Type) (TyFun a6989586621679289767 c6989586621679289766 -> Type))
- data ((l :: TyFun b6989586621679289765 c6989586621679289766 -> Type) :.$$$ (l :: TyFun a6989586621679289767 b6989586621679289765 -> Type)) (l :: TyFun a6989586621679289767 c6989586621679289766)
- type (:.$$$$) (t :: TyFun b6989586621679289765 c6989586621679289766 -> Type) (t :: TyFun a6989586621679289767 b6989586621679289765 -> Type) (t :: a6989586621679289767) = (:.) t t t
- data ($$) :: TyFun (TyFun a b -> *) (TyFun a b -> *) -> *
- data ($$$) :: (TyFun a b -> *) -> TyFun a b -> *
- type ($$$$) a b = ($) a b
- data ($!$) :: TyFun (TyFun a b -> *) (TyFun a b -> *) -> *
- data ($!$$) :: (TyFun a b -> *) -> TyFun a b -> *
- type ($!$$$) a b = ($!) a b
- data FlipSym0 (l :: TyFun (TyFun a6989586621679289762 (TyFun b6989586621679289763 c6989586621679289764 -> Type) -> Type) (TyFun b6989586621679289763 (TyFun a6989586621679289762 c6989586621679289764 -> Type) -> Type))
- data FlipSym1 (l :: TyFun a6989586621679289762 (TyFun b6989586621679289763 c6989586621679289764 -> Type) -> Type) (l :: TyFun b6989586621679289763 (TyFun a6989586621679289762 c6989586621679289764 -> Type))
- data FlipSym2 (l :: TyFun a6989586621679289762 (TyFun b6989586621679289763 c6989586621679289764 -> Type) -> Type) (l :: b6989586621679289763) (l :: TyFun a6989586621679289762 c6989586621679289764)
- type FlipSym3 (t :: TyFun a6989586621679289762 (TyFun b6989586621679289763 c6989586621679289764 -> Type) -> Type) (t :: b6989586621679289763) (t :: a6989586621679289762) = Flip t t t
- data UntilSym0 (l :: TyFun (TyFun a6989586621679460078 Bool -> Type) (TyFun (TyFun a6989586621679460078 a6989586621679460078 -> Type) (TyFun a6989586621679460078 a6989586621679460078 -> Type) -> Type))
- data UntilSym1 (l :: TyFun a6989586621679460078 Bool -> Type) (l :: TyFun (TyFun a6989586621679460078 a6989586621679460078 -> Type) (TyFun a6989586621679460078 a6989586621679460078 -> Type))
- data UntilSym2 (l :: TyFun a6989586621679460078 Bool -> Type) (l :: TyFun a6989586621679460078 a6989586621679460078 -> Type) (l :: TyFun a6989586621679460078 a6989586621679460078)
- type UntilSym3 (t :: TyFun a6989586621679460078 Bool -> Type) (t :: TyFun a6989586621679460078 a6989586621679460078 -> Type) (t :: a6989586621679460078) = Until t t t
- data AsTypeOfSym0 (l :: TyFun a6989586621679289761 (TyFun a6989586621679289761 a6989586621679289761 -> Type))
- data AsTypeOfSym1 (l :: a6989586621679289761) (l :: TyFun a6989586621679289761 a6989586621679289761)
- type AsTypeOfSym2 (t :: a6989586621679289761) (t :: a6989586621679289761) = AsTypeOf t t
- data SeqSym0 (l :: TyFun a6989586621679289759 (TyFun b6989586621679289760 b6989586621679289760 -> Type))
- data SeqSym1 (l :: a6989586621679289759) (l :: TyFun b6989586621679289760 b6989586621679289760)
- type SeqSym2 (t :: a6989586621679289759) (t :: b6989586621679289760) = Seq t t
Promoted functions from GHC.Base
type family ((a :: TyFun b c -> Type) :. (a :: TyFun a b -> Type)) (a :: a) :: c where ... infixr 9 #
type family Seq (a :: a) (a :: b) :: b where ... infixr 0 #
Equations
| Seq _z_6989586621679289815 x = x |
Defunctionalization symbols
data FoldrSym0 (l :: TyFun (TyFun a6989586621679289774 (TyFun b6989586621679289775 b6989586621679289775 -> Type) -> Type) (TyFun b6989586621679289775 (TyFun [a6989586621679289774] b6989586621679289775 -> Type) -> Type)) #
Instances
| SuppressUnusedWarnings (TyFun (TyFun a6989586621679289774 (TyFun b6989586621679289775 b6989586621679289775 -> Type) -> Type) (TyFun b6989586621679289775 (TyFun [a6989586621679289774] b6989586621679289775 -> Type) -> Type) -> *) (FoldrSym0 a6989586621679289774 b6989586621679289775) # | |
| type Apply (TyFun a6989586621679289774 (TyFun b6989586621679289775 b6989586621679289775 -> Type) -> Type) (TyFun b6989586621679289775 (TyFun [a6989586621679289774] b6989586621679289775 -> Type) -> Type) (FoldrSym0 a6989586621679289774 b6989586621679289775) l # | |
data FoldrSym1 (l :: TyFun a6989586621679289774 (TyFun b6989586621679289775 b6989586621679289775 -> Type) -> Type) (l :: TyFun b6989586621679289775 (TyFun [a6989586621679289774] b6989586621679289775 -> Type)) #
Instances
| SuppressUnusedWarnings ((TyFun a6989586621679289774 (TyFun b6989586621679289775 b6989586621679289775 -> Type) -> Type) -> TyFun b6989586621679289775 (TyFun [a6989586621679289774] b6989586621679289775 -> Type) -> *) (FoldrSym1 a6989586621679289774 b6989586621679289775) # | |
| type Apply b6989586621679289775 (TyFun [a6989586621679289774] b6989586621679289775 -> Type) (FoldrSym1 a6989586621679289774 b6989586621679289775 l1) l2 # | |
data FoldrSym2 (l :: TyFun a6989586621679289774 (TyFun b6989586621679289775 b6989586621679289775 -> Type) -> Type) (l :: b6989586621679289775) (l :: TyFun [a6989586621679289774] b6989586621679289775) #
Instances
| SuppressUnusedWarnings ((TyFun a6989586621679289774 (TyFun b6989586621679289775 b6989586621679289775 -> Type) -> Type) -> b6989586621679289775 -> TyFun [a6989586621679289774] b6989586621679289775 -> *) (FoldrSym2 a6989586621679289774 b6989586621679289775) # | |
| type Apply [a] b (FoldrSym2 a b l1 l2) l3 # | |
type FoldrSym3 (t :: TyFun a6989586621679289774 (TyFun b6989586621679289775 b6989586621679289775 -> Type) -> Type) (t :: b6989586621679289775) (t :: [a6989586621679289774]) = Foldr t t t #
data MapSym0 (l :: TyFun (TyFun a6989586621679289772 b6989586621679289773 -> Type) (TyFun [a6989586621679289772] [b6989586621679289773] -> Type)) #
Instances
| SuppressUnusedWarnings (TyFun (TyFun a6989586621679289772 b6989586621679289773 -> Type) (TyFun [a6989586621679289772] [b6989586621679289773] -> Type) -> *) (MapSym0 a6989586621679289772 b6989586621679289773) # | |
| type Apply (TyFun a6989586621679289772 b6989586621679289773 -> Type) (TyFun [a6989586621679289772] [b6989586621679289773] -> Type) (MapSym0 a6989586621679289772 b6989586621679289773) l # | |
data MapSym1 (l :: TyFun a6989586621679289772 b6989586621679289773 -> Type) (l :: TyFun [a6989586621679289772] [b6989586621679289773]) #
type MapSym2 (t :: TyFun a6989586621679289772 b6989586621679289773 -> Type) (t :: [a6989586621679289772]) = Map t t #
data (:++$) (l :: TyFun [a6989586621679289771] (TyFun [a6989586621679289771] [a6989586621679289771] -> Type)) #
data (l :: [a6989586621679289771]) :++$$ (l :: TyFun [a6989586621679289771] [a6989586621679289771]) #
type OtherwiseSym0 = Otherwise #
data ConstSym0 (l :: TyFun a6989586621679289768 (TyFun b6989586621679289769 a6989586621679289768 -> Type)) #
Instances
| SuppressUnusedWarnings (TyFun a6989586621679289768 (TyFun b6989586621679289769 a6989586621679289768 -> Type) -> *) (ConstSym0 b6989586621679289769 a6989586621679289768) # | |
| type Apply a6989586621679289768 (TyFun b6989586621679289769 a6989586621679289768 -> Type) (ConstSym0 b6989586621679289769 a6989586621679289768) l # | |
data (:.$) (l :: TyFun (TyFun b6989586621679289765 c6989586621679289766 -> Type) (TyFun (TyFun a6989586621679289767 b6989586621679289765 -> Type) (TyFun a6989586621679289767 c6989586621679289766 -> Type) -> Type)) #
Instances
| SuppressUnusedWarnings (TyFun (TyFun b6989586621679289765 c6989586621679289766 -> Type) (TyFun (TyFun a6989586621679289767 b6989586621679289765 -> Type) (TyFun a6989586621679289767 c6989586621679289766 -> Type) -> Type) -> *) ((:.$) b6989586621679289765 a6989586621679289767 c6989586621679289766) # | |
| type Apply (TyFun b6989586621679289765 c6989586621679289766 -> Type) (TyFun (TyFun a6989586621679289767 b6989586621679289765 -> Type) (TyFun a6989586621679289767 c6989586621679289766 -> Type) -> Type) ((:.$) b6989586621679289765 a6989586621679289767 c6989586621679289766) l # | |
data (l :: TyFun b6989586621679289765 c6989586621679289766 -> Type) :.$$ (l :: TyFun (TyFun a6989586621679289767 b6989586621679289765 -> Type) (TyFun a6989586621679289767 c6989586621679289766 -> Type)) #
Instances
| SuppressUnusedWarnings ((TyFun b6989586621679289765 c6989586621679289766 -> Type) -> TyFun (TyFun a6989586621679289767 b6989586621679289765 -> Type) (TyFun a6989586621679289767 c6989586621679289766 -> Type) -> *) ((:.$$) b6989586621679289765 a6989586621679289767 c6989586621679289766) # | |
| type Apply (TyFun a6989586621679289767 b6989586621679289765 -> Type) (TyFun a6989586621679289767 c6989586621679289766 -> Type) ((:.$$) b6989586621679289765 a6989586621679289767 c6989586621679289766 l1) l2 # | |
data ((l :: TyFun b6989586621679289765 c6989586621679289766 -> Type) :.$$$ (l :: TyFun a6989586621679289767 b6989586621679289765 -> Type)) (l :: TyFun a6989586621679289767 c6989586621679289766) #
Instances
| SuppressUnusedWarnings ((TyFun b6989586621679289765 c6989586621679289766 -> Type) -> (TyFun a6989586621679289767 b6989586621679289765 -> Type) -> TyFun a6989586621679289767 c6989586621679289766 -> *) ((:.$$$) b6989586621679289765 a6989586621679289767 c6989586621679289766) # | |
| type Apply a c ((:.$$$) b a c l1 l2) l3 # | |
type (:.$$$$) (t :: TyFun b6989586621679289765 c6989586621679289766 -> Type) (t :: TyFun a6989586621679289767 b6989586621679289765 -> Type) (t :: a6989586621679289767) = (:.) t t t #
data FlipSym0 (l :: TyFun (TyFun a6989586621679289762 (TyFun b6989586621679289763 c6989586621679289764 -> Type) -> Type) (TyFun b6989586621679289763 (TyFun a6989586621679289762 c6989586621679289764 -> Type) -> Type)) #
Instances
| SuppressUnusedWarnings (TyFun (TyFun a6989586621679289762 (TyFun b6989586621679289763 c6989586621679289764 -> Type) -> Type) (TyFun b6989586621679289763 (TyFun a6989586621679289762 c6989586621679289764 -> Type) -> Type) -> *) (FlipSym0 b6989586621679289763 a6989586621679289762 c6989586621679289764) # | |
| type Apply (TyFun a6989586621679289762 (TyFun b6989586621679289763 c6989586621679289764 -> Type) -> Type) (TyFun b6989586621679289763 (TyFun a6989586621679289762 c6989586621679289764 -> Type) -> Type) (FlipSym0 b6989586621679289763 a6989586621679289762 c6989586621679289764) l # | |
data FlipSym1 (l :: TyFun a6989586621679289762 (TyFun b6989586621679289763 c6989586621679289764 -> Type) -> Type) (l :: TyFun b6989586621679289763 (TyFun a6989586621679289762 c6989586621679289764 -> Type)) #
Instances
| SuppressUnusedWarnings ((TyFun a6989586621679289762 (TyFun b6989586621679289763 c6989586621679289764 -> Type) -> Type) -> TyFun b6989586621679289763 (TyFun a6989586621679289762 c6989586621679289764 -> Type) -> *) (FlipSym1 b6989586621679289763 a6989586621679289762 c6989586621679289764) # | |
| type Apply b6989586621679289763 (TyFun a6989586621679289762 c6989586621679289764 -> Type) (FlipSym1 b6989586621679289763 a6989586621679289762 c6989586621679289764 l1) l2 # | |
data FlipSym2 (l :: TyFun a6989586621679289762 (TyFun b6989586621679289763 c6989586621679289764 -> Type) -> Type) (l :: b6989586621679289763) (l :: TyFun a6989586621679289762 c6989586621679289764) #
Instances
| SuppressUnusedWarnings ((TyFun a6989586621679289762 (TyFun b6989586621679289763 c6989586621679289764 -> Type) -> Type) -> b6989586621679289763 -> TyFun a6989586621679289762 c6989586621679289764 -> *) (FlipSym2 b6989586621679289763 a6989586621679289762 c6989586621679289764) # | |
| type Apply a c (FlipSym2 b a c l1 l2) l3 # | |
type FlipSym3 (t :: TyFun a6989586621679289762 (TyFun b6989586621679289763 c6989586621679289764 -> Type) -> Type) (t :: b6989586621679289763) (t :: a6989586621679289762) = Flip t t t #
data UntilSym0 (l :: TyFun (TyFun a6989586621679460078 Bool -> Type) (TyFun (TyFun a6989586621679460078 a6989586621679460078 -> Type) (TyFun a6989586621679460078 a6989586621679460078 -> Type) -> Type)) #
Instances
| SuppressUnusedWarnings (TyFun (TyFun a6989586621679460078 Bool -> Type) (TyFun (TyFun a6989586621679460078 a6989586621679460078 -> Type) (TyFun a6989586621679460078 a6989586621679460078 -> Type) -> Type) -> *) (UntilSym0 a6989586621679460078) # | |
| type Apply (TyFun a6989586621679460078 Bool -> Type) (TyFun (TyFun a6989586621679460078 a6989586621679460078 -> Type) (TyFun a6989586621679460078 a6989586621679460078 -> Type) -> Type) (UntilSym0 a6989586621679460078) l # | |
data UntilSym1 (l :: TyFun a6989586621679460078 Bool -> Type) (l :: TyFun (TyFun a6989586621679460078 a6989586621679460078 -> Type) (TyFun a6989586621679460078 a6989586621679460078 -> Type)) #
Instances
| SuppressUnusedWarnings ((TyFun a6989586621679460078 Bool -> Type) -> TyFun (TyFun a6989586621679460078 a6989586621679460078 -> Type) (TyFun a6989586621679460078 a6989586621679460078 -> Type) -> *) (UntilSym1 a6989586621679460078) # | |
| type Apply (TyFun a6989586621679460078 a6989586621679460078 -> Type) (TyFun a6989586621679460078 a6989586621679460078 -> Type) (UntilSym1 a6989586621679460078 l1) l2 # | |
data UntilSym2 (l :: TyFun a6989586621679460078 Bool -> Type) (l :: TyFun a6989586621679460078 a6989586621679460078 -> Type) (l :: TyFun a6989586621679460078 a6989586621679460078) #
type UntilSym3 (t :: TyFun a6989586621679460078 Bool -> Type) (t :: TyFun a6989586621679460078 a6989586621679460078 -> Type) (t :: a6989586621679460078) = Until t t t #
data AsTypeOfSym0 (l :: TyFun a6989586621679289761 (TyFun a6989586621679289761 a6989586621679289761 -> Type)) #
Instances
| SuppressUnusedWarnings (TyFun a6989586621679289761 (TyFun a6989586621679289761 a6989586621679289761 -> Type) -> *) (AsTypeOfSym0 a6989586621679289761) # | |
| type Apply a6989586621679289761 (TyFun a6989586621679289761 a6989586621679289761 -> Type) (AsTypeOfSym0 a6989586621679289761) l # | |
data AsTypeOfSym1 (l :: a6989586621679289761) (l :: TyFun a6989586621679289761 a6989586621679289761) #
Instances
| SuppressUnusedWarnings (a6989586621679289761 -> TyFun a6989586621679289761 a6989586621679289761 -> *) (AsTypeOfSym1 a6989586621679289761) # | |
| type Apply a a (AsTypeOfSym1 a l1) l2 # | |
type AsTypeOfSym2 (t :: a6989586621679289761) (t :: a6989586621679289761) = AsTypeOf t t #
data SeqSym0 (l :: TyFun a6989586621679289759 (TyFun b6989586621679289760 b6989586621679289760 -> Type)) #
Instances
| SuppressUnusedWarnings (TyFun a6989586621679289759 (TyFun b6989586621679289760 b6989586621679289760 -> Type) -> *) (SeqSym0 a6989586621679289759 b6989586621679289760) # | |
| type Apply a6989586621679289759 (TyFun b6989586621679289760 b6989586621679289760 -> Type) (SeqSym0 a6989586621679289759 b6989586621679289760) l # | |