| Copyright | (C) 2016 Richard Eisenberg |
|---|---|
| License | BSD-style (see LICENSE) |
| Maintainer | Richard Eisenberg (rae@cs.brynmawr.edu) |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Promotion.Prelude.Function
Contents
Description
Defines promoted functions from Data.Function.
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 Data.Function. Also, please excuse
the apparent repeated variable names. This is due to an interaction
between Template Haskell and Haddock.
- 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 Flip (a :: TyFun a (TyFun b c -> Type) -> Type) (a :: b) (a :: a) :: c where ...
- type family (f :: TyFun a b -> *) $ (x :: a) :: b
- type family (a :: a) :& (a :: TyFun a b -> Type) :: b where ...
- type family On (a :: TyFun b (TyFun b c -> Type) -> Type) (a :: TyFun a b -> Type) (a :: a) (a :: a) :: c where ...
- data IdSym0 (l :: TyFun a6989586621679244030 a6989586621679244030)
- type IdSym1 (t :: a6989586621679244030) = Id t
- data ConstSym0 (l :: TyFun a6989586621679244028 (TyFun b6989586621679244029 a6989586621679244028 -> Type))
- data ConstSym1 (l :: a6989586621679244028) (l :: TyFun b6989586621679244029 a6989586621679244028)
- type ConstSym2 (t :: a6989586621679244028) (t :: b6989586621679244029) = Const t t
- data (:.$) (l :: TyFun (TyFun b6989586621679244025 c6989586621679244026 -> Type) (TyFun (TyFun a6989586621679244027 b6989586621679244025 -> Type) (TyFun a6989586621679244027 c6989586621679244026 -> Type) -> Type))
- data (l :: TyFun b6989586621679244025 c6989586621679244026 -> Type) :.$$ (l :: TyFun (TyFun a6989586621679244027 b6989586621679244025 -> Type) (TyFun a6989586621679244027 c6989586621679244026 -> Type))
- data ((l :: TyFun b6989586621679244025 c6989586621679244026 -> Type) :.$$$ (l :: TyFun a6989586621679244027 b6989586621679244025 -> Type)) (l :: TyFun a6989586621679244027 c6989586621679244026)
- type (:.$$$$) (t :: TyFun b6989586621679244025 c6989586621679244026 -> Type) (t :: TyFun a6989586621679244027 b6989586621679244025 -> Type) (t :: a6989586621679244027) = (:.) t t t
- data FlipSym0 (l :: TyFun (TyFun a6989586621679244022 (TyFun b6989586621679244023 c6989586621679244024 -> Type) -> Type) (TyFun b6989586621679244023 (TyFun a6989586621679244022 c6989586621679244024 -> Type) -> Type))
- data FlipSym1 (l :: TyFun a6989586621679244022 (TyFun b6989586621679244023 c6989586621679244024 -> Type) -> Type) (l :: TyFun b6989586621679244023 (TyFun a6989586621679244022 c6989586621679244024 -> Type))
- data FlipSym2 (l :: TyFun a6989586621679244022 (TyFun b6989586621679244023 c6989586621679244024 -> Type) -> Type) (l :: b6989586621679244023) (l :: TyFun a6989586621679244022 c6989586621679244024)
- type FlipSym3 (t :: TyFun a6989586621679244022 (TyFun b6989586621679244023 c6989586621679244024 -> Type) -> Type) (t :: b6989586621679244023) (t :: a6989586621679244022) = Flip t t t
- data ($$) :: TyFun (TyFun a b -> *) (TyFun a b -> *) -> *
- data ($$$) :: (TyFun a b -> *) -> TyFun a b -> *
- type ($$$$) a b = ($) a b
- data (:&$) (l :: TyFun a6989586621679253489 (TyFun (TyFun a6989586621679253489 b6989586621679253490 -> Type) b6989586621679253490 -> Type))
- data (l :: a6989586621679253489) :&$$ (l :: TyFun (TyFun a6989586621679253489 b6989586621679253490 -> Type) b6989586621679253490)
- type (:&$$$) (t :: a6989586621679253489) (t :: TyFun a6989586621679253489 b6989586621679253490 -> Type) = (:&) t t
- data OnSym0 (l :: TyFun (TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) (TyFun (TyFun a6989586621679253493 b6989586621679253491 -> Type) (TyFun a6989586621679253493 (TyFun a6989586621679253493 c6989586621679253492 -> Type) -> Type) -> Type))
- data OnSym1 (l :: TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) (l :: TyFun (TyFun a6989586621679253493 b6989586621679253491 -> Type) (TyFun a6989586621679253493 (TyFun a6989586621679253493 c6989586621679253492 -> Type) -> Type))
- data OnSym2 (l :: TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) (l :: TyFun a6989586621679253493 b6989586621679253491 -> Type) (l :: TyFun a6989586621679253493 (TyFun a6989586621679253493 c6989586621679253492 -> Type))
- data OnSym3 (l :: TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) (l :: TyFun a6989586621679253493 b6989586621679253491 -> Type) (l :: a6989586621679253493) (l :: TyFun a6989586621679253493 c6989586621679253492)
- type OnSym4 (t :: TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) (t :: TyFun a6989586621679253493 b6989586621679253491 -> Type) (t :: a6989586621679253493) (t :: a6989586621679253493) = On t t t t
Prelude re-exports
type family ((a :: TyFun b c -> Type) :. (a :: TyFun a b -> Type)) (a :: a) :: c where ... infixr 9 #
Other combinators
type family On (a :: TyFun b (TyFun b c -> Type) -> Type) (a :: TyFun a b -> Type) (a :: a) (a :: a) :: c where ... #
Defunctionalization symbols
data ConstSym0 (l :: TyFun a6989586621679244028 (TyFun b6989586621679244029 a6989586621679244028 -> Type)) #
Instances
| SuppressUnusedWarnings (TyFun a6989586621679244028 (TyFun b6989586621679244029 a6989586621679244028 -> Type) -> *) (ConstSym0 b6989586621679244029 a6989586621679244028) # | |
| type Apply a6989586621679244028 (TyFun b6989586621679244029 a6989586621679244028 -> Type) (ConstSym0 b6989586621679244029 a6989586621679244028) l # | |
data (:.$) (l :: TyFun (TyFun b6989586621679244025 c6989586621679244026 -> Type) (TyFun (TyFun a6989586621679244027 b6989586621679244025 -> Type) (TyFun a6989586621679244027 c6989586621679244026 -> Type) -> Type)) #
Instances
| SuppressUnusedWarnings (TyFun (TyFun b6989586621679244025 c6989586621679244026 -> Type) (TyFun (TyFun a6989586621679244027 b6989586621679244025 -> Type) (TyFun a6989586621679244027 c6989586621679244026 -> Type) -> Type) -> *) ((:.$) b6989586621679244025 a6989586621679244027 c6989586621679244026) # | |
| type Apply (TyFun b6989586621679244025 c6989586621679244026 -> Type) (TyFun (TyFun a6989586621679244027 b6989586621679244025 -> Type) (TyFun a6989586621679244027 c6989586621679244026 -> Type) -> Type) ((:.$) b6989586621679244025 a6989586621679244027 c6989586621679244026) l # | |
data (l :: TyFun b6989586621679244025 c6989586621679244026 -> Type) :.$$ (l :: TyFun (TyFun a6989586621679244027 b6989586621679244025 -> Type) (TyFun a6989586621679244027 c6989586621679244026 -> Type)) #
Instances
| SuppressUnusedWarnings ((TyFun b6989586621679244025 c6989586621679244026 -> Type) -> TyFun (TyFun a6989586621679244027 b6989586621679244025 -> Type) (TyFun a6989586621679244027 c6989586621679244026 -> Type) -> *) ((:.$$) b6989586621679244025 a6989586621679244027 c6989586621679244026) # | |
| type Apply (TyFun a6989586621679244027 b6989586621679244025 -> Type) (TyFun a6989586621679244027 c6989586621679244026 -> Type) ((:.$$) b6989586621679244025 a6989586621679244027 c6989586621679244026 l1) l2 # | |
data ((l :: TyFun b6989586621679244025 c6989586621679244026 -> Type) :.$$$ (l :: TyFun a6989586621679244027 b6989586621679244025 -> Type)) (l :: TyFun a6989586621679244027 c6989586621679244026) #
Instances
| SuppressUnusedWarnings ((TyFun b6989586621679244025 c6989586621679244026 -> Type) -> (TyFun a6989586621679244027 b6989586621679244025 -> Type) -> TyFun a6989586621679244027 c6989586621679244026 -> *) ((:.$$$) b6989586621679244025 a6989586621679244027 c6989586621679244026) # | |
| type Apply a c ((:.$$$) b a c l1 l2) l3 # | |
type (:.$$$$) (t :: TyFun b6989586621679244025 c6989586621679244026 -> Type) (t :: TyFun a6989586621679244027 b6989586621679244025 -> Type) (t :: a6989586621679244027) = (:.) t t t #
data FlipSym0 (l :: TyFun (TyFun a6989586621679244022 (TyFun b6989586621679244023 c6989586621679244024 -> Type) -> Type) (TyFun b6989586621679244023 (TyFun a6989586621679244022 c6989586621679244024 -> Type) -> Type)) #
Instances
| SuppressUnusedWarnings (TyFun (TyFun a6989586621679244022 (TyFun b6989586621679244023 c6989586621679244024 -> Type) -> Type) (TyFun b6989586621679244023 (TyFun a6989586621679244022 c6989586621679244024 -> Type) -> Type) -> *) (FlipSym0 b6989586621679244023 a6989586621679244022 c6989586621679244024) # | |
| type Apply (TyFun a6989586621679244022 (TyFun b6989586621679244023 c6989586621679244024 -> Type) -> Type) (TyFun b6989586621679244023 (TyFun a6989586621679244022 c6989586621679244024 -> Type) -> Type) (FlipSym0 b6989586621679244023 a6989586621679244022 c6989586621679244024) l # | |
data FlipSym1 (l :: TyFun a6989586621679244022 (TyFun b6989586621679244023 c6989586621679244024 -> Type) -> Type) (l :: TyFun b6989586621679244023 (TyFun a6989586621679244022 c6989586621679244024 -> Type)) #
Instances
| SuppressUnusedWarnings ((TyFun a6989586621679244022 (TyFun b6989586621679244023 c6989586621679244024 -> Type) -> Type) -> TyFun b6989586621679244023 (TyFun a6989586621679244022 c6989586621679244024 -> Type) -> *) (FlipSym1 b6989586621679244023 a6989586621679244022 c6989586621679244024) # | |
| type Apply b6989586621679244023 (TyFun a6989586621679244022 c6989586621679244024 -> Type) (FlipSym1 b6989586621679244023 a6989586621679244022 c6989586621679244024 l1) l2 # | |
data FlipSym2 (l :: TyFun a6989586621679244022 (TyFun b6989586621679244023 c6989586621679244024 -> Type) -> Type) (l :: b6989586621679244023) (l :: TyFun a6989586621679244022 c6989586621679244024) #
Instances
| SuppressUnusedWarnings ((TyFun a6989586621679244022 (TyFun b6989586621679244023 c6989586621679244024 -> Type) -> Type) -> b6989586621679244023 -> TyFun a6989586621679244022 c6989586621679244024 -> *) (FlipSym2 b6989586621679244023 a6989586621679244022 c6989586621679244024) # | |
| type Apply a c (FlipSym2 b a c l1 l2) l3 # | |
type FlipSym3 (t :: TyFun a6989586621679244022 (TyFun b6989586621679244023 c6989586621679244024 -> Type) -> Type) (t :: b6989586621679244023) (t :: a6989586621679244022) = Flip t t t #
data (:&$) (l :: TyFun a6989586621679253489 (TyFun (TyFun a6989586621679253489 b6989586621679253490 -> Type) b6989586621679253490 -> Type)) #
Instances
| SuppressUnusedWarnings (TyFun a6989586621679253489 (TyFun (TyFun a6989586621679253489 b6989586621679253490 -> Type) b6989586621679253490 -> Type) -> *) ((:&$) a6989586621679253489 b6989586621679253490) # | |
| type Apply a6989586621679253489 (TyFun (TyFun a6989586621679253489 b6989586621679253490 -> Type) b6989586621679253490 -> Type) ((:&$) a6989586621679253489 b6989586621679253490) l # | |
data (l :: a6989586621679253489) :&$$ (l :: TyFun (TyFun a6989586621679253489 b6989586621679253490 -> Type) b6989586621679253490) #
type (:&$$$) (t :: a6989586621679253489) (t :: TyFun a6989586621679253489 b6989586621679253490 -> Type) = (:&) t t #
data OnSym0 (l :: TyFun (TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) (TyFun (TyFun a6989586621679253493 b6989586621679253491 -> Type) (TyFun a6989586621679253493 (TyFun a6989586621679253493 c6989586621679253492 -> Type) -> Type) -> Type)) #
Instances
| SuppressUnusedWarnings (TyFun (TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) (TyFun (TyFun a6989586621679253493 b6989586621679253491 -> Type) (TyFun a6989586621679253493 (TyFun a6989586621679253493 c6989586621679253492 -> Type) -> Type) -> Type) -> *) (OnSym0 b6989586621679253491 a6989586621679253493 c6989586621679253492) # | |
| type Apply (TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) (TyFun (TyFun a6989586621679253493 b6989586621679253491 -> Type) (TyFun a6989586621679253493 (TyFun a6989586621679253493 c6989586621679253492 -> Type) -> Type) -> Type) (OnSym0 b6989586621679253491 a6989586621679253493 c6989586621679253492) l # | |
data OnSym1 (l :: TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) (l :: TyFun (TyFun a6989586621679253493 b6989586621679253491 -> Type) (TyFun a6989586621679253493 (TyFun a6989586621679253493 c6989586621679253492 -> Type) -> Type)) #
Instances
| SuppressUnusedWarnings ((TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) -> TyFun (TyFun a6989586621679253493 b6989586621679253491 -> Type) (TyFun a6989586621679253493 (TyFun a6989586621679253493 c6989586621679253492 -> Type) -> Type) -> *) (OnSym1 b6989586621679253491 a6989586621679253493 c6989586621679253492) # | |
| type Apply (TyFun a6989586621679253493 b6989586621679253491 -> Type) (TyFun a6989586621679253493 (TyFun a6989586621679253493 c6989586621679253492 -> Type) -> Type) (OnSym1 b6989586621679253491 a6989586621679253493 c6989586621679253492 l1) l2 # | |
data OnSym2 (l :: TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) (l :: TyFun a6989586621679253493 b6989586621679253491 -> Type) (l :: TyFun a6989586621679253493 (TyFun a6989586621679253493 c6989586621679253492 -> Type)) #
Instances
| SuppressUnusedWarnings ((TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) -> (TyFun a6989586621679253493 b6989586621679253491 -> Type) -> TyFun a6989586621679253493 (TyFun a6989586621679253493 c6989586621679253492 -> Type) -> *) (OnSym2 b6989586621679253491 a6989586621679253493 c6989586621679253492) # | |
| type Apply a6989586621679253493 (TyFun a6989586621679253493 c6989586621679253492 -> Type) (OnSym2 b6989586621679253491 a6989586621679253493 c6989586621679253492 l1 l2) l3 # | |
data OnSym3 (l :: TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) (l :: TyFun a6989586621679253493 b6989586621679253491 -> Type) (l :: a6989586621679253493) (l :: TyFun a6989586621679253493 c6989586621679253492) #
Instances
| SuppressUnusedWarnings ((TyFun b6989586621679253491 (TyFun b6989586621679253491 c6989586621679253492 -> Type) -> Type) -> (TyFun a6989586621679253493 b6989586621679253491 -> Type) -> a6989586621679253493 -> TyFun a6989586621679253493 c6989586621679253492 -> *) (OnSym3 b6989586621679253491 a6989586621679253493 c6989586621679253492) # | |
| type Apply a c (OnSym3 b a c l1 l2 l3) l4 # | |