Copyright | Kazuki Okamoto |
---|---|
License | see LICENSE |
Maintainer | kazuki.okamoto@kakkun61.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | Safe |
Language | Haskell2010 |
Extensions |
|
List-like operations for tuples.
This is a bit tricky of classes because Haskell does not have 1-tuples.
If you use Only
, OneTuple
or Identity
as 1-tuples,
import Data.Tuple.List.Only
, Data.Tuple.List.OneTuple
or Data.Tuple.List.Identity
respectively
and classes without a prime (dash) symbol, for examle HasHead'
, are useful,
you can also use classes with a prime (dash) symbol.
If you use Single
class for polymorphic 1-tuples, you should use classes with a prime (dash) symbol.
Synopsis
- type family Cons a u :: Type
- type family Head t :: Type
- type family Last t :: Type
- type family Tail t :: Type
- type family Init t :: Type
- type family Length t :: Nat
- class HasHead' t a where
- head' :: t -> a
- class HasLast' t z where
- last' :: t -> z
- class HasTail' t u where
- tail' :: t -> u
- class HasInit' t s where
- init' :: t -> s
- class HasCons' t a u where
- cons' :: a -> u -> t
- class HasUncons' t a u where
- uncons' :: t -> (a, u)
- class HasHead t where
- class HasLast t where
- class HasTail t where
- class HasInit t where
- class HasCons a u where
- class HasUncons t where
- class HasLength t where
- pattern Null :: Length t ~ 0 => t
- pattern Cons' :: (HasCons' t a u, HasUncons' t a u) => a -> u -> t
- pattern Cons :: (HasCons a u, HasUncons t, t ~ Cons a u, a ~ Head t, u ~ Tail t) => a -> u -> t
- type family Reverse t = (r :: Type) | r -> t
- class HasReverse t where
- class HasReverse' t r where
- reverse' :: t -> r
- type family t !! (n :: Nat) :: Type
- class HasAt' t (n :: Nat) e where
- class HasAt t (n :: Nat) where
Basic functions
Type families
type family Cons a u :: Type Source #
Instances
type Cons a () Source # | |
Defined in Data.Tuple.List.Identity | |
type Cons a () Source # | |
Defined in Data.Tuple.List.OneTuple | |
type Cons a () Source # | |
Defined in Data.Tuple.List.Only | |
type Cons a (Identity b) Source # | |
Defined in Data.Tuple.List.Identity | |
type Cons a (OneTuple b) Source # | |
Defined in Data.Tuple.List.OneTuple | |
type Cons a (Only b) Source # | |
Defined in Data.Tuple.List.Only | |
type Cons a (b, c) Source # | |
Defined in Data.Tuple.List type Cons a (b, c) = (a, b, c) | |
type Cons a (b, c, d) Source # | |
Defined in Data.Tuple.List type Cons a (b, c, d) = (a, b, c, d) | |
type Cons a (b, c, d, e) Source # | |
Defined in Data.Tuple.List type Cons a (b, c, d, e) = (a, b, c, d, e) | |
type Cons a (b, c, d, e, f) Source # | |
Defined in Data.Tuple.List type Cons a (b, c, d, e, f) = (a, b, c, d, e, f) | |
type Cons a (b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List type Cons a (b, c, d, e, f, g) = (a, b, c, d, e, f, g) | |
type Cons a (b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List type Cons a (b, c, d, e, f, g, h) = (a, b, c, d, e, f, g, h) | |
type Cons a (b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List type Cons a (b, c, d, e, f, g, h, i) = (a, b, c, d, e, f, g, h, i) | |
type Cons a (b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List type Cons a (b, c, d, e, f, g, h, i, j) = (a, b, c, d, e, f, g, h, i, j) | |
type Cons a (b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List type Cons a (b, c, d, e, f, g, h, i, j, k) = (a, b, c, d, e, f, g, h, i, j, k) | |
type Cons a (b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List type Cons a (b, c, d, e, f, g, h, i, j, k, l) = (a, b, c, d, e, f, g, h, i, j, k, l) | |
type Cons a (b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List type Cons a (b, c, d, e, f, g, h, i, j, k, l, m) = (a, b, c, d, e, f, g, h, i, j, k, l, m) | |
type Cons a (b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List type Cons a (b, c, d, e, f, g, h, i, j, k, l, m, n) = (a, b, c, d, e, f, g, h, i, j, k, l, m, n) | |
type Cons a (b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List type Cons a (b, c, d, e, f, g, h, i, j, k, l, m, n, o) = (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) |
type family Head t :: Type Source #
Instances
type Head () Source # | |
Defined in Data.Tuple.List | |
type Head (OneTuple a) Source # | |
Defined in Data.Tuple.List.OneTuple | |
type Head (Only a) Source # | |
Defined in Data.Tuple.List.Only | |
type Head (Identity a) Source # | |
Defined in Data.Tuple.List.Identity | |
type Head (a, b) Source # | |
Defined in Data.Tuple.List type Head (a, b) = a | |
type Head (Proxy a) Source # | |
type Head (a, b, c) Source # | |
Defined in Data.Tuple.List type Head (a, b, c) = a | |
type Head (a, b, c, d) Source # | |
Defined in Data.Tuple.List type Head (a, b, c, d) = a | |
type Head (a, b, c, d, e) Source # | |
Defined in Data.Tuple.List type Head (a, b, c, d, e) = a | |
type Head (a, b, c, d, e, f) Source # | |
Defined in Data.Tuple.List type Head (a, b, c, d, e, f) = a | |
type Head (a, b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List type Head (a, b, c, d, e, f, g) = a | |
type Head (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List type Head (a, b, c, d, e, f, g, h) = a | |
type Head (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List type Head (a, b, c, d, e, f, g, h, i) = a | |
type Head (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List type Head (a, b, c, d, e, f, g, h, i, j) = a | |
type Head (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List type Head (a, b, c, d, e, f, g, h, i, j, k) = a | |
type Head (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List type Head (a, b, c, d, e, f, g, h, i, j, k, l) = a | |
type Head (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List type Head (a, b, c, d, e, f, g, h, i, j, k, l, m) = a | |
type Head (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List type Head (a, b, c, d, e, f, g, h, i, j, k, l, m, n) = a | |
type Head (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List type Head (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) = a |
type family Last t :: Type Source #
Instances
type Last () Source # | |
Defined in Data.Tuple.List | |
type Last (OneTuple a) Source # | |
Defined in Data.Tuple.List.OneTuple | |
type Last (Only a) Source # | |
Defined in Data.Tuple.List.Only | |
type Last (Identity a) Source # | |
Defined in Data.Tuple.List.Identity | |
type Last (a, b) Source # | |
Defined in Data.Tuple.List type Last (a, b) = b | |
type Last (Proxy a) Source # | |
type Last (a, b, c) Source # | |
Defined in Data.Tuple.List type Last (a, b, c) = c | |
type Last (a, b, c, d) Source # | |
Defined in Data.Tuple.List type Last (a, b, c, d) = d | |
type Last (a, b, c, d, e) Source # | |
Defined in Data.Tuple.List type Last (a, b, c, d, e) = e | |
type Last (a, b, c, d, e, f) Source # | |
Defined in Data.Tuple.List type Last (a, b, c, d, e, f) = f | |
type Last (a, b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List type Last (a, b, c, d, e, f, g) = g | |
type Last (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List type Last (a, b, c, d, e, f, g, h) = h | |
type Last (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List type Last (a, b, c, d, e, f, g, h, i) = i | |
type Last (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List type Last (a, b, c, d, e, f, g, h, i, j) = j | |
type Last (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List type Last (a, b, c, d, e, f, g, h, i, j, k) = k | |
type Last (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List type Last (a, b, c, d, e, f, g, h, i, j, k, l) = l | |
type Last (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List type Last (a, b, c, d, e, f, g, h, i, j, k, l, m) = m | |
type Last (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List type Last (a, b, c, d, e, f, g, h, i, j, k, l, m, n) = n | |
type Last (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List type Last (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) = o |
type family Tail t :: Type Source #
Instances
type Tail () Source # | |
Defined in Data.Tuple.List | |
type Tail (OneTuple a) Source # | |
Defined in Data.Tuple.List.OneTuple | |
type Tail (Only a) Source # | |
Defined in Data.Tuple.List.Only | |
type Tail (Identity a) Source # | |
Defined in Data.Tuple.List.Identity | |
type Tail (a, b) Source # | |
Defined in Data.Tuple.List.Identity | |
type Tail (a, b) Source # | |
Defined in Data.Tuple.List.OneTuple | |
type Tail (a, b) Source # | |
Defined in Data.Tuple.List.Only | |
type Tail (Proxy a) Source # | |
type Tail (a, b, c) Source # | |
Defined in Data.Tuple.List type Tail (a, b, c) = (b, c) | |
type Tail (a, b, c, d) Source # | |
Defined in Data.Tuple.List type Tail (a, b, c, d) = (b, c, d) | |
type Tail (a, b, c, d, e) Source # | |
Defined in Data.Tuple.List type Tail (a, b, c, d, e) = (b, c, d, e) | |
type Tail (a, b, c, d, e, f) Source # | |
Defined in Data.Tuple.List type Tail (a, b, c, d, e, f) = (b, c, d, e, f) | |
type Tail (a, b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List type Tail (a, b, c, d, e, f, g) = (b, c, d, e, f, g) | |
type Tail (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List type Tail (a, b, c, d, e, f, g, h) = (b, c, d, e, f, g, h) | |
type Tail (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List type Tail (a, b, c, d, e, f, g, h, i) = (b, c, d, e, f, g, h, i) | |
type Tail (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List type Tail (a, b, c, d, e, f, g, h, i, j) = (b, c, d, e, f, g, h, i, j) | |
type Tail (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List type Tail (a, b, c, d, e, f, g, h, i, j, k) = (b, c, d, e, f, g, h, i, j, k) | |
type Tail (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List type Tail (a, b, c, d, e, f, g, h, i, j, k, l) = (b, c, d, e, f, g, h, i, j, k, l) | |
type Tail (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List type Tail (a, b, c, d, e, f, g, h, i, j, k, l, m) = (b, c, d, e, f, g, h, i, j, k, l, m) | |
type Tail (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List type Tail (a, b, c, d, e, f, g, h, i, j, k, l, m, n) = (b, c, d, e, f, g, h, i, j, k, l, m, n) | |
type Tail (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List type Tail (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) = (b, c, d, e, f, g, h, i, j, k, l, m, n, o) |
type family Init t :: Type Source #
Instances
type Init () Source # | |
Defined in Data.Tuple.List | |
type Init (OneTuple a) Source # | |
Defined in Data.Tuple.List.OneTuple | |
type Init (Only a) Source # | |
Defined in Data.Tuple.List.Only | |
type Init (Identity a) Source # | |
Defined in Data.Tuple.List.Identity | |
type Init (a, b) Source # | |
Defined in Data.Tuple.List.Identity | |
type Init (a, b) Source # | |
Defined in Data.Tuple.List.OneTuple | |
type Init (a, b) Source # | |
Defined in Data.Tuple.List.Only | |
type Init (Proxy a) Source # | |
type Init (a, b, c) Source # | |
Defined in Data.Tuple.List type Init (a, b, c) = (a, b) | |
type Init (a, b, c, d) Source # | |
Defined in Data.Tuple.List type Init (a, b, c, d) = (a, b, c) | |
type Init (a, b, c, d, e) Source # | |
Defined in Data.Tuple.List type Init (a, b, c, d, e) = (a, b, c, d) | |
type Init (a, b, c, d, e, f) Source # | |
Defined in Data.Tuple.List type Init (a, b, c, d, e, f) = (a, b, c, d, e) | |
type Init (a, b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List type Init (a, b, c, d, e, f, g) = (a, b, c, d, e, f) | |
type Init (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List type Init (a, b, c, d, e, f, g, h) = (a, b, c, d, e, f, g) | |
type Init (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List type Init (a, b, c, d, e, f, g, h, i) = (a, b, c, d, e, f, g, h) | |
type Init (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List type Init (a, b, c, d, e, f, g, h, i, j) = (a, b, c, d, e, f, g, h, i) | |
type Init (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List type Init (a, b, c, d, e, f, g, h, i, j, k) = (a, b, c, d, e, f, g, h, i, j) | |
type Init (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List type Init (a, b, c, d, e, f, g, h, i, j, k, l) = (a, b, c, d, e, f, g, h, i, j, k) | |
type Init (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List type Init (a, b, c, d, e, f, g, h, i, j, k, l, m) = (a, b, c, d, e, f, g, h, i, j, k, l) | |
type Init (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List type Init (a, b, c, d, e, f, g, h, i, j, k, l, m, n) = (a, b, c, d, e, f, g, h, i, j, k, l, m) | |
type Init (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List type Init (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) = (a, b, c, d, e, f, g, h, i, j, k, l, m, n) |
type family Length t :: Nat Source #
Instances
type Length () Source # | |
Defined in Data.Tuple.List type Length () = 0 | |
type Length (OneTuple a) Source # | |
Defined in Data.Tuple.List.OneTuple | |
type Length (Only a) Source # | |
Defined in Data.Tuple.List.Only | |
type Length (Identity a) Source # | |
Defined in Data.Tuple.List.Identity | |
type Length (a, b) Source # | |
Defined in Data.Tuple.List type Length (a, b) = 2 | |
type Length (Proxy a) Source # | |
Defined in Data.Tuple.List | |
type Length (a, b, c) Source # | |
Defined in Data.Tuple.List type Length (a, b, c) = 3 | |
type Length (a, b, c, d) Source # | |
Defined in Data.Tuple.List type Length (a, b, c, d) = 4 | |
type Length (a, b, c, d, e) Source # | |
Defined in Data.Tuple.List type Length (a, b, c, d, e) = 5 | |
type Length (a, b, c, d, e, f) Source # | |
Defined in Data.Tuple.List type Length (a, b, c, d, e, f) = 6 | |
type Length (a, b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List type Length (a, b, c, d, e, f, g) = 7 | |
type Length (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List type Length (a, b, c, d, e, f, g, h) = 8 | |
type Length (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List type Length (a, b, c, d, e, f, g, h, i) = 9 | |
type Length (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List type Length (a, b, c, d, e, f, g, h, i, j) = 10 | |
type Length (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List type Length (a, b, c, d, e, f, g, h, i, j, k) = 11 | |
type Length (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List type Length (a, b, c, d, e, f, g, h, i, j, k, l) = 12 | |
type Length (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List type Length (a, b, c, d, e, f, g, h, i, j, k, l, m) = 13 | |
type Length (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List type Length (a, b, c, d, e, f, g, h, i, j, k, l, m, n) = 14 | |
type Length (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List type Length (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) = 15 |
Type classes
class HasHead' t a where Source #
Instances
(Single c, t ~ c a) => HasHead' t a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b) a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b, c) a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b, c, d) a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b, c, d, e) a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b, c, d, e, f) a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b, c, d, e, f, g) a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b, c, d, e, f, g, h) a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b, c, d, e, f, g, h, i) a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b, c, d, e, f, g, h, i, j) a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b, c, d, e, f, g, h, i, j, k) a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b, c, d, e, f, g, h, i, j, k, l) a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b, c, d, e, f, g, h, i, j, k, l, m) a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) a Source # | |
Defined in Data.Tuple.List | |
HasHead' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) a Source # | |
Defined in Data.Tuple.List |
class HasLast' t z where Source #
Instances
Single c => HasLast' (c a) a Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b) b Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b, c) c Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b, c, d) d Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b, c, d, e) e Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b, c, d, e, f) f Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b, c, d, e, f, g) g Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b, c, d, e, f, g, h) h Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b, c, d, e, f, g, h, i) i Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b, c, d, e, f, g, h, i, j) j Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b, c, d, e, f, g, h, i, j, k) k Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b, c, d, e, f, g, h, i, j, k, l) l Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b, c, d, e, f, g, h, i, j, k, l, m) m Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) n Source # | |
Defined in Data.Tuple.List | |
HasLast' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) o Source # | |
Defined in Data.Tuple.List |
class HasTail' t u where Source #
Instances
(Single c, b ~ ()) => HasTail' (c a) b Source # | |
Defined in Data.Tuple.List | |
(TypeError (Text "empty tuple") :: Constraint) => HasTail' (Proxy a) b Source # | |
Defined in Data.Tuple.List | |
Single c => HasTail' (a, b) (c b) Source # | |
Defined in Data.Tuple.List | |
HasTail' (a, b, c) (b, c) Source # | |
Defined in Data.Tuple.List | |
HasTail' (a, b, c, d) (b, c, d) Source # | |
Defined in Data.Tuple.List | |
HasTail' (a, b, c, d, e) (b, c, d, e) Source # | |
Defined in Data.Tuple.List | |
HasTail' (a, b, c, d, e, f) (b, c, d, e, f) Source # | |
Defined in Data.Tuple.List | |
HasTail' (a, b, c, d, e, f, g) (b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List | |
HasTail' (a, b, c, d, e, f, g, h) (b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List | |
HasTail' (a, b, c, d, e, f, g, h, i) (b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List | |
HasTail' (a, b, c, d, e, f, g, h, i, j) (b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List | |
HasTail' (a, b, c, d, e, f, g, h, i, j, k) (b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List | |
HasTail' (a, b, c, d, e, f, g, h, i, j, k, l) (b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List | |
HasTail' (a, b, c, d, e, f, g, h, i, j, k, l, m) (b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List | |
HasTail' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) (b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List | |
HasTail' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) (b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List |
class HasInit' t s where Source #
Instances
(Single c, b ~ ()) => HasInit' (c a) b Source # | |
Defined in Data.Tuple.List | |
(TypeError (Text "empty tuple") :: Constraint) => HasInit' (Proxy a) b Source # | |
Defined in Data.Tuple.List | |
Single c => HasInit' (a, b) (c a) Source # | |
Defined in Data.Tuple.List | |
HasInit' (a, b, c) (a, b) Source # | |
Defined in Data.Tuple.List | |
HasInit' (a, b, c, d) (a, b, c) Source # | |
Defined in Data.Tuple.List | |
HasInit' (a, b, c, d, e) (a, b, c, d) Source # | |
Defined in Data.Tuple.List | |
HasInit' (a, b, c, d, e, f) (a, b, c, d, e) Source # | |
Defined in Data.Tuple.List | |
HasInit' (a, b, c, d, e, f, g) (a, b, c, d, e, f) Source # | |
Defined in Data.Tuple.List | |
HasInit' (a, b, c, d, e, f, g, h) (a, b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List | |
HasInit' (a, b, c, d, e, f, g, h, i) (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List | |
HasInit' (a, b, c, d, e, f, g, h, i, j) (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List | |
HasInit' (a, b, c, d, e, f, g, h, i, j, k) (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List | |
HasInit' (a, b, c, d, e, f, g, h, i, j, k, l) (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List | |
HasInit' (a, b, c, d, e, f, g, h, i, j, k, l, m) (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List | |
HasInit' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List | |
HasInit' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List |
class HasCons' t a u where Source #
Instances
Single c => HasCons' (c a) a () Source # | |
Defined in Data.Tuple.List | |
Single c => HasCons' (a, b) a (c b) Source # | |
Defined in Data.Tuple.List | |
HasCons' (a, b, c) a (b, c) Source # | |
Defined in Data.Tuple.List | |
HasCons' (a, b, c, d) a (b, c, d) Source # | |
Defined in Data.Tuple.List | |
HasCons' (a, b, c, d, e) a (b, c, d, e) Source # | |
Defined in Data.Tuple.List | |
HasCons' (a, b, c, d, e, f) a (b, c, d, e, f) Source # | |
Defined in Data.Tuple.List | |
HasCons' (a, b, c, d, e, f, g) a (b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List | |
HasCons' (a, b, c, d, e, f, g, h) a (b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List | |
HasCons' (a, b, c, d, e, f, g, h, i) a (b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List | |
HasCons' (a, b, c, d, e, f, g, h, i, j) a (b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List | |
HasCons' (a, b, c, d, e, f, g, h, i, j, k) a (b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List | |
HasCons' (a, b, c, d, e, f, g, h, i, j, k, l) a (b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List | |
HasCons' (a, b, c, d, e, f, g, h, i, j, k, l, m) a (b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List | |
HasCons' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) a (b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List | |
HasCons' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) a (b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List |
class HasUncons' t a u where Source #
Instances
Single c => HasUncons' (c a) a () Source # | |
Defined in Data.Tuple.List | |
Single c => HasUncons' (a, b) a (c b) Source # | |
Defined in Data.Tuple.List | |
HasUncons' (a, b, c) a (b, c) Source # | |
Defined in Data.Tuple.List | |
HasUncons' (a, b, c, d) a (b, c, d) Source # | |
Defined in Data.Tuple.List | |
HasUncons' (a, b, c, d, e) a (b, c, d, e) Source # | |
Defined in Data.Tuple.List | |
HasUncons' (a, b, c, d, e, f) a (b, c, d, e, f) Source # | |
Defined in Data.Tuple.List | |
HasUncons' (a, b, c, d, e, f, g) a (b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List | |
HasUncons' (a, b, c, d, e, f, g, h) a (b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List | |
HasUncons' (a, b, c, d, e, f, g, h, i) a (b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List | |
HasUncons' (a, b, c, d, e, f, g, h, i, j) a (b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List | |
HasUncons' (a, b, c, d, e, f, g, h, i, j, k) a (b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List | |
HasUncons' (a, b, c, d, e, f, g, h, i, j, k, l) a (b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List | |
HasUncons' (a, b, c, d, e, f, g, h, i, j, k, l, m) a (b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List | |
HasUncons' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) a (b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List | |
HasUncons' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) a (b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List |
More concrete type classes
class HasHead t where Source #
Nothing
Instances
HasHead (OneTuple a) Source # | |
HasHead (Only a) Source # | |
HasHead (Identity a) Source # | |
HasHead (a, b) Source # | |
Defined in Data.Tuple.List | |
HasHead (a, b, c) Source # | |
Defined in Data.Tuple.List | |
HasHead (a, b, c, d) Source # | |
Defined in Data.Tuple.List | |
HasHead (a, b, c, d, e) Source # | |
Defined in Data.Tuple.List | |
HasHead (a, b, c, d, e, f) Source # | |
Defined in Data.Tuple.List | |
HasHead (a, b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List | |
HasHead (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List | |
HasHead (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List | |
HasHead (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List | |
HasHead (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List | |
HasHead (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List | |
HasHead (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List | |
HasHead (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List | |
HasHead (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List |
class HasLast t where Source #
Nothing
Instances
HasLast (OneTuple a) Source # | |
HasLast (Only a) Source # | |
HasLast (Identity a) Source # | |
HasLast (a, b) Source # | |
Defined in Data.Tuple.List | |
HasLast (a, b, c) Source # | |
Defined in Data.Tuple.List | |
HasLast (a, b, c, d) Source # | |
Defined in Data.Tuple.List | |
HasLast (a, b, c, d, e) Source # | |
Defined in Data.Tuple.List | |
HasLast (a, b, c, d, e, f) Source # | |
Defined in Data.Tuple.List | |
HasLast (a, b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List | |
HasLast (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List | |
HasLast (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List | |
HasLast (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List | |
HasLast (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List | |
HasLast (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List | |
HasLast (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List | |
HasLast (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List | |
HasLast (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List |
class HasTail t where Source #
Nothing
Instances
HasTail (OneTuple a) Source # | |
HasTail (Only a) Source # | |
HasTail (Identity a) Source # | |
HasTail (a, b) Source # | |
Defined in Data.Tuple.List.Identity | |
HasTail (a, b) Source # | |
Defined in Data.Tuple.List.OneTuple | |
HasTail (a, b) Source # | |
Defined in Data.Tuple.List.Only | |
HasTail (a, b, c) Source # | |
Defined in Data.Tuple.List | |
HasTail (a, b, c, d) Source # | |
Defined in Data.Tuple.List | |
HasTail (a, b, c, d, e) Source # | |
Defined in Data.Tuple.List | |
HasTail (a, b, c, d, e, f) Source # | |
Defined in Data.Tuple.List | |
HasTail (a, b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List | |
HasTail (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List | |
HasTail (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List | |
HasTail (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List | |
HasTail (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List | |
HasTail (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List | |
HasTail (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List | |
HasTail (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List | |
HasTail (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List |
class HasInit t where Source #
Nothing
Instances
HasInit (OneTuple a) Source # | |
HasInit (Only a) Source # | |
HasInit (Identity a) Source # | |
HasInit (a, b) Source # | |
Defined in Data.Tuple.List.Identity | |
HasInit (a, b) Source # | |
Defined in Data.Tuple.List.OneTuple | |
HasInit (a, b) Source # | |
Defined in Data.Tuple.List.Only | |
HasInit (a, b, c) Source # | |
Defined in Data.Tuple.List | |
HasInit (a, b, c, d) Source # | |
Defined in Data.Tuple.List | |
HasInit (a, b, c, d, e) Source # | |
Defined in Data.Tuple.List | |
HasInit (a, b, c, d, e, f) Source # | |
Defined in Data.Tuple.List | |
HasInit (a, b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List | |
HasInit (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List | |
HasInit (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List | |
HasInit (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List | |
HasInit (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List | |
HasInit (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List | |
HasInit (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List | |
HasInit (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List | |
HasInit (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List |
class HasCons a u where Source #
Nothing
Instances
HasCons a () Source # | |
Defined in Data.Tuple.List.Identity | |
HasCons a () Source # | |
Defined in Data.Tuple.List.OneTuple | |
HasCons a () Source # | |
Defined in Data.Tuple.List.Only | |
HasCons a (Identity b) Source # | |
HasCons a (OneTuple b) Source # | |
HasCons a (Only b) Source # | |
HasCons a (b, c) Source # | |
Defined in Data.Tuple.List | |
HasCons a (b, c, d) Source # | |
Defined in Data.Tuple.List | |
HasCons a (b, c, d, e) Source # | |
Defined in Data.Tuple.List | |
HasCons a (b, c, d, e, f) Source # | |
Defined in Data.Tuple.List | |
HasCons a (b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List | |
HasCons a (b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List | |
HasCons a (b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List | |
HasCons a (b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List | |
HasCons a (b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List | |
HasCons a (b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List | |
HasCons a (b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List | |
HasCons a (b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List | |
HasCons a (b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List |
class HasUncons t where Source #
Nothing
uncons :: t -> (Head t, Tail t) Source #
uncons :: HasUncons' t (Head t) (Tail t) => t -> (Head t, Tail t) Source #
Instances
HasUncons (OneTuple a) Source # | |
HasUncons (Only a) Source # | |
HasUncons (Identity a) Source # | |
HasUncons (a, b) Source # | |
HasUncons (a, b) Source # | |
HasUncons (a, b) Source # | |
HasUncons (a, b, c) Source # | |
HasUncons (a, b, c, d) Source # | |
HasUncons (a, b, c, d, e) Source # | |
HasUncons (a, b, c, d, e, f) Source # | |
HasUncons (a, b, c, d, e, f, g) Source # | |
HasUncons (a, b, c, d, e, f, g, h) Source # | |
HasUncons (a, b, c, d, e, f, g, h, i) Source # | |
HasUncons (a, b, c, d, e, f, g, h, i, j) Source # | |
HasUncons (a, b, c, d, e, f, g, h, i, j, k) Source # | |
HasUncons (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
HasUncons (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
HasUncons (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
HasUncons (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
class HasLength t where Source #
Nothing
length :: Integral n => t -> n Source #
length :: (Integral n, KnownNat (Length t)) => t -> n Source #
Instances
HasLength () Source # | |
Defined in Data.Tuple.List | |
Single c => HasLength (c a) Source # | |
Defined in Data.Tuple.List | |
HasLength (OneTuple a) Source # | |
HasLength (Only a) Source # | |
HasLength (Identity a) Source # | |
HasLength (a, b) Source # | |
Defined in Data.Tuple.List | |
HasLength (Proxy a) Source # | |
HasLength (a, b, c) Source # | |
Defined in Data.Tuple.List | |
HasLength (a, b, c, d) Source # | |
Defined in Data.Tuple.List | |
HasLength (a, b, c, d, e) Source # | |
Defined in Data.Tuple.List | |
HasLength (a, b, c, d, e, f) Source # | |
Defined in Data.Tuple.List | |
HasLength (a, b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List | |
HasLength (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List | |
HasLength (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List | |
HasLength (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List | |
HasLength (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List | |
HasLength (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List | |
HasLength (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List | |
HasLength (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List | |
HasLength (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List |
Patterns
pattern Cons' :: (HasCons' t a u, HasUncons' t a u) => a -> u -> t Source #
pattern Cons :: (HasCons a u, HasUncons t, t ~ Cons a u, a ~ Head t, u ~ Tail t) => a -> u -> t Source #
List transfomations
type family Reverse t = (r :: Type) | r -> t Source #
Instances
type Reverse () Source # | |
Defined in Data.Tuple.List type Reverse () = () | |
type Reverse (OneTuple a) Source # | |
Defined in Data.Tuple.List.OneTuple | |
type Reverse (Only a) Source # | |
Defined in Data.Tuple.List.Only | |
type Reverse (Identity a) Source # | |
Defined in Data.Tuple.List.Identity | |
type Reverse (a, b) Source # | |
Defined in Data.Tuple.List type Reverse (a, b) = (b, a) | |
type Reverse (Proxy a) Source # | |
Defined in Data.Tuple.List | |
type Reverse (a, b, c) Source # | |
Defined in Data.Tuple.List type Reverse (a, b, c) = (c, b, a) | |
type Reverse (a, b, c, d) Source # | |
Defined in Data.Tuple.List type Reverse (a, b, c, d) = (d, c, b, a) | |
type Reverse (a, b, c, d, e) Source # | |
Defined in Data.Tuple.List type Reverse (a, b, c, d, e) = (e, d, c, b, a) | |
type Reverse (a, b, c, d, e, f) Source # | |
Defined in Data.Tuple.List type Reverse (a, b, c, d, e, f) = (f, e, d, c, b, a) | |
type Reverse (a, b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List type Reverse (a, b, c, d, e, f, g) = (g, f, e, d, c, b, a) | |
type Reverse (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List type Reverse (a, b, c, d, e, f, g, h) = (h, g, f, e, d, c, b, a) | |
type Reverse (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List type Reverse (a, b, c, d, e, f, g, h, i) = (i, h, g, f, e, d, c, b, a) | |
type Reverse (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List type Reverse (a, b, c, d, e, f, g, h, i, j) = (j, i, h, g, f, e, d, c, b, a) | |
type Reverse (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List type Reverse (a, b, c, d, e, f, g, h, i, j, k) = (k, j, i, h, g, f, e, d, c, b, a) | |
type Reverse (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List type Reverse (a, b, c, d, e, f, g, h, i, j, k, l) = (l, k, j, i, h, g, f, e, d, c, b, a) | |
type Reverse (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List type Reverse (a, b, c, d, e, f, g, h, i, j, k, l, m) = (m, l, k, j, i, h, g, f, e, d, c, b, a) | |
type Reverse (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List type Reverse (a, b, c, d, e, f, g, h, i, j, k, l, m, n) = (n, m, l, k, j, i, h, g, f, e, d, c, b, a) | |
type Reverse (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List type Reverse (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) = (o, n, m, l, k, j, i, h, g, f, e, d, c, b, a) |
class HasReverse t where Source #
Nothing
Instances
HasReverse () Source # | |
Defined in Data.Tuple.List | |
HasReverse (OneTuple a) Source # | |
HasReverse (Only a) Source # | |
HasReverse (Identity a) Source # | |
HasReverse (a, b) Source # | |
Defined in Data.Tuple.List | |
HasReverse (Proxy a) Source # | |
HasReverse (a, b, c) Source # | |
Defined in Data.Tuple.List | |
HasReverse (a, b, c, d) Source # | |
Defined in Data.Tuple.List | |
HasReverse (a, b, c, d, e) Source # | |
Defined in Data.Tuple.List | |
HasReverse (a, b, c, d, e, f) Source # | |
Defined in Data.Tuple.List | |
HasReverse (a, b, c, d, e, f, g) Source # | |
Defined in Data.Tuple.List | |
HasReverse (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Tuple.List | |
HasReverse (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Tuple.List | |
HasReverse (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Tuple.List | |
HasReverse (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Tuple.List | |
HasReverse (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Tuple.List | |
HasReverse (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Tuple.List | |
HasReverse (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Tuple.List | |
HasReverse (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Tuple.List |
class HasReverse' t r where Source #
Instances
HasReverse' () () Source # | |
Defined in Data.Tuple.List | |
(Single c0, Single c1, c0 ~ c1, a ~ b) => HasReverse' (c0 a) (c1 b) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (a, b) (b, a) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (Proxy a) (Proxy a) Source # | |
HasReverse' (a, b, c) (c, b, a) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (a, b, c, d) (d, c, b, a) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (a, b, c, d, e) (e, d, c, b, a) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (a, b, c, d, e, f) (f, e, d, c, b, a) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (a, b, c, d, e, f, g) (g, f, e, d, c, b, a) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (a, b, c, d, e, f, g, h) (h, g, f, e, d, c, b, a) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (a, b, c, d, e, f, g, h, i) (i, h, g, f, e, d, c, b, a) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (a, b, c, d, e, f, g, h, i, j) (j, i, h, g, f, e, d, c, b, a) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (a, b, c, d, e, f, g, h, i, j, k) (k, j, i, h, g, f, e, d, c, b, a) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (a, b, c, d, e, f, g, h, i, j, k, l) (l, k, j, i, h, g, f, e, d, c, b, a) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (a, b, c, d, e, f, g, h, i, j, k, l, m) (m, l, k, j, i, h, g, f, e, d, c, b, a) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) (n, m, l, k, j, i, h, g, f, e, d, c, b, a) Source # | |
Defined in Data.Tuple.List | |
HasReverse' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) (o, n, m, l, k, j, i, h, g, f, e, d, c, b, a) Source # | |
Defined in Data.Tuple.List |
Indexing tuples
type family t !! (n :: Nat) :: Type Source #
Instances
type (OneTuple a) !! 0 Source # | |
Defined in Data.Tuple.List.OneTuple | |
type (Only a) !! 0 Source # | |
Defined in Data.Tuple.List.Only | |
type (Identity a) !! 0 Source # | |
Defined in Data.Tuple.List.Identity | |
type (a, b) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b) !! 1 = b | |
type (a, b) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b) !! 0 = a | |
type (a, b, c) !! 2 Source # | |
Defined in Data.Tuple.List type (a, b, c) !! 2 = c | |
type (a, b, c) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b, c) !! 1 = b | |
type (a, b, c) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b, c) !! 0 = a | |
type (a, b, c, d) !! 3 Source # | |
Defined in Data.Tuple.List type (a, b, c, d) !! 3 = d | |
type (a, b, c, d) !! 2 Source # | |
Defined in Data.Tuple.List type (a, b, c, d) !! 2 = c | |
type (a, b, c, d) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b, c, d) !! 1 = b | |
type (a, b, c, d) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b, c, d) !! 0 = a | |
type (a, b, c, d, e) !! 4 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e) !! 4 = e | |
type (a, b, c, d, e) !! 3 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e) !! 3 = d | |
type (a, b, c, d, e) !! 2 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e) !! 2 = c | |
type (a, b, c, d, e) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e) !! 1 = b | |
type (a, b, c, d, e) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e) !! 0 = a | |
type (a, b, c, d, e, f) !! 5 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f) !! 5 = f | |
type (a, b, c, d, e, f) !! 4 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f) !! 4 = e | |
type (a, b, c, d, e, f) !! 3 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f) !! 3 = d | |
type (a, b, c, d, e, f) !! 2 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f) !! 2 = c | |
type (a, b, c, d, e, f) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f) !! 1 = b | |
type (a, b, c, d, e, f) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f) !! 0 = a | |
type (a, b, c, d, e, f, g) !! 6 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g) !! 6 = g | |
type (a, b, c, d, e, f, g) !! 5 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g) !! 5 = f | |
type (a, b, c, d, e, f, g) !! 4 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g) !! 4 = e | |
type (a, b, c, d, e, f, g) !! 3 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g) !! 3 = d | |
type (a, b, c, d, e, f, g) !! 2 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g) !! 2 = c | |
type (a, b, c, d, e, f, g) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g) !! 1 = b | |
type (a, b, c, d, e, f, g) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g) !! 0 = a | |
type (a, b, c, d, e, f, g, h) !! 7 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h) !! 7 = h | |
type (a, b, c, d, e, f, g, h) !! 6 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h) !! 6 = g | |
type (a, b, c, d, e, f, g, h) !! 5 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h) !! 5 = f | |
type (a, b, c, d, e, f, g, h) !! 4 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h) !! 4 = e | |
type (a, b, c, d, e, f, g, h) !! 3 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h) !! 3 = d | |
type (a, b, c, d, e, f, g, h) !! 2 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h) !! 2 = c | |
type (a, b, c, d, e, f, g, h) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h) !! 1 = b | |
type (a, b, c, d, e, f, g, h) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h) !! 0 = a | |
type (a, b, c, d, e, f, g, h, i) !! 8 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i) !! 8 = i | |
type (a, b, c, d, e, f, g, h, i) !! 7 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i) !! 7 = h | |
type (a, b, c, d, e, f, g, h, i) !! 6 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i) !! 6 = g | |
type (a, b, c, d, e, f, g, h, i) !! 5 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i) !! 5 = f | |
type (a, b, c, d, e, f, g, h, i) !! 4 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i) !! 4 = e | |
type (a, b, c, d, e, f, g, h, i) !! 3 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i) !! 3 = d | |
type (a, b, c, d, e, f, g, h, i) !! 2 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i) !! 2 = c | |
type (a, b, c, d, e, f, g, h, i) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i) !! 1 = b | |
type (a, b, c, d, e, f, g, h, i) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i) !! 0 = a | |
type (a, b, c, d, e, f, g, h, i, j) !! 9 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j) !! 9 = j | |
type (a, b, c, d, e, f, g, h, i, j) !! 8 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j) !! 8 = i | |
type (a, b, c, d, e, f, g, h, i, j) !! 7 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j) !! 7 = h | |
type (a, b, c, d, e, f, g, h, i, j) !! 6 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j) !! 6 = g | |
type (a, b, c, d, e, f, g, h, i, j) !! 5 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j) !! 5 = f | |
type (a, b, c, d, e, f, g, h, i, j) !! 4 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j) !! 4 = e | |
type (a, b, c, d, e, f, g, h, i, j) !! 3 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j) !! 3 = d | |
type (a, b, c, d, e, f, g, h, i, j) !! 2 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j) !! 2 = c | |
type (a, b, c, d, e, f, g, h, i, j) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j) !! 1 = b | |
type (a, b, c, d, e, f, g, h, i, j) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j) !! 0 = a | |
type (a, b, c, d, e, f, g, h, i, j, k) !! 10 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k) !! 10 = k | |
type (a, b, c, d, e, f, g, h, i, j, k) !! 9 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k) !! 9 = j | |
type (a, b, c, d, e, f, g, h, i, j, k) !! 8 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k) !! 8 = i | |
type (a, b, c, d, e, f, g, h, i, j, k) !! 7 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k) !! 7 = h | |
type (a, b, c, d, e, f, g, h, i, j, k) !! 6 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k) !! 6 = g | |
type (a, b, c, d, e, f, g, h, i, j, k) !! 5 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k) !! 5 = f | |
type (a, b, c, d, e, f, g, h, i, j, k) !! 4 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k) !! 4 = e | |
type (a, b, c, d, e, f, g, h, i, j, k) !! 3 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k) !! 3 = d | |
type (a, b, c, d, e, f, g, h, i, j, k) !! 2 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k) !! 2 = c | |
type (a, b, c, d, e, f, g, h, i, j, k) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k) !! 1 = b | |
type (a, b, c, d, e, f, g, h, i, j, k) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k) !! 0 = a | |
type (a, b, c, d, e, f, g, h, i, j, k, l) !! 11 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l) !! 11 = l | |
type (a, b, c, d, e, f, g, h, i, j, k, l) !! 10 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l) !! 10 = k | |
type (a, b, c, d, e, f, g, h, i, j, k, l) !! 9 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l) !! 9 = j | |
type (a, b, c, d, e, f, g, h, i, j, k, l) !! 8 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l) !! 8 = i | |
type (a, b, c, d, e, f, g, h, i, j, k, l) !! 7 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l) !! 7 = h | |
type (a, b, c, d, e, f, g, h, i, j, k, l) !! 6 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l) !! 6 = g | |
type (a, b, c, d, e, f, g, h, i, j, k, l) !! 5 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l) !! 5 = f | |
type (a, b, c, d, e, f, g, h, i, j, k, l) !! 4 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l) !! 4 = e | |
type (a, b, c, d, e, f, g, h, i, j, k, l) !! 3 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l) !! 3 = d | |
type (a, b, c, d, e, f, g, h, i, j, k, l) !! 2 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l) !! 2 = c | |
type (a, b, c, d, e, f, g, h, i, j, k, l) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l) !! 1 = b | |
type (a, b, c, d, e, f, g, h, i, j, k, l) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l) !! 0 = a | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 12 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 12 = m | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 11 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 11 = l | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 10 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 10 = k | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 9 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 9 = j | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 8 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 8 = i | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 7 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 7 = h | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 6 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 6 = g | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 5 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 5 = f | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 4 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 4 = e | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 3 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 3 = d | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 2 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 2 = c | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 1 = b | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m) !! 0 = a | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 13 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 13 = n | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 12 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 12 = m | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 11 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 11 = l | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 10 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 10 = k | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 9 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 9 = j | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 8 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 8 = i | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 7 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 7 = h | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 6 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 6 = g | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 5 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 5 = f | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 4 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 4 = e | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 3 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 3 = d | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 2 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 2 = c | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 1 = b | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n) !! 0 = a | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 14 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 14 = o | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 13 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 13 = n | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 12 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 12 = m | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 11 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 11 = l | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 10 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 10 = k | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 9 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 9 = j | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 8 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 8 = i | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 7 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 7 = h | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 6 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 6 = g | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 5 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 5 = f | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 4 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 4 = e | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 3 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 3 = d | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 2 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 2 = c | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 1 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 1 = b | |
type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 0 Source # | |
Defined in Data.Tuple.List type (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !! 0 = a |
class HasAt' t (n :: Nat) e where Source #
Nothing
Instances
(Single c, a ~ b) => HasAt' (c a) 0 b Source # | |
HasAt' (a, b) 1 b Source # | |
HasAt' (a, b) 0 a Source # | |
HasAt' (a, b, c) 2 c Source # | |
HasAt' (a, b, c) 1 b Source # | |
HasAt' (a, b, c) 0 a Source # | |
HasAt' (a, b, c, d) 3 d Source # | |
HasAt' (a, b, c, d) 2 c Source # | |
HasAt' (a, b, c, d) 1 b Source # | |
HasAt' (a, b, c, d) 0 a Source # | |
HasAt' (a, b, c, d, e) 4 e Source # | |
HasAt' (a, b, c, d, e) 3 d Source # | |
HasAt' (a, b, c, d, e) 2 c Source # | |
HasAt' (a, b, c, d, e) 1 b Source # | |
HasAt' (a, b, c, d, e) 0 a Source # | |
HasAt' (a, b, c, d, e, f) 5 f Source # | |
HasAt' (a, b, c, d, e, f) 4 e Source # | |
HasAt' (a, b, c, d, e, f) 3 d Source # | |
HasAt' (a, b, c, d, e, f) 2 c Source # | |
HasAt' (a, b, c, d, e, f) 1 b Source # | |
HasAt' (a, b, c, d, e, f) 0 a Source # | |
HasAt' (a, b, c, d, e, f, g) 6 g Source # | |
HasAt' (a, b, c, d, e, f, g) 5 f Source # | |
HasAt' (a, b, c, d, e, f, g) 4 e Source # | |
HasAt' (a, b, c, d, e, f, g) 3 d Source # | |
HasAt' (a, b, c, d, e, f, g) 2 c Source # | |
HasAt' (a, b, c, d, e, f, g) 1 b Source # | |
HasAt' (a, b, c, d, e, f, g) 0 a Source # | |
HasAt' (a, b, c, d, e, f, g, h) 7 h Source # | |
HasAt' (a, b, c, d, e, f, g, h) 6 g Source # | |
HasAt' (a, b, c, d, e, f, g, h) 5 f Source # | |
HasAt' (a, b, c, d, e, f, g, h) 4 e Source # | |
HasAt' (a, b, c, d, e, f, g, h) 3 d Source # | |
HasAt' (a, b, c, d, e, f, g, h) 2 c Source # | |
HasAt' (a, b, c, d, e, f, g, h) 1 b Source # | |
HasAt' (a, b, c, d, e, f, g, h) 0 a Source # | |
HasAt' (a, b, c, d, e, f, g, h, i) 8 i Source # | |
HasAt' (a, b, c, d, e, f, g, h, i) 7 h Source # | |
HasAt' (a, b, c, d, e, f, g, h, i) 6 g Source # | |
HasAt' (a, b, c, d, e, f, g, h, i) 5 f Source # | |
HasAt' (a, b, c, d, e, f, g, h, i) 4 e Source # | |
HasAt' (a, b, c, d, e, f, g, h, i) 3 d Source # | |
HasAt' (a, b, c, d, e, f, g, h, i) 2 c Source # | |
HasAt' (a, b, c, d, e, f, g, h, i) 1 b Source # | |
HasAt' (a, b, c, d, e, f, g, h, i) 0 a Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j) 9 j Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j) 8 i Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j) 7 h Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j) 6 g Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j) 5 f Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j) 4 e Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j) 3 d Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j) 2 c Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j) 1 b Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j) 0 a Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k) 10 k Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k) 9 j Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k) 8 i Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k) 7 h Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k) 6 g Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k) 5 f Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k) 4 e Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k) 3 d Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k) 2 c Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k) 1 b Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k) 0 a Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l) 11 l Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l) 10 k Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l) 9 j Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l) 8 i Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l) 7 h Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l) 6 g Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l) 5 f Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l) 4 e Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l) 3 d Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l) 2 c Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l) 1 b Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l) 0 a Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m) 12 m Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m) 11 l Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m) 10 k Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m) 9 j Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m) 8 i Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m) 7 h Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m) 6 g Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m) 5 f Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m) 4 e Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m) 3 d Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m) 2 c Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m) 1 b Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m) 0 a Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 13 n Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 12 m Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 11 l Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 10 k Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 9 j Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 8 i Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 7 h Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 6 g Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 5 f Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 4 e Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 3 d Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 2 c Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 1 b Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 0 a Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 14 o Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 13 n Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 12 m Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 11 l Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 10 k Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 9 j Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 8 i Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 7 h Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 6 g Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 5 f Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 4 e Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 3 d Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 2 c Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 1 b Source # | |
HasAt' (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 0 a Source # | |
class HasAt t (n :: Nat) where Source #
Nothing
(!!) :: t -> proxy n -> t !! n Source #
(!!) :: HasAt' t n (t !! n) => t -> proxy n -> t !! n Source #
Instances
HasAt (OneTuple a) 0 Source # | |
HasAt (Only a) 0 Source # | |
HasAt (Identity a) 0 Source # | |
HasAt (a, b) 1 Source # | |
HasAt (a, b) 0 Source # | |
HasAt (a, b, c) 2 Source # | |
HasAt (a, b, c) 1 Source # | |
HasAt (a, b, c) 0 Source # | |
HasAt (a, b, c, d) 3 Source # | |
HasAt (a, b, c, d) 2 Source # | |
HasAt (a, b, c, d) 1 Source # | |
HasAt (a, b, c, d) 0 Source # | |
HasAt (a, b, c, d, e) 4 Source # | |
HasAt (a, b, c, d, e) 3 Source # | |
HasAt (a, b, c, d, e) 2 Source # | |
HasAt (a, b, c, d, e) 1 Source # | |
HasAt (a, b, c, d, e) 0 Source # | |
HasAt (a, b, c, d, e, f) 5 Source # | |
HasAt (a, b, c, d, e, f) 4 Source # | |
HasAt (a, b, c, d, e, f) 3 Source # | |
HasAt (a, b, c, d, e, f) 2 Source # | |
HasAt (a, b, c, d, e, f) 1 Source # | |
HasAt (a, b, c, d, e, f) 0 Source # | |
HasAt (a, b, c, d, e, f, g) 6 Source # | |
HasAt (a, b, c, d, e, f, g) 5 Source # | |
HasAt (a, b, c, d, e, f, g) 4 Source # | |
HasAt (a, b, c, d, e, f, g) 3 Source # | |
HasAt (a, b, c, d, e, f, g) 2 Source # | |
HasAt (a, b, c, d, e, f, g) 1 Source # | |
HasAt (a, b, c, d, e, f, g) 0 Source # | |
HasAt (a, b, c, d, e, f, g, h) 7 Source # | |
HasAt (a, b, c, d, e, f, g, h) 6 Source # | |
HasAt (a, b, c, d, e, f, g, h) 5 Source # | |
HasAt (a, b, c, d, e, f, g, h) 4 Source # | |
HasAt (a, b, c, d, e, f, g, h) 3 Source # | |
HasAt (a, b, c, d, e, f, g, h) 2 Source # | |
HasAt (a, b, c, d, e, f, g, h) 1 Source # | |
HasAt (a, b, c, d, e, f, g, h) 0 Source # | |
HasAt (a, b, c, d, e, f, g, h, i) 8 Source # | |
HasAt (a, b, c, d, e, f, g, h, i) 7 Source # | |
HasAt (a, b, c, d, e, f, g, h, i) 6 Source # | |
HasAt (a, b, c, d, e, f, g, h, i) 5 Source # | |
HasAt (a, b, c, d, e, f, g, h, i) 4 Source # | |
HasAt (a, b, c, d, e, f, g, h, i) 3 Source # | |
HasAt (a, b, c, d, e, f, g, h, i) 2 Source # | |
HasAt (a, b, c, d, e, f, g, h, i) 1 Source # | |
HasAt (a, b, c, d, e, f, g, h, i) 0 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j) 9 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j) 8 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j) 7 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j) 6 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j) 5 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j) 4 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j) 3 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j) 2 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j) 1 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j) 0 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k) 10 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k) 9 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k) 8 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k) 7 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k) 6 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k) 5 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k) 4 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k) 3 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k) 2 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k) 1 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k) 0 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l) 11 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l) 10 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l) 9 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l) 8 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l) 7 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l) 6 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l) 5 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l) 4 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l) 3 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l) 2 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l) 1 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l) 0 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m) 12 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m) 11 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m) 10 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m) 9 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m) 8 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m) 7 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m) 6 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m) 5 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m) 4 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m) 3 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m) 2 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m) 1 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m) 0 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 13 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 12 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 11 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 10 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 9 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 8 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 7 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 6 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 5 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 4 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 3 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 2 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 1 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 0 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 14 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 13 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 12 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 11 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 10 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 9 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 8 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 7 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 6 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 5 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 4 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 3 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 2 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 1 Source # | |
HasAt (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 0 Source # | |