{-# LANGUAGE DeriveFoldable #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveTraversable #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE StrictData #-}
module Data.Tuple.Strict.T12
( T12 (..),
)
where
import Control.DeepSeq (NFData, rnf)
import Data.Bifoldable
import Data.Bifunctor
import Data.Bitraversable
import Data.Functor.Classes (Eq1 (liftEq), Eq2 (liftEq2))
import Data.Hashable (Hashable, hash, hashWithSalt)
import Data.Hashable.Lifted
( Hashable1,
Hashable2,
defaultLiftHashWithSalt,
hashWithSalt1,
liftHashWithSalt,
liftHashWithSalt2,
)
import Data.Semigroup
import GHC.Generics (Generic)
data T12 a b c d e f g h i j k l
= T12 a b c d e f g h i j k l
deriving stock (T12 a b c d e f g h i j k l
forall a. a -> a -> Bounded a
forall a b c d e f g h i j k l.
(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f,
Bounded g, Bounded h, Bounded i, Bounded j, Bounded k,
Bounded l) =>
T12 a b c d e f g h i j k l
maxBound :: T12 a b c d e f g h i j k l
$cmaxBound :: forall a b c d e f g h i j k l.
(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f,
Bounded g, Bounded h, Bounded i, Bounded j, Bounded k,
Bounded l) =>
T12 a b c d e f g h i j k l
minBound :: T12 a b c d e f g h i j k l
$cminBound :: forall a b c d e f g h i j k l.
(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f,
Bounded g, Bounded h, Bounded i, Bounded j, Bounded k,
Bounded l) =>
T12 a b c d e f g h i j k l
Bounded, T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
forall a b c d e f g h i j k l.
(Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k,
Eq l) =>
T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
/= :: T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
$c/= :: forall a b c d e f g h i j k l.
(Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k,
Eq l) =>
T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
== :: T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
$c== :: forall a b c d e f g h i j k l.
(Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k,
Eq l) =>
T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
Eq, T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
T12 a b c d e f g h i j k l
-> T12 a b c d e f g h i j k l -> Ordering
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
forall {a} {b} {c} {d} {e} {f} {g} {h} {i} {j} {k} {l}.
(Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i,
Ord j, Ord k, Ord l) =>
Eq (T12 a b c d e f g h i j k l)
forall a b c d e f g h i j k l.
(Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i,
Ord j, Ord k, Ord l) =>
T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
forall a b c d e f g h i j k l.
(Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i,
Ord j, Ord k, Ord l) =>
T12 a b c d e f g h i j k l
-> T12 a b c d e f g h i j k l -> Ordering
forall a b c d e f g h i j k l.
(Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i,
Ord j, Ord k, Ord l) =>
T12 a b c d e f g h i j k l
-> T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l
min :: T12 a b c d e f g h i j k l
-> T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l
$cmin :: forall a b c d e f g h i j k l.
(Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i,
Ord j, Ord k, Ord l) =>
T12 a b c d e f g h i j k l
-> T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l
max :: T12 a b c d e f g h i j k l
-> T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l
$cmax :: forall a b c d e f g h i j k l.
(Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i,
Ord j, Ord k, Ord l) =>
T12 a b c d e f g h i j k l
-> T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l
>= :: T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
$c>= :: forall a b c d e f g h i j k l.
(Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i,
Ord j, Ord k, Ord l) =>
T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
> :: T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
$c> :: forall a b c d e f g h i j k l.
(Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i,
Ord j, Ord k, Ord l) =>
T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
<= :: T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
$c<= :: forall a b c d e f g h i j k l.
(Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i,
Ord j, Ord k, Ord l) =>
T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
< :: T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
$c< :: forall a b c d e f g h i j k l.
(Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i,
Ord j, Ord k, Ord l) =>
T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l -> Bool
compare :: T12 a b c d e f g h i j k l
-> T12 a b c d e f g h i j k l -> Ordering
$ccompare :: forall a b c d e f g h i j k l.
(Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i,
Ord j, Ord k, Ord l) =>
T12 a b c d e f g h i j k l
-> T12 a b c d e f g h i j k l -> Ordering
Ord, ReadPrec [T12 a b c d e f g h i j k l]
ReadPrec (T12 a b c d e f g h i j k l)
ReadS [T12 a b c d e f g h i j k l]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
forall a b c d e f g h i j k l.
(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h,
Read i, Read j, Read k, Read l) =>
ReadPrec [T12 a b c d e f g h i j k l]
forall a b c d e f g h i j k l.
(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h,
Read i, Read j, Read k, Read l) =>
ReadPrec (T12 a b c d e f g h i j k l)
forall a b c d e f g h i j k l.
(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h,
Read i, Read j, Read k, Read l) =>
Int -> ReadS (T12 a b c d e f g h i j k l)
forall a b c d e f g h i j k l.
(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h,
Read i, Read j, Read k, Read l) =>
ReadS [T12 a b c d e f g h i j k l]
readListPrec :: ReadPrec [T12 a b c d e f g h i j k l]
$creadListPrec :: forall a b c d e f g h i j k l.
(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h,
Read i, Read j, Read k, Read l) =>
ReadPrec [T12 a b c d e f g h i j k l]
readPrec :: ReadPrec (T12 a b c d e f g h i j k l)
$creadPrec :: forall a b c d e f g h i j k l.
(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h,
Read i, Read j, Read k, Read l) =>
ReadPrec (T12 a b c d e f g h i j k l)
readList :: ReadS [T12 a b c d e f g h i j k l]
$creadList :: forall a b c d e f g h i j k l.
(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h,
Read i, Read j, Read k, Read l) =>
ReadS [T12 a b c d e f g h i j k l]
readsPrec :: Int -> ReadS (T12 a b c d e f g h i j k l)
$creadsPrec :: forall a b c d e f g h i j k l.
(Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h,
Read i, Read j, Read k, Read l) =>
Int -> ReadS (T12 a b c d e f g h i j k l)
Read, Int -> T12 a b c d e f g h i j k l -> ShowS
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
forall a b c d e f g h i j k l.
(Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h,
Show i, Show j, Show k, Show l) =>
Int -> T12 a b c d e f g h i j k l -> ShowS
forall a b c d e f g h i j k l.
(Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h,
Show i, Show j, Show k, Show l) =>
[T12 a b c d e f g h i j k l] -> ShowS
forall a b c d e f g h i j k l.
(Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h,
Show i, Show j, Show k, Show l) =>
T12 a b c d e f g h i j k l -> String
showList :: [T12 a b c d e f g h i j k l] -> ShowS
$cshowList :: forall a b c d e f g h i j k l.
(Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h,
Show i, Show j, Show k, Show l) =>
[T12 a b c d e f g h i j k l] -> ShowS
show :: T12 a b c d e f g h i j k l -> String
$cshow :: forall a b c d e f g h i j k l.
(Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h,
Show i, Show j, Show k, Show l) =>
T12 a b c d e f g h i j k l -> String
showsPrec :: Int -> T12 a b c d e f g h i j k l -> ShowS
$cshowsPrec :: forall a b c d e f g h i j k l.
(Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h,
Show i, Show j, Show k, Show l) =>
Int -> T12 a b c d e f g h i j k l -> ShowS
Show, forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
forall a b c d e f g h i j k l x.
Rep (T12 a b c d e f g h i j k l) x -> T12 a b c d e f g h i j k l
forall a b c d e f g h i j k l x.
T12 a b c d e f g h i j k l -> Rep (T12 a b c d e f g h i j k l) x
$cto :: forall a b c d e f g h i j k l x.
Rep (T12 a b c d e f g h i j k l) x -> T12 a b c d e f g h i j k l
$cfrom :: forall a b c d e f g h i j k l x.
T12 a b c d e f g h i j k l -> Rep (T12 a b c d e f g h i j k l) x
Generic)
deriving stock instance Foldable (T12 a b c d e f g h i j k)
deriving stock instance Functor (T12 a b c d e f g h i j k)
deriving stock instance Traversable (T12 a b c d e f g h i j k)
instance (Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k) => Eq1 (T12 a b c d e f g h i j k) where
liftEq :: forall a b.
(a -> b -> Bool)
-> T12 a b c d e f g h i j k a
-> T12 a b c d e f g h i j k b
-> Bool
liftEq = forall (f :: * -> * -> *) a b c d.
Eq2 f =>
(a -> b -> Bool) -> (c -> d -> Bool) -> f a c -> f b d -> Bool
liftEq2 forall a. Eq a => a -> a -> Bool
(==)
instance (Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j) => Eq2 (T12 a b c d e f g h i j) where
liftEq2 :: forall a b c d.
(a -> b -> Bool)
-> (c -> d -> Bool)
-> T12 a b c d e f g h i j a c
-> T12 a b c d e f g h i j b d
-> Bool
liftEq2 a -> b -> Bool
e1 c -> d -> Bool
e2 (T12 a
a b
b c
c d
d e
e f
f g
g h
h i
i j
j a
k c
l) (T12 a
a' b
b' c
c' d
d' e
e' f
f' g
g' h
h' i
i' j
j' b
k' d
l') =
a
a forall a. Eq a => a -> a -> Bool
== a
a' Bool -> Bool -> Bool
&& b
b forall a. Eq a => a -> a -> Bool
== b
b' Bool -> Bool -> Bool
&& c
c forall a. Eq a => a -> a -> Bool
== c
c' Bool -> Bool -> Bool
&& d
d forall a. Eq a => a -> a -> Bool
== d
d' Bool -> Bool -> Bool
&& e
e forall a. Eq a => a -> a -> Bool
== e
e' Bool -> Bool -> Bool
&& f
f forall a. Eq a => a -> a -> Bool
== f
f' Bool -> Bool -> Bool
&& g
g forall a. Eq a => a -> a -> Bool
== g
g' Bool -> Bool -> Bool
&& h
h forall a. Eq a => a -> a -> Bool
== h
h' Bool -> Bool -> Bool
&& i
i forall a. Eq a => a -> a -> Bool
== i
i' Bool -> Bool -> Bool
&& j
j forall a. Eq a => a -> a -> Bool
== j
j' Bool -> Bool -> Bool
&& a -> b -> Bool
e1 a
k b
k' Bool -> Bool -> Bool
&& c -> d -> Bool
e2 c
l d
l'
instance
(Monoid a, Monoid b, Monoid c, Monoid d, Monoid e, Monoid f, Monoid g, Monoid h, Monoid i, Monoid j, Monoid k) =>
Applicative (T12 a b c d e f g h i j k)
where
pure :: forall a. a -> T12 a b c d e f g h i j k a
pure a
l = forall a b c d e f g h i j k l.
a
-> b
-> c
-> d
-> e
-> f
-> g
-> h
-> i
-> j
-> k
-> l
-> T12 a b c d e f g h i j k l
T12 forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty a
l
T12 a
a b
b c
c d
d e
e f
f g
g h
h i
i j
j k
k a -> b
l <*> :: forall a b.
T12 a b c d e f g h i j k (a -> b)
-> T12 a b c d e f g h i j k a -> T12 a b c d e f g h i j k b
<*> T12 a
a' b
b' c
c' d
d' e
e' f
f' g
g' h
h' i
i' j
j' k
k' a
l' =
forall a b c d e f g h i j k l.
a
-> b
-> c
-> d
-> e
-> f
-> g
-> h
-> i
-> j
-> k
-> l
-> T12 a b c d e f g h i j k l
T12 (a
a forall a. Semigroup a => a -> a -> a
<> a
a') (b
b forall a. Semigroup a => a -> a -> a
<> b
b') (c
c forall a. Semigroup a => a -> a -> a
<> c
c') (d
d forall a. Semigroup a => a -> a -> a
<> d
d') (e
e forall a. Semigroup a => a -> a -> a
<> e
e') (f
f forall a. Semigroup a => a -> a -> a
<> f
f') (g
g forall a. Semigroup a => a -> a -> a
<> g
g') (h
h forall a. Semigroup a => a -> a -> a
<> h
h') (i
i forall a. Semigroup a => a -> a -> a
<> i
i') (j
j forall a. Semigroup a => a -> a -> a
<> j
j') (k
k forall a. Semigroup a => a -> a -> a
<> k
k') (a -> b
l a
l')
instance
(Monoid a, Monoid b, Monoid c, Monoid d, Monoid e, Monoid f, Monoid g, Monoid h, Monoid i, Monoid j, Monoid k) =>
Monad (T12 a b c d e f g h i j k)
where
return :: forall a. a -> T12 a b c d e f g h i j k a
return = forall (f :: * -> *) a. Applicative f => a -> f a
pure
T12 a
a b
b c
c d
d e
e f
f g
g h
h i
i j
j k
k a
l >>= :: forall a b.
T12 a b c d e f g h i j k a
-> (a -> T12 a b c d e f g h i j k b)
-> T12 a b c d e f g h i j k b
>>= a -> T12 a b c d e f g h i j k b
m = case a -> T12 a b c d e f g h i j k b
m a
l of
T12 a
a' b
b' c
c' d
d' e
e' f
f' g
g' h
h' i
i' j
j' k
k' b
l' ->
forall a b c d e f g h i j k l.
a
-> b
-> c
-> d
-> e
-> f
-> g
-> h
-> i
-> j
-> k
-> l
-> T12 a b c d e f g h i j k l
T12 (a
a forall a. Semigroup a => a -> a -> a
<> a
a') (b
b forall a. Semigroup a => a -> a -> a
<> b
b') (c
c forall a. Semigroup a => a -> a -> a
<> c
c') (d
d forall a. Semigroup a => a -> a -> a
<> d
d') (e
e forall a. Semigroup a => a -> a -> a
<> e
e') (f
f forall a. Semigroup a => a -> a -> a
<> f
f') (g
g forall a. Semigroup a => a -> a -> a
<> g
g') (h
h forall a. Semigroup a => a -> a -> a
<> h
h') (i
i forall a. Semigroup a => a -> a -> a
<> i
i') (j
j forall a. Semigroup a => a -> a -> a
<> j
j') (k
k forall a. Semigroup a => a -> a -> a
<> k
k') b
l'
instance (Hashable a, Hashable b, Hashable c, Hashable d, Hashable e, Hashable f, Hashable g, Hashable h, Hashable i, Hashable j, Hashable k, Hashable l) => Hashable (T12 a b c d e f g h i j k l) where
hash :: T12 a b c d e f g h i j k l -> Int
hash (T12 a
a b
b c
c d
d e
e f
f g
g h
h i
i j
j k
k l
l) = forall a. Hashable a => a -> Int
hash a
a forall a. Hashable a => Int -> a -> Int
`hashWithSalt` b
b forall a. Hashable a => Int -> a -> Int
`hashWithSalt` c
c forall a. Hashable a => Int -> a -> Int
`hashWithSalt` d
d forall a. Hashable a => Int -> a -> Int
`hashWithSalt` e
e forall a. Hashable a => Int -> a -> Int
`hashWithSalt` f
f forall a. Hashable a => Int -> a -> Int
`hashWithSalt` g
g forall a. Hashable a => Int -> a -> Int
`hashWithSalt` h
h forall a. Hashable a => Int -> a -> Int
`hashWithSalt` i
i forall a. Hashable a => Int -> a -> Int
`hashWithSalt` j
j forall a. Hashable a => Int -> a -> Int
`hashWithSalt` k
k forall a. Hashable a => Int -> a -> Int
`hashWithSalt` l
l
hashWithSalt :: Int -> T12 a b c d e f g h i j k l -> Int
hashWithSalt = forall (f :: * -> *) a.
(Hashable1 f, Hashable a) =>
Int -> f a -> Int
hashWithSalt1
instance (Hashable a, Hashable b, Hashable c, Hashable d, Hashable e, Hashable f, Hashable g, Hashable h, Hashable i, Hashable j, Hashable k) => Hashable1 (T12 a b c d e f g h i j k) where
liftHashWithSalt :: forall a.
(Int -> a -> Int) -> Int -> T12 a b c d e f g h i j k a -> Int
liftHashWithSalt = forall (f :: * -> * -> *) a b.
(Hashable2 f, Hashable a) =>
(Int -> b -> Int) -> Int -> f a b -> Int
defaultLiftHashWithSalt
instance (Hashable a, Hashable b, Hashable c, Hashable d, Hashable e, Hashable f, Hashable g, Hashable h, Hashable i, Hashable j) => Hashable2 (T12 a b c d e f g h i j) where
liftHashWithSalt2 :: forall a b.
(Int -> a -> Int)
-> (Int -> b -> Int) -> Int -> T12 a b c d e f g h i j a b -> Int
liftHashWithSalt2 Int -> a -> Int
h1 Int -> b -> Int
h2 Int
slt (T12 a
a b
b c
c d
d e
e f
f g
g h
h i
i j
j a
k b
l) =
(Int
slt forall a. Hashable a => Int -> a -> Int
`hashWithSalt` a
a forall a. Hashable a => Int -> a -> Int
`hashWithSalt` b
b forall a. Hashable a => Int -> a -> Int
`hashWithSalt` c
c forall a. Hashable a => Int -> a -> Int
`hashWithSalt` d
d forall a. Hashable a => Int -> a -> Int
`hashWithSalt` e
e forall a. Hashable a => Int -> a -> Int
`hashWithSalt` f
f forall a. Hashable a => Int -> a -> Int
`hashWithSalt` g
g forall a. Hashable a => Int -> a -> Int
`hashWithSalt` h
h forall a. Hashable a => Int -> a -> Int
`hashWithSalt` i
i forall a. Hashable a => Int -> a -> Int
`hashWithSalt` j
j) Int -> a -> Int
`h1` a
k Int -> b -> Int
`h2` b
l
instance (Monoid a, Monoid b, Monoid c, Monoid d, Monoid e, Monoid f, Monoid g, Monoid h, Monoid i, Monoid j, Monoid k, Monoid l) => Monoid (T12 a b c d e f g h i j k l) where
mempty :: T12 a b c d e f g h i j k l
mempty = forall a b c d e f g h i j k l.
a
-> b
-> c
-> d
-> e
-> f
-> g
-> h
-> i
-> j
-> k
-> l
-> T12 a b c d e f g h i j k l
T12 forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty forall a. Monoid a => a
mempty
instance (NFData a, NFData b, NFData c, NFData d, NFData e, NFData f, NFData g, NFData h, NFData i, NFData j, NFData k, NFData l) => NFData (T12 a b c d e f g h i j k l) where
rnf :: T12 a b c d e f g h i j k l -> ()
rnf (T12 a
a b
b c
c d
d e
e f
f g
g h
h i
i j
j k
k l
l) = forall a. NFData a => a -> ()
rnf a
a seq :: forall a b. a -> b -> b
`seq` forall a. NFData a => a -> ()
rnf b
b seq :: forall a b. a -> b -> b
`seq` forall a. NFData a => a -> ()
rnf c
c seq :: forall a b. a -> b -> b
`seq` forall a. NFData a => a -> ()
rnf d
d seq :: forall a b. a -> b -> b
`seq` forall a. NFData a => a -> ()
rnf e
e seq :: forall a b. a -> b -> b
`seq` forall a. NFData a => a -> ()
rnf f
f seq :: forall a b. a -> b -> b
`seq` forall a. NFData a => a -> ()
rnf g
g seq :: forall a b. a -> b -> b
`seq` forall a. NFData a => a -> ()
rnf h
h seq :: forall a b. a -> b -> b
`seq` forall a. NFData a => a -> ()
rnf i
i seq :: forall a b. a -> b -> b
`seq` forall a. NFData a => a -> ()
rnf j
j seq :: forall a b. a -> b -> b
`seq` forall a. NFData a => a -> ()
rnf k
k seq :: forall a b. a -> b -> b
`seq` forall a. NFData a => a -> ()
rnf l
l
instance (Semigroup a, Semigroup b, Semigroup c, Semigroup d, Semigroup e, Semigroup f, Semigroup g, Semigroup h, Semigroup i, Semigroup j, Semigroup k, Semigroup l) => Semigroup (T12 a b c d e f g h i j k l) where
T12 a
a1 b
b1 c
c1 d
d1 e
e1 f
f1 g
g1 h
h1 i
i1 j
j1 k
k1 l
l1 <> :: T12 a b c d e f g h i j k l
-> T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l
<> T12 a
a2 b
b2 c
c2 d
d2 e
e2 f
f2 g
g2 h
h2 i
i2 j
j2 k
k2 l
l2 = forall a b c d e f g h i j k l.
a
-> b
-> c
-> d
-> e
-> f
-> g
-> h
-> i
-> j
-> k
-> l
-> T12 a b c d e f g h i j k l
T12 (a
a1 forall a. Semigroup a => a -> a -> a
<> a
a2) (b
b1 forall a. Semigroup a => a -> a -> a
<> b
b2) (c
c1 forall a. Semigroup a => a -> a -> a
<> c
c2) (d
d1 forall a. Semigroup a => a -> a -> a
<> d
d2) (e
e1 forall a. Semigroup a => a -> a -> a
<> e
e2) (f
f1 forall a. Semigroup a => a -> a -> a
<> f
f2) (g
g1 forall a. Semigroup a => a -> a -> a
<> g
g2) (h
h1 forall a. Semigroup a => a -> a -> a
<> h
h2) (i
i1 forall a. Semigroup a => a -> a -> a
<> i
i2) (j
j1 forall a. Semigroup a => a -> a -> a
<> j
j2) (k
k1 forall a. Semigroup a => a -> a -> a
<> k
k2) (l
l1 forall a. Semigroup a => a -> a -> a
<> l
l2)
stimes :: forall b.
Integral b =>
b -> T12 a b c d e f g h i j k l -> T12 a b c d e f g h i j k l
stimes b
ii (T12 a
a b
b c
c d
d e
e f
f g
g h
h i
i j
j k
k l
l) = forall a b c d e f g h i j k l.
a
-> b
-> c
-> d
-> e
-> f
-> g
-> h
-> i
-> j
-> k
-> l
-> T12 a b c d e f g h i j k l
T12 (forall a b. (Semigroup a, Integral b) => b -> a -> a
stimes b
ii a
a) (forall a b. (Semigroup a, Integral b) => b -> a -> a
stimes b
ii b
b) (forall a b. (Semigroup a, Integral b) => b -> a -> a
stimes b
ii c
c) (forall a b. (Semigroup a, Integral b) => b -> a -> a
stimes b
ii d
d) (forall a b. (Semigroup a, Integral b) => b -> a -> a
stimes b
ii e
e) (forall a b. (Semigroup a, Integral b) => b -> a -> a
stimes b
ii f
f) (forall a b. (Semigroup a, Integral b) => b -> a -> a
stimes b
ii g
g) (forall a b. (Semigroup a, Integral b) => b -> a -> a
stimes b
ii h
h) (forall a b. (Semigroup a, Integral b) => b -> a -> a
stimes b
ii i
i) (forall a b. (Semigroup a, Integral b) => b -> a -> a
stimes b
ii j
j) (forall a b. (Semigroup a, Integral b) => b -> a -> a
stimes b
ii k
k) (forall a b. (Semigroup a, Integral b) => b -> a -> a
stimes b
ii l
l)
instance Bifunctor (T12 x y z w t u v p q r) where
bimap :: forall a b c d.
(a -> b)
-> (c -> d)
-> T12 x y z w t u v p q r a c
-> T12 x y z w t u v p q r b d
bimap a -> b
f c -> d
g (T12 x
x y
y z
z w
w t
t u
u v
v p
p q
q r
r a
a c
b) = forall a b c d e f g h i j k l.
a
-> b
-> c
-> d
-> e
-> f
-> g
-> h
-> i
-> j
-> k
-> l
-> T12 a b c d e f g h i j k l
T12 x
x y
y z
z w
w t
t u
u v
v p
p q
q r
r (a -> b
f a
a) (c -> d
g c
b)
instance Bifoldable (T12 x y z w t u v p q r) where
bifoldMap :: forall m a b.
Monoid m =>
(a -> m) -> (b -> m) -> T12 x y z w t u v p q r a b -> m
bifoldMap a -> m
f b -> m
g (T12 x
_ y
_ z
_ w
_ t
_ u
_ v
_ p
_ q
_ r
_ a
a b
b) = a -> m
f a
a forall a. Semigroup a => a -> a -> a
<> b -> m
g b
b
instance Bitraversable (T12 x y z w t u v p q r) where
bitraverse :: forall (f :: * -> *) a c b d.
Applicative f =>
(a -> f c)
-> (b -> f d)
-> T12 x y z w t u v p q r a b
-> f (T12 x y z w t u v p q r c d)
bitraverse a -> f c
f b -> f d
g (T12 x
x y
y z
z w
w t
t u
u v
v p
p q
q r
r a
a b
b) = forall a b c d e f g h i j k l.
a
-> b
-> c
-> d
-> e
-> f
-> g
-> h
-> i
-> j
-> k
-> l
-> T12 a b c d e f g h i j k l
T12 x
x y
y z
z w
w t
t u
u v
v p
p q
q r
r forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> a -> f c
f a
a forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> b -> f d
g b
b