{-# LANGUAGE CPP #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE PatternGuards #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE TypeSynonymInstances #-}
{-# LANGUAGE UndecidableInstances #-}

module Database.Persist.Sql.Class
    ( RawSql (..)
    , PersistFieldSql (..)
    , EntityWithPrefix(..)
    , unPrefix
    ) where

import Data.Bits (bitSizeMaybe)
import Data.ByteString (ByteString)
import Data.Fixed
import Data.Foldable (toList)
import Data.Int
import qualified Data.IntMap as IM
import qualified Data.Map as M
import Data.Maybe (fromMaybe)
import Data.Proxy (Proxy(..))
import qualified Data.Set as S
import Data.Text (Text, intercalate, pack)
import qualified Data.Text as T
import qualified Data.Text.Lazy as TL
import Data.Time (Day, TimeOfDay, UTCTime)
import qualified Data.Vector as V
import Data.Word
import GHC.TypeLits (KnownSymbol, Symbol, symbolVal)
import Text.Blaze.Html (Html)

import Database.Persist
import Database.Persist.Sql.Types


-- | Class for data types that may be retrived from a 'rawSql'
-- query.
class RawSql a where
    -- | Number of columns that this data type needs and the list
    -- of substitutions for @SELECT@ placeholders @??@.
    rawSqlCols :: (Text -> Text) -> a -> (Int, [Text])

    -- | A string telling the user why the column count is what
    -- it is.
    rawSqlColCountReason :: a -> String

    -- | Transform a row of the result into the data type.
    rawSqlProcessRow :: [PersistValue] -> Either Text a

instance PersistField a => RawSql (Single a) where
    rawSqlCols :: (Text -> Text) -> Single a -> (Int, [Text])
rawSqlCols Text -> Text
_ Single a
_         = (Int
1, [])
    rawSqlColCountReason :: Single a -> String
rawSqlColCountReason Single a
_ = String
"one column for a 'Single' data type"
    rawSqlProcessRow :: [PersistValue] -> Either Text (Single a)
rawSqlProcessRow [PersistValue
pv]  = forall a. a -> Single a
Single forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> forall a. PersistField a => PersistValue -> Either Text a
fromPersistValue PersistValue
pv
    rawSqlProcessRow [PersistValue]
_     = forall a b. a -> Either a b
Left forall a b. (a -> b) -> a -> b
$ String -> Text
pack String
"RawSql (Single a): wrong number of columns."

instance
    (PersistEntity a, PersistEntityBackend a ~ backend, IsPersistBackend backend) =>
    RawSql (Key a) where
    rawSqlCols :: (Text -> Text) -> Key a -> (Int, [Text])
rawSqlCols Text -> Text
_ Key a
key         = (forall (t :: * -> *) a. Foldable t => t a -> Int
length forall a b. (a -> b) -> a -> b
$ forall record. PersistEntity record => Key record -> [PersistValue]
keyToValues Key a
key, [])
    rawSqlColCountReason :: Key a -> String
rawSqlColCountReason Key a
key = String
"The primary key is composed of "
                               forall a. [a] -> [a] -> [a]
++ (forall a. Show a => a -> String
show forall a b. (a -> b) -> a -> b
$ forall (t :: * -> *) a. Foldable t => t a -> Int
length forall a b. (a -> b) -> a -> b
$ forall record. PersistEntity record => Key record -> [PersistValue]
keyToValues Key a
key)
                               forall a. [a] -> [a] -> [a]
++ String
" columns"
    rawSqlProcessRow :: [PersistValue] -> Either Text (Key a)
rawSqlProcessRow         = forall record.
PersistEntity record =>
[PersistValue] -> Either Text (Key record)
keyFromValues

instance
    (PersistEntity record, PersistEntityBackend record ~ backend, IsPersistBackend backend)
  =>
    RawSql (Entity record)
  where
    rawSqlCols :: (Text -> Text) -> Entity record -> (Int, [Text])
rawSqlCols Text -> Text
escape Entity record
_ent = (forall (t :: * -> *) a. Foldable t => t a -> Int
length NonEmpty Text
sqlFields, [Text -> [Text] -> Text
intercalate Text
", " forall a b. (a -> b) -> a -> b
$ forall (t :: * -> *) a. Foldable t => t a -> [a]
toList NonEmpty Text
sqlFields])
      where
        sqlFields :: NonEmpty Text
sqlFields =
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap (((Text
name forall a. Semigroup a => a -> a -> a
<> Text
".") forall a. Semigroup a => a -> a -> a
<>) forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a str. DatabaseName a => (Text -> str) -> a -> str
escapeWith Text -> Text
escape)
            forall a b. (a -> b) -> a -> b
$ forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FieldDef -> FieldNameDB
fieldDB
            forall a b. (a -> b) -> a -> b
$ EntityDef -> NonEmpty FieldDef
keyAndEntityFields EntityDef
entDef
        name :: Text
name =
            forall a str. DatabaseName a => (Text -> str) -> a -> str
escapeWith Text -> Text
escape (EntityDef -> EntityNameDB
getEntityDBName EntityDef
entDef)
        entDef :: EntityDef
entDef =
            forall record (proxy :: * -> *).
PersistEntity record =>
proxy record -> EntityDef
entityDef (forall a. Maybe a
Nothing :: Maybe record)
    rawSqlColCountReason :: Entity record -> String
rawSqlColCountReason Entity record
a =
        case forall a b. (a, b) -> a
fst (forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols (forall a. HasCallStack => String -> a
error String
"RawSql") Entity record
a) of
          Int
1 -> String
"one column for an 'Entity' data type without fields"
          Int
n -> forall a. Show a => a -> String
show Int
n forall a. Semigroup a => a -> a -> a
<> String
" columns for an 'Entity' data type"
    rawSqlProcessRow :: [PersistValue] -> Either Text (Entity record)
rawSqlProcessRow [PersistValue]
row =
        case forall record. PersistEntity record => Maybe (record -> Key record)
keyFromRecordM of
            Just record -> Key record
mkKey -> do
                record
val <- forall record.
PersistEntity record =>
[PersistValue] -> Either Text record
fromPersistValues [PersistValue]
row
                forall (f :: * -> *) a. Applicative f => a -> f a
pure Entity
                    { entityKey :: Key record
entityKey =
                        record -> Key record
mkKey record
val
                    , entityVal :: record
entityVal =
                        record
val
                    }
            Maybe (record -> Key record)
Nothing ->
                case [PersistValue]
row of
                    (PersistValue
k : [PersistValue]
rest) ->
                        forall record. Key record -> record -> Entity record
Entity
                            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> forall record.
PersistEntity record =>
[PersistValue] -> Either Text (Key record)
keyFromValues [PersistValue
k]
                            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> forall record.
PersistEntity record =>
[PersistValue] -> Either Text record
fromPersistValues [PersistValue]
rest
                    [] ->
                        forall a b. a -> Either a b
Left Text
"Row was empty"

-- | This newtype wrapper is useful when selecting an entity out of the
-- database and you want to provide a prefix to the table being selected.
--
-- Consider this raw SQL query:
--
-- > SELECT ??
-- > FROM my_long_table_name AS mltn
-- > INNER JOIN other_table AS ot
-- >    ON mltn.some_col = ot.other_col
-- > WHERE ...
--
-- We don't want to refer to @my_long_table_name@ every time, so we create
-- an alias. If we want to select it, we have to tell the raw SQL
-- quasi-quoter that we expect the entity to be prefixed with some other
-- name.
--
-- We can give the above query a type with this, like:
--
-- @
-- getStuff :: 'SqlPersistM' ['EntityWithPrefix' \"mltn\" MyLongTableName]
-- getStuff = rawSql queryText []
-- @
--
-- The 'EntityWithPrefix' bit is a boilerplate newtype wrapper, so you can
-- remove it with 'unPrefix', like this:
--
-- @
-- getStuff :: 'SqlPersistM' ['Entity' MyLongTableName]
-- getStuff = 'unPrefix' @\"mltn\" '<$>' 'rawSql' queryText []
-- @
--
-- The @ symbol is a "type application" and requires the @TypeApplications@
-- language extension.
--
-- @since 2.10.5
newtype EntityWithPrefix (prefix :: Symbol) record
    = EntityWithPrefix { forall (prefix :: Symbol) record.
EntityWithPrefix prefix record -> Entity record
unEntityWithPrefix :: Entity record }

-- | A helper function to tell GHC what the 'EntityWithPrefix' prefix
-- should be. This allows you to use a type application to specify the
-- prefix, instead of specifying the etype on the result.
--
-- As an example, here's code that uses this:
--
-- @
-- myQuery :: 'SqlPersistM' ['Entity' Person]
-- myQuery = fmap (unPrefix @\"p\") <$> rawSql query []
--   where
--     query = "SELECT ?? FROM person AS p"
-- @
--
-- @since 2.10.5
unPrefix :: forall prefix record. EntityWithPrefix prefix record -> Entity record
unPrefix :: forall (prefix :: Symbol) record.
EntityWithPrefix prefix record -> Entity record
unPrefix = forall (prefix :: Symbol) record.
EntityWithPrefix prefix record -> Entity record
unEntityWithPrefix

instance
    ( PersistEntity record
    , KnownSymbol prefix
    , PersistEntityBackend record ~ backend
    , IsPersistBackend backend
    )
  =>
    RawSql (EntityWithPrefix prefix record)
  where
    rawSqlCols :: (Text -> Text) -> EntityWithPrefix prefix record -> (Int, [Text])
rawSqlCols Text -> Text
escape EntityWithPrefix prefix record
_ent = (forall (t :: * -> *) a. Foldable t => t a -> Int
length NonEmpty Text
sqlFields, [Text -> [Text] -> Text
intercalate Text
", " forall a b. (a -> b) -> a -> b
$ forall (t :: * -> *) a. Foldable t => t a -> [a]
toList NonEmpty Text
sqlFields])
      where
          sqlFields :: NonEmpty Text
sqlFields =
              forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap (((Text
name forall a. Semigroup a => a -> a -> a
<> Text
".") forall a. Semigroup a => a -> a -> a
<>) forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a str. DatabaseName a => (Text -> str) -> a -> str
escapeWith Text -> Text
escape)
              forall a b. (a -> b) -> a -> b
$ forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FieldDef -> FieldNameDB
fieldDB
              -- Hacky for a composite key because
              -- it selects the same field multiple times
              forall a b. (a -> b) -> a -> b
$ EntityDef -> NonEmpty FieldDef
keyAndEntityFields EntityDef
entDef
          name :: Text
name =
              String -> Text
pack forall a b. (a -> b) -> a -> b
$ forall (n :: Symbol) (proxy :: Symbol -> *).
KnownSymbol n =>
proxy n -> String
symbolVal (forall {k} (t :: k). Proxy t
Proxy :: Proxy prefix)
          entDef :: EntityDef
entDef =
              forall record (proxy :: * -> *).
PersistEntity record =>
proxy record -> EntityDef
entityDef (forall a. Maybe a
Nothing :: Maybe record)
    rawSqlColCountReason :: EntityWithPrefix prefix record -> String
rawSqlColCountReason EntityWithPrefix prefix record
a =
        case forall a b. (a, b) -> a
fst (forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols (forall a. HasCallStack => String -> a
error String
"RawSql") EntityWithPrefix prefix record
a) of
            Int
1 -> String
"one column for an 'Entity' data type without fields"
            Int
n -> forall a. Show a => a -> String
show Int
n forall a. [a] -> [a] -> [a]
++ String
" columns for an 'Entity' data type"
    rawSqlProcessRow :: [PersistValue] -> Either Text (EntityWithPrefix prefix record)
rawSqlProcessRow [PersistValue]
row =
        case forall a. Int -> [a] -> ([a], [a])
splitAt Int
nKeyFields [PersistValue]
row of
            ([PersistValue]
rowKey, [PersistValue]
rowVal) ->
                forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall (prefix :: Symbol) record.
Entity record -> EntityWithPrefix prefix record
EntityWithPrefix forall a b. (a -> b) -> a -> b
$
                    forall record. Key record -> record -> Entity record
Entity
                        forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> forall record.
PersistEntity record =>
[PersistValue] -> Either Text (Key record)
keyFromValues [PersistValue]
rowKey
                        forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> forall record.
PersistEntity record =>
[PersistValue] -> Either Text record
fromPersistValues [PersistValue]
rowVal
      where
        nKeyFields :: Int
nKeyFields = forall (t :: * -> *) a. Foldable t => t a -> Int
length forall a b. (a -> b) -> a -> b
$ EntityDef -> NonEmpty FieldDef
getEntityKeyFields EntityDef
entDef
        entDef :: EntityDef
entDef = forall record (proxy :: * -> *).
PersistEntity record =>
proxy record -> EntityDef
entityDef (forall a. Maybe a
Nothing :: Maybe record)

-- | @since 1.0.1
instance RawSql a => RawSql (Maybe a) where
    rawSqlCols :: (Text -> Text) -> Maybe a -> (Int, [Text])
rawSqlCols Text -> Text
e = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. Maybe a -> a
extractMaybe
    rawSqlColCountReason :: Maybe a -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. Maybe a -> a
extractMaybe
    rawSqlProcessRow :: [PersistValue] -> Either Text (Maybe a)
rawSqlProcessRow [PersistValue]
cols
      | forall (t :: * -> *) a. Foldable t => (a -> Bool) -> t a -> Bool
all PersistValue -> Bool
isNull [PersistValue]
cols = forall (m :: * -> *) a. Monad m => a -> m a
return forall a. Maybe a
Nothing
      | Bool
otherwise       =
        case forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow [PersistValue]
cols of
          Right a
v  -> forall a b. b -> Either a b
Right (forall a. a -> Maybe a
Just a
v)
          Left Text
msg -> forall a b. a -> Either a b
Left forall a b. (a -> b) -> a -> b
$ Text
"RawSql (Maybe a): not all columns were Null " forall a. Semigroup a => a -> a -> a
<>
                             Text
"but the inner parser has failed.  Its message " forall a. Semigroup a => a -> a -> a
<>
                             Text
"was \"" forall a. Semigroup a => a -> a -> a
<> Text
msg forall a. Semigroup a => a -> a -> a
<> Text
"\".  Did you apply Maybe " forall a. Semigroup a => a -> a -> a
<>
                             Text
"to a tuple, perhaps?  The main use case for " forall a. Semigroup a => a -> a -> a
<>
                             Text
"Maybe is to allow OUTER JOINs to be written, " forall a. Semigroup a => a -> a -> a
<>
                             Text
"in which case 'Maybe (Entity v)' is used."
      where isNull :: PersistValue -> Bool
isNull PersistValue
PersistNull = Bool
True
            isNull PersistValue
_           = Bool
False

instance (RawSql a, RawSql b) => RawSql (a, b) where
    rawSqlCols :: (Text -> Text) -> (a, b) -> (Int, [Text])
rawSqlCols Text -> Text
e (a, b)
x = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e (forall a b. (a, b) -> a
fst (a, b)
x) forall {a} {a}. Num a => (a, [a]) -> (a, [a]) -> (a, [a])
# forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e (forall a b. (a, b) -> b
snd (a, b)
x)
        where (a
cnta, [a]
lsta) # :: (a, [a]) -> (a, [a]) -> (a, [a])
# (a
cntb, [a]
lstb) = (a
cnta forall a. Num a => a -> a -> a
+ a
cntb, [a]
lsta forall a. [a] -> [a] -> [a]
++ [a]
lstb)
    rawSqlColCountReason :: (a, b) -> String
rawSqlColCountReason (a, b)
x = forall a. RawSql a => a -> String
rawSqlColCountReason (forall a b. (a, b) -> a
fst (a, b)
x) forall a. [a] -> [a] -> [a]
++ String
", " forall a. [a] -> [a] -> [a]
++
                             forall a. RawSql a => a -> String
rawSqlColCountReason (forall a b. (a, b) -> b
snd (a, b)
x)
    rawSqlProcessRow :: [PersistValue] -> Either Text (a, b)
rawSqlProcessRow =
        let x :: (a, b)
x = forall z y x. (z -> Either y x) -> x
getType [PersistValue] -> Either Text (a, b)
processRow
            getType :: (z -> Either y x) -> x
            getType :: forall z y x. (z -> Either y x) -> x
getType = forall a. HasCallStack => String -> a
error String
"RawSql.getType"

            colCountFst :: Int
colCountFst = forall a b. (a, b) -> a
fst forall a b. (a -> b) -> a -> b
$ forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols (forall a. HasCallStack => String -> a
error String
"RawSql.getType2") (forall a b. (a, b) -> a
fst (a, b)
x)
            processRow :: [PersistValue] -> Either Text (a, b)
processRow [PersistValue]
row =
                let ([PersistValue]
rowFst, [PersistValue]
rowSnd) = forall a. Int -> [a] -> ([a], [a])
splitAt Int
colCountFst [PersistValue]
row
                in (,) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow [PersistValue]
rowFst
                       forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow [PersistValue]
rowSnd

        in Int
colCountFst seq :: forall a b. a -> b -> b
`seq` [PersistValue] -> Either Text (a, b)
processRow
           -- Avoids recalculating 'colCountFst'.

instance (RawSql a, RawSql b, RawSql c) => RawSql (a, b, c) where
    rawSqlCols :: (Text -> Text) -> (a, b, c) -> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c. (a, b, c) -> ((a, b), c)
from3
    rawSqlColCountReason :: (a, b, c) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c. (a, b, c) -> ((a, b), c)
from3
    rawSqlProcessRow :: [PersistValue] -> Either Text (a, b, c)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c. ((a, b), c) -> (a, b, c)
to3 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

from3 :: (a,b,c) -> ((a,b),c)
from3 :: forall a b c. (a, b, c) -> ((a, b), c)
from3 (a
a,b
b,c
c) = ((a
a,b
b),c
c)

to3 :: ((a,b),c) -> (a,b,c)
to3 :: forall a b c. ((a, b), c) -> (a, b, c)
to3 ((a
a,b
b),c
c) = (a
a,b
b,c
c)

instance (RawSql a, RawSql b, RawSql c, RawSql d) => RawSql (a, b, c, d) where
    rawSqlCols :: (Text -> Text) -> (a, b, c, d) -> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d. (a, b, c, d) -> ((a, b), (c, d))
from4
    rawSqlColCountReason :: (a, b, c, d) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d. (a, b, c, d) -> ((a, b), (c, d))
from4
    rawSqlProcessRow :: [PersistValue] -> Either Text (a, b, c, d)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d. ((a, b), (c, d)) -> (a, b, c, d)
to4 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

from4 :: (a,b,c,d) -> ((a,b),(c,d))
from4 :: forall a b c d. (a, b, c, d) -> ((a, b), (c, d))
from4 (a
a,b
b,c
c,d
d) = ((a
a,b
b),(c
c,d
d))

to4 :: ((a,b),(c,d)) -> (a,b,c,d)
to4 :: forall a b c d. ((a, b), (c, d)) -> (a, b, c, d)
to4 ((a
a,b
b),(c
c,d
d)) = (a
a,b
b,c
c,d
d)

instance (RawSql a, RawSql b, RawSql c,
          RawSql d, RawSql e)
       => RawSql (a, b, c, d, e) where
    rawSqlCols :: (Text -> Text) -> (a, b, c, d, e) -> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e. (a, b, c, d, e) -> ((a, b), (c, d), e)
from5
    rawSqlColCountReason :: (a, b, c, d, e) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e. (a, b, c, d, e) -> ((a, b), (c, d), e)
from5
    rawSqlProcessRow :: [PersistValue] -> Either Text (a, b, c, d, e)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e. ((a, b), (c, d), e) -> (a, b, c, d, e)
to5 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

from5 :: (a,b,c,d,e) -> ((a,b),(c,d),e)
from5 :: forall a b c d e. (a, b, c, d, e) -> ((a, b), (c, d), e)
from5 (a
a,b
b,c
c,d
d,e
e) = ((a
a,b
b),(c
c,d
d),e
e)

to5 :: ((a,b),(c,d),e) -> (a,b,c,d,e)
to5 :: forall a b c d e. ((a, b), (c, d), e) -> (a, b, c, d, e)
to5 ((a
a,b
b),(c
c,d
d),e
e) = (a
a,b
b,c
c,d
d,e
e)

instance (RawSql a, RawSql b, RawSql c,
          RawSql d, RawSql e, RawSql f)
       => RawSql (a, b, c, d, e, f) where
    rawSqlCols :: (Text -> Text) -> (a, b, c, d, e, f) -> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f. (a, b, c, d, e, f) -> ((a, b), (c, d), (e, f))
from6
    rawSqlColCountReason :: (a, b, c, d, e, f) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f. (a, b, c, d, e, f) -> ((a, b), (c, d), (e, f))
from6
    rawSqlProcessRow :: [PersistValue] -> Either Text (a, b, c, d, e, f)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f. ((a, b), (c, d), (e, f)) -> (a, b, c, d, e, f)
to6 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

from6 :: (a,b,c,d,e,f) -> ((a,b),(c,d),(e,f))
from6 :: forall a b c d e f. (a, b, c, d, e, f) -> ((a, b), (c, d), (e, f))
from6 (a
a,b
b,c
c,d
d,e
e,f
f) = ((a
a,b
b),(c
c,d
d),(e
e,f
f))

to6 :: ((a,b),(c,d),(e,f)) -> (a,b,c,d,e,f)
to6 :: forall a b c d e f. ((a, b), (c, d), (e, f)) -> (a, b, c, d, e, f)
to6 ((a
a,b
b),(c
c,d
d),(e
e,f
f)) = (a
a,b
b,c
c,d
d,e
e,f
f)

instance (RawSql a, RawSql b, RawSql c,
          RawSql d, RawSql e, RawSql f,
          RawSql g)
       => RawSql (a, b, c, d, e, f, g) where
    rawSqlCols :: (Text -> Text) -> (a, b, c, d, e, f, g) -> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g.
(a, b, c, d, e, f, g) -> ((a, b), (c, d), (e, f), g)
from7
    rawSqlColCountReason :: (a, b, c, d, e, f, g) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g.
(a, b, c, d, e, f, g) -> ((a, b), (c, d), (e, f), g)
from7
    rawSqlProcessRow :: [PersistValue] -> Either Text (a, b, c, d, e, f, g)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g.
((a, b), (c, d), (e, f), g) -> (a, b, c, d, e, f, g)
to7 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

from7 :: (a,b,c,d,e,f,g) -> ((a,b),(c,d),(e,f),g)
from7 :: forall a b c d e f g.
(a, b, c, d, e, f, g) -> ((a, b), (c, d), (e, f), g)
from7 (a
a,b
b,c
c,d
d,e
e,f
f,g
g) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),g
g)

to7 :: ((a,b),(c,d),(e,f),g) -> (a,b,c,d,e,f,g)
to7 :: forall a b c d e f g.
((a, b), (c, d), (e, f), g) -> (a, b, c, d, e, f, g)
to7 ((a
a,b
b),(c
c,d
d),(e
e,f
f),g
g) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g)

instance (RawSql a, RawSql b, RawSql c,
          RawSql d, RawSql e, RawSql f,
          RawSql g, RawSql h)
       => RawSql (a, b, c, d, e, f, g, h) where
    rawSqlCols :: (Text -> Text) -> (a, b, c, d, e, f, g, h) -> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h.
(a, b, c, d, e, f, g, h) -> ((a, b), (c, d), (e, f), (g, h))
from8
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h.
(a, b, c, d, e, f, g, h) -> ((a, b), (c, d), (e, f), (g, h))
from8
    rawSqlProcessRow :: [PersistValue] -> Either Text (a, b, c, d, e, f, g, h)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h.
((a, b), (c, d), (e, f), (g, h)) -> (a, b, c, d, e, f, g, h)
to8 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

from8 :: (a,b,c,d,e,f,g,h) -> ((a,b),(c,d),(e,f),(g,h))
from8 :: forall a b c d e f g h.
(a, b, c, d, e, f, g, h) -> ((a, b), (c, d), (e, f), (g, h))
from8 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h))

to8 :: ((a,b),(c,d),(e,f),(g,h)) -> (a,b,c,d,e,f,g,h)
to8 :: forall a b c d e f g h.
((a, b), (c, d), (e, f), (g, h)) -> (a, b, c, d, e, f, g, h)
to8 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h)

-- | @since 2.10.2
instance (RawSql a, RawSql b, RawSql c,
          RawSql d, RawSql e, RawSql f,
          RawSql g, RawSql h, RawSql i)
       => RawSql (a, b, c, d, e, f, g, h, i) where
    rawSqlCols :: (Text -> Text) -> (a, b, c, d, e, f, g, h, i) -> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i.
(a, b, c, d, e, f, g, h, i) -> ((a, b), (c, d), (e, f), (g, h), i)
from9
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i.
(a, b, c, d, e, f, g, h, i) -> ((a, b), (c, d), (e, f), (g, h), i)
from9
    rawSqlProcessRow :: [PersistValue] -> Either Text (a, b, c, d, e, f, g, h, i)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i.
((a, b), (c, d), (e, f), (g, h), i) -> (a, b, c, d, e, f, g, h, i)
to9 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.10.2
from9 :: (a,b,c,d,e,f,g,h,i) -> ((a,b),(c,d),(e,f),(g,h),i)
from9 :: forall a b c d e f g h i.
(a, b, c, d, e, f, g, h, i) -> ((a, b), (c, d), (e, f), (g, h), i)
from9 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),i
i)

-- | @since 2.10.2
to9 :: ((a,b),(c,d),(e,f),(g,h),i) -> (a,b,c,d,e,f,g,h,i)
to9 :: forall a b c d e f g h i.
((a, b), (c, d), (e, f), (g, h), i) -> (a, b, c, d, e, f, g, h, i)
to9 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),i
i) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i)

-- | @since 2.10.2
instance (RawSql a, RawSql b, RawSql c,
          RawSql d, RawSql e, RawSql f,
          RawSql g, RawSql h, RawSql i,
          RawSql j)
       => RawSql (a, b, c, d, e, f, g, h, i, j) where
    rawSqlCols :: (Text -> Text) -> (a, b, c, d, e, f, g, h, i, j) -> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j.
(a, b, c, d, e, f, g, h, i, j)
-> ((a, b), (c, d), (e, f), (g, h), (i, j))
from10
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j.
(a, b, c, d, e, f, g, h, i, j)
-> ((a, b), (c, d), (e, f), (g, h), (i, j))
from10
    rawSqlProcessRow :: [PersistValue] -> Either Text (a, b, c, d, e, f, g, h, i, j)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j.
((a, b), (c, d), (e, f), (g, h), (i, j))
-> (a, b, c, d, e, f, g, h, i, j)
to10 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.10.2
from10 :: (a,b,c,d,e,f,g,h,i,j) -> ((a,b),(c,d),(e,f),(g,h),(i,j))
from10 :: forall a b c d e f g h i j.
(a, b, c, d, e, f, g, h, i, j)
-> ((a, b), (c, d), (e, f), (g, h), (i, j))
from10 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j))

-- | @since 2.10.2
to10 :: ((a,b),(c,d),(e,f),(g,h),(i,j)) -> (a,b,c,d,e,f,g,h,i,j)
to10 :: forall a b c d e f g h i j.
((a, b), (c, d), (e, f), (g, h), (i, j))
-> (a, b, c, d, e, f, g, h, i, j)
to10 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j)

-- | @since 2.10.2
instance (RawSql a, RawSql b, RawSql c,
          RawSql d, RawSql e, RawSql f,
          RawSql g, RawSql h, RawSql i,
          RawSql j, RawSql k)
       => RawSql (a, b, c, d, e, f, g, h, i, j, k) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k) -> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k.
(a, b, c, d, e, f, g, h, i, j, k)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), k)
from11
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k.
(a, b, c, d, e, f, g, h, i, j, k)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), k)
from11
    rawSqlProcessRow :: [PersistValue] -> Either Text (a, b, c, d, e, f, g, h, i, j, k)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k.
((a, b), (c, d), (e, f), (g, h), (i, j), k)
-> (a, b, c, d, e, f, g, h, i, j, k)
to11 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.10.2
from11 :: (a,b,c,d,e,f,g,h,i,j,k) -> ((a,b),(c,d),(e,f),(g,h),(i,j),k)
from11 :: forall a b c d e f g h i j k.
(a, b, c, d, e, f, g, h, i, j, k)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), k)
from11 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),k
k)

-- | @since 2.10.2
to11 :: ((a,b),(c,d),(e,f),(g,h),(i,j),k) -> (a,b,c,d,e,f,g,h,i,j,k)
to11 :: forall a b c d e f g h i j k.
((a, b), (c, d), (e, f), (g, h), (i, j), k)
-> (a, b, c, d, e, f, g, h, i, j, k)
to11 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),k
k) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k)

-- | @since 2.10.2
instance (RawSql a, RawSql b, RawSql c,
          RawSql d, RawSql e, RawSql f,
          RawSql g, RawSql h, RawSql i,
          RawSql j, RawSql k, RawSql l)
       => RawSql (a, b, c, d, e, f, g, h, i, j, k, l) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l) -> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. 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)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l))
from12
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. 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)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l))
from12
    rawSqlProcessRow :: [PersistValue] -> Either Text (a, b, c, d, e, f, g, h, i, j, k, l)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap 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))
-> (a, b, c, d, e, f, g, h, i, j, k, l)
to12 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.10.2
from12 :: (a,b,c,d,e,f,g,h,i,j,k,l) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l))
from12 :: 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)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l))
from12 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l))

-- | @since 2.10.2
to12 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l)) -> (a,b,c,d,e,f,g,h,i,j,k,l)
to12 :: 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))
-> (a, b, c, d, e, f, g, h, i, j, k, l)
to12 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m) -> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall 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)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), m)
from13
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall 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)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), m)
from13
    rawSqlProcessRow :: [PersistValue]
-> Either Text (a, b, c, d, e, f, g, h, i, j, k, l, m)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall 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)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m)
to13 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from13 :: (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)
from13 :: forall 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)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), m)
from13 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),m
m)

-- | @since 2.11.0
to13 :: ((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)
to13 :: forall 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)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m)
to13 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),m
m) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall 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)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n))
from14
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall 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)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n))
from14
    rawSqlProcessRow :: [PersistValue]
-> Either Text (a, b, c, d, e, f, g, h, i, j, k, l, m, n)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall 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))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n)
to14 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from14 :: (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))
from14 :: forall 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)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n))
from14 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n))

-- | @since 2.11.0
to14 :: ((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)
to14 :: forall 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))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n)
to14 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall 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)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), o)
from15
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall 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)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), o)
from15
    rawSqlProcessRow :: [PersistValue]
-> Either Text (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall 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)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)
to15 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from15 :: (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)
from15 :: forall 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)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), o)
from15 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),o
o)

-- | @since 2.11.0
to15 :: ((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)
to15 :: forall 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)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)
to15 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),o
o) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p))
from16
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p))
from16
    rawSqlProcessRow :: [PersistValue]
-> Either Text (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)
to16 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from16 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p))
from16 :: forall a b c d e f g h i j k l m n o p.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p))
from16 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p))

-- | @since 2.11.0
to16 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)
to16 :: forall a b c d e f g h i j k l m n o p.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)
to16 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    q)
from17
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    q)
from17
    rawSqlProcessRow :: [PersistValue]
-> Either Text (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p), q)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q)
to17 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from17 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),q)
from17 :: forall a b c d e f g h i j k l m n o p q.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    q)
from17 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),q
q)

-- | @since 2.11.0
to17 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),q) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)
to17 :: forall a b c d e f g h i j k l m n o p q.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p), q)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q)
to17 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),q
q) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r))
from18
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r))
from18
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r)
to18 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from18 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r))
from18 :: forall a b c d e f g h i j k l m n o p q r.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r))
from18 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r))

-- | @since 2.11.0
to18 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)
to18 :: forall a b c d e f g h i j k l m n o p q r.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r)
to18 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), s)
from19
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s) -> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), s)
from19
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), s)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s)
to19 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from19 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),s)
from19 :: forall a b c d e f g h i j k l m n o p q r s.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), s)
from19 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),s
s)

-- | @since 2.11.0
to19 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),s) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)
to19 :: forall a b c d e f g h i j k l m n o p q r s.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), s)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s)
to19 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),s
s) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t))
from20
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t))
from20
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)
to20 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from20 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t))
from20 :: forall a b c d e f g h i j k l m n o p q r s t.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t))
from20 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t))

-- | @since 2.11.0
to20 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)
to20 :: forall a b c d e f g h i j k l m n o p q r s t.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)
to20 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), u)
from21
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), u)
from21
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), u)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u)
to21 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from21 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),u)
from21 :: forall a b c d e f g h i j k l m n o p q r s t u.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), u)
from21 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),u
u)

-- | @since 2.11.0
to21 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),u) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u)
to21 :: forall a b c d e f g h i j k l m n o p q r s t u.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), u)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u)
to21 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),u
u) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v))
from22
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v))
from22
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v)
to22 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from22 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v))
from22 :: forall a b c d e f g h i j k l m n o p q r s t u v.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v))
from22 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v))

-- | @since 2.11.0
to22 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v)
to22 :: forall a b c d e f g h i j k l m n o p q r s t u v.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v)
to22 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), w)
from23
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), w)
from23
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), w)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w)
to23 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from23 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),w)
from23 :: forall a b c d e f g h i j k l m n o p q r s t u v w.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), w)
from23 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),w
w)

-- | @since 2.11.0
to23 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),w) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w)
to23 :: forall a b c d e f g h i j k l m n o p q r s t u v w.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), w)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w)
to23 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),w
w) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x))
from24
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x))
from24
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x)
to24 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from24 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x))
from24 :: forall a b c d e f g h i j k l m n o p q r s t u v w x.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x))
from24 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x))

-- | @since 2.11.0
to24 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x)
to24 :: forall a b c d e f g h i j k l m n o p q r s t u v w x.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x)
to24 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), y)
from25
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), y)
from25
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), y)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y)
to25 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from25 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),y)
from25 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), y)
from25 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),y
y)

-- | @since 2.11.0
to25 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),y) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y)
to25 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), y)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y)
to25 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),y
y) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z))
from26
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z))
from26
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z)
to26 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from26 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z))
from26 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z))
from26 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z))

-- | @since 2.11.0
to26 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z)
to26 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z)
to26 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), a2)
from27
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), a2)
from27
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), a2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2)
to27 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from27 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),a2)
from27 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), a2)
from27 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),a2
a2)

-- | @since 2.11.0
to27 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),a2) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2)
to27 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), a2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2)
to27 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),a2
a2) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2))
from28
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2))
from28
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2)
to28 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from28 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2))
from28 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2))
from28 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2))

-- | @since 2.11.0
to28 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2)
to28 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2)
to28 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2
       c2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), c2)
from29
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2
       c2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), c2)
from29
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2
       c2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), c2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2)
to29 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from29 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),c2)
from29 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2
       c2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), c2)
from29 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),c2
c2)

-- | @since 2.11.0
to29 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),c2) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2)
to29 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2
       c2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), c2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2)
to29 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),c2
c2) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2))
from30
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2))
from30
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2)
to30 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from30 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2))
from30 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2))
from30 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2))

-- | @since 2.11.0
to30 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2)
to30 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2)
to30 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2), e2)
from31
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2), e2)
from31
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2), e2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2)
to31 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from31 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),e2)
from31 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2), e2)
from31 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),e2
e2)

-- | @since 2.11.0
to31 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),e2) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2)
to31 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2), e2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2)
to31 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),e2
e2) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2))
from32
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2))
from32
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2)
to32 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from32 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2))
from32 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2))
from32 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2))

-- | @since 2.11.0
to32 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2)
to32 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2)
to32 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), g2)
from33
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), g2)
from33
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), g2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2)
to33 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from33 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),g2)
from33 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), g2)
from33 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),g2
g2)

-- | @since 2.11.0
to33 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),g2) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2)
to33 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), g2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2)
to33 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),g2
g2) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2))
from34
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2))
from34
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2)
to34 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from34 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2))
from34 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2))
from34 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2))

-- | @since 2.11.0
to34 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2)
to34 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2)
to34 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), i2)
from35
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), i2)
from35
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), i2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2)
to35 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from35 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),i2)
from35 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), i2)
from35 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),i2
i2)

-- | @since 2.11.0
to35 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),i2) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2)
to35 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), i2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2)
to35 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),i2
i2) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2))
from36
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2))
from36
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2)
to36 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from36 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2))
from36 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2))
from36 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2))

-- | @since 2.11.0
to36 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2)
to36 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2)
to36 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), k2)
from37
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), k2)
from37
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), k2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2)
to37 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from37 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),k2)
from37 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), k2)
from37 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),k2
k2)

-- | @since 2.11.0
to37 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),k2) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2)
to37 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), k2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2)
to37 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),k2
k2) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2))
from38
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2))
from38
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2)
to38 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from38 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2))
from38 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2))
from38 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2))

-- | @since 2.11.0
to38 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2)
to38 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2)
to38 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), m2)
from39
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), m2)
from39
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), m2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2)
to39 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from39 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),m2)
from39 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), m2)
from39 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),m2
m2)

-- | @since 2.11.0
to39 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),m2) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2)
to39 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), m2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2)
to39 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),m2
m2) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2))
from40
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2))
from40
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2)
to40 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from40 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2))
from40 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2))
from40 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2))

-- | @since 2.11.0
to40 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2)
to40 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2)
to40 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), o2)
from41
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), o2)
from41
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), o2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2)
to41 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from41 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),o2)
from41 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), o2)
from41 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),o2
o2)

-- | @since 2.11.0
to41 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),o2) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2)
to41 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), o2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2)
to41 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),o2
o2) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2))
from42
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2))
from42
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2)
to42 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from42 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2))
from42 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2))
from42 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2))

-- | @since 2.11.0
to42 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2)
to42 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2)
to42 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2), q2)
from43
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2), q2)
from43
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2), q2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2)
to43 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from43 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),q2)
from43 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2), q2)
from43 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),q2
q2)

-- | @since 2.11.0
to43 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),q2) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2)
to43 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2), q2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2)
to43 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),q2
q2) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2))
from44
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2))
from44
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2)
to44 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from44 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2))
from44 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2))
from44 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2))

-- | @since 2.11.0
to44 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2)
to44 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2)
to44 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), s2)
from45
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), s2)
from45
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), s2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2)
to45 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from45 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),s2)
from45 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), s2)
from45 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),s2
s2)

-- | @since 2.11.0
to45 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),s2) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2)
to45 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), s2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2)
to45 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),s2
s2) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2))
from46
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2))
from46
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2)
to46 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from46 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2))
from46 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2))
from46 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2))

-- | @since 2.11.0
to46 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2)
to46 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2)
to46 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), u2)
from47
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), u2)
from47
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), u2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2)
to47 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from47 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),u2)
from47 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), u2)
from47 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),u2
u2)

-- | @since 2.11.0
to47 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),u2) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2)
to47 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), u2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2)
to47 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),u2
u2) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2))
from48
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2))
from48
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2)
to48 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from48 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2))
from48 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2))
from48 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2))

-- | @since 2.11.0
to48 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2)
to48 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2)
to48 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), w2)
from49
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), w2)
from49
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), w2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2)
to49 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from49 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),w2)
from49 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), w2)
from49 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),w2
w2)

-- | @since 2.11.0
to49 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),w2) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2)
to49 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), w2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2)
to49 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),w2
w2) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2, RawSql x2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2))
from50
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2))
from50
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2, x2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2)
to50 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from50 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2))
from50 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2))
from50 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2))

-- | @since 2.11.0
to50 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2)
to50 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2)
to50 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2, RawSql x2, RawSql y2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), y2)
from51
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), y2)
from51
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), y2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2)
to51 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from51 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),y2)
from51 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), y2)
from51 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),y2
y2)

-- | @since 2.11.0
to51 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),y2) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2)
to51 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), y2)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2)
to51 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),y2
y2) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2, RawSql x2, RawSql y2, RawSql z2)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2))
from52
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2))
from52
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2)
to52 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from52 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2))
from52 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2))
from52 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2))

-- | @since 2.11.0
to52 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2)
to52 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2)
to52 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2, RawSql x2, RawSql y2, RawSql z2, RawSql a3)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), a3)
from53
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), a3)
from53
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), a3)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3)
to53 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from53 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),a3)
from53 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), a3)
from53 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),a3
a3)

-- | @since 2.11.0
to53 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),a3) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3)
to53 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), a3)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3)
to53 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),a3
a3) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2, RawSql x2, RawSql y2, RawSql z2, RawSql a3, RawSql b3)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3))
from54
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3))
from54
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3)
to54 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from54 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3))
from54 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3))
from54 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3))

-- | @since 2.11.0
to54 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3)
to54 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3)
to54 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2, RawSql x2, RawSql y2, RawSql z2, RawSql a3, RawSql b3, RawSql c3)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3), c3)
from55
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3), c3)
from55
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3), c3)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3)
to55 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from55 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),c3)
from55 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3), c3)
from55 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),c3
c3)

-- | @since 2.11.0
to55 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),c3) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3)
to55 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3), c3)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3)
to55 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),c3
c3) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2, RawSql x2, RawSql y2, RawSql z2, RawSql a3, RawSql b3, RawSql c3, RawSql d3)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3))
from56
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3))
from56
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3)
to56 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from56 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3))
from56 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3))
from56 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3))

-- | @since 2.11.0
to56 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3)
to56 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3)
to56 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2, RawSql x2, RawSql y2, RawSql z2, RawSql a3, RawSql b3, RawSql c3, RawSql d3, RawSql e3)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), e3)
from57
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), e3)
from57
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3), e3)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3)
to57 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from57 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3,e3) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3),e3)
from57 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), e3)
from57 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3,e3
e3) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3),e3
e3)

-- | @since 2.11.0
to57 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3),e3) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3,e3)
to57 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3), e3)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3)
to57 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3),e3
e3) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3,e3
e3)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2, RawSql x2, RawSql y2, RawSql z2, RawSql a3, RawSql b3, RawSql c3, RawSql d3, RawSql e3, RawSql f3)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3, f3) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3))
from58
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3))
from58
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
      f3)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3), (e3, f3))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3)
to58 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from58 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3,e3,f3) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3),(e3,f3))
from58 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3))
from58 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3,e3
e3,f3
f3) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3),(e3
e3,f3
f3))

-- | @since 2.11.0
to58 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3),(e3,f3)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3,e3,f3)
to58 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3), (e3, f3))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3)
to58 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3),(e3
e3,f3
f3)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3,e3
e3,f3
f3)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2, RawSql x2, RawSql y2, RawSql z2, RawSql a3, RawSql b3, RawSql c3, RawSql d3, RawSql e3, RawSql f3, RawSql g3)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3, f3, g3) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3, g3)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3), g3)
from59
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3), g3)
from59
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
      f3, g3)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3), (e3, f3), g3)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3, g3)
to59 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from59 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3,e3,f3,g3) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3),(e3,f3),g3)
from59 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3), g3)
from59 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3,e3
e3,f3
f3,g3
g3) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3),(e3
e3,f3
f3),g3
g3)

-- | @since 2.11.0
to59 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3),(e3,f3),g3) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3,e3,f3,g3)
to59 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3), (e3, f3), g3)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3, g3)
to59 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3),(e3
e3,f3
f3),g3
g3) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3,e3
e3,f3
f3,g3
g3)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2, RawSql x2, RawSql y2, RawSql z2, RawSql a3, RawSql b3, RawSql c3, RawSql d3, RawSql e3, RawSql f3, RawSql g3, RawSql h3)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3, f3, g3, h3) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3, g3, h3)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3, h3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3), (g3, h3))
from60
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3, h3)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3, h3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3), (g3, h3))
from60
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
      f3, g3, h3)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3), (e3, f3), (g3, h3))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3, g3, h3)
to60 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from60 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3,e3,f3,g3,h3) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3),(e3,f3),(g3,h3))
from60 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3, h3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3), (g3, h3))
from60 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3,e3
e3,f3
f3,g3
g3,h3
h3) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3),(e3
e3,f3
f3),(g3
g3,h3
h3))

-- | @since 2.11.0
to60 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3),(e3,f3),(g3,h3)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3,e3,f3,g3,h3)
to60 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3), (e3, f3), (g3, h3))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3, g3, h3)
to60 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3),(e3
e3,f3
f3),(g3
g3,h3
h3)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3,e3
e3,f3
f3,g3
g3,h3
h3)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2, RawSql x2, RawSql y2, RawSql z2, RawSql a3, RawSql b3, RawSql c3, RawSql d3, RawSql e3, RawSql f3, RawSql g3, RawSql h3, RawSql i3)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3, f3, g3, h3, i3) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3, g3, h3, i3)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3 i3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3, h3, i3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3), (g3, h3), i3)
from61
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3, h3, i3)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3 i3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3, h3, i3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3), (g3, h3), i3)
from61
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
      f3, g3, h3, i3)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3 i3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3), (e3, f3), (g3, h3), i3)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3, g3, h3, i3)
to61 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from61 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3,e3,f3,g3,h3,i3) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3),(e3,f3),(g3,h3),i3)
from61 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3 i3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3, h3, i3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3), (g3, h3), i3)
from61 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3,e3
e3,f3
f3,g3
g3,h3
h3,i3
i3) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3),(e3
e3,f3
f3),(g3
g3,h3
h3),i3
i3)

-- | @since 2.11.0
to61 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3),(e3,f3),(g3,h3),i3) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3,e3,f3,g3,h3,i3)
to61 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3 i3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3), (e3, f3), (g3, h3), i3)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3, g3, h3, i3)
to61 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3),(e3
e3,f3
f3),(g3
g3,h3
h3),i3
i3) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3,e3
e3,f3
f3,g3
g3,h3
h3,i3
i3)

-- | @since 2.11.0
instance (RawSql a, RawSql b, RawSql c, RawSql d, RawSql e, RawSql f, RawSql g, RawSql h, RawSql i, RawSql j, RawSql k, RawSql l, RawSql m, RawSql n, RawSql o, RawSql p, RawSql q, RawSql r, RawSql s, RawSql t, RawSql u, RawSql v, RawSql w, RawSql x, RawSql y, RawSql z, RawSql a2, RawSql b2, RawSql c2, RawSql d2, RawSql e2, RawSql f2, RawSql g2, RawSql h2, RawSql i2, RawSql j2, RawSql k2, RawSql l2, RawSql m2, RawSql n2, RawSql o2, RawSql p2, RawSql q2, RawSql r2, RawSql s2, RawSql t2, RawSql u2, RawSql v2, RawSql w2, RawSql x2, RawSql y2, RawSql z2, RawSql a3, RawSql b3, RawSql c3, RawSql d3, RawSql e3, RawSql f3, RawSql g3, RawSql h3, RawSql i3, RawSql j3)
      => RawSql (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3, f3, g3, h3, i3, j3) where
    rawSqlCols :: (Text -> Text)
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3, g3, h3, i3, j3)
-> (Int, [Text])
rawSqlCols Text -> Text
e         = forall a. RawSql a => (Text -> Text) -> a -> (Int, [Text])
rawSqlCols Text -> Text
e         forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3 i3 j3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3, h3, i3, j3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3), (g3, h3), (i3, j3))
from62
    rawSqlColCountReason :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3, h3, i3, j3)
-> String
rawSqlColCountReason = forall a. RawSql a => a -> String
rawSqlColCountReason forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3 i3 j3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3, h3, i3, j3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3), (g3, h3), (i3, j3))
from62
    rawSqlProcessRow :: [PersistValue]
-> Either
     Text
     (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
      w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
      o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
      f3, g3, h3, i3, j3)
rawSqlProcessRow     = forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3 i3 j3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3), (e3, f3), (g3, h3), (i3, j3))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3, g3, h3, i3, j3)
to62 forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. RawSql a => [PersistValue] -> Either Text a
rawSqlProcessRow

-- | @since 2.11.0
from62 :: (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3,e3,f3,g3,h3,i3,j3) -> ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3),(e3,f3),(g3,h3),(i3,j3))
from62 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3 i3 j3.
(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v,
 w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2,
 o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3, e3,
 f3, g3, h3, i3, j3)
-> ((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
    (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
    (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
    (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
    (c3, d3), (e3, f3), (g3, h3), (i3, j3))
from62 (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3,e3
e3,f3
f3,g3
g3,h3
h3,i3
i3,j3
j3) = ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3),(e3
e3,f3
f3),(g3
g3,h3
h3),(i3
i3,j3
j3))

-- | @since 2.11.0
to62 :: ((a,b),(c,d),(e,f),(g,h),(i,j),(k,l),(m,n),(o,p),(q,r),(s,t),(u,v),(w,x),(y,z),(a2,b2),(c2,d2),(e2,f2),(g2,h2),(i2,j2),(k2,l2),(m2,n2),(o2,p2),(q2,r2),(s2,t2),(u2,v2),(w2,x2),(y2,z2),(a3,b3),(c3,d3),(e3,f3),(g3,h3),(i3,j3)) -> (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,w2,x2,y2,z2,a3,b3,c3,d3,e3,f3,g3,h3,i3,j3)
to62 :: forall a b c d e f g h i j k l m n o p q r s t u v w x y z a2 b2 c2
       d2 e2 f2 g2 h2 i2 j2 k2 l2 m2 n2 o2 p2 q2 r2 s2 t2 u2 v2 w2 x2 y2
       z2 a3 b3 c3 d3 e3 f3 g3 h3 i3 j3.
((a, b), (c, d), (e, f), (g, h), (i, j), (k, l), (m, n), (o, p),
 (q, r), (s, t), (u, v), (w, x), (y, z), (a2, b2), (c2, d2),
 (e2, f2), (g2, h2), (i2, j2), (k2, l2), (m2, n2), (o2, p2),
 (q2, r2), (s2, t2), (u2, v2), (w2, x2), (y2, z2), (a3, b3),
 (c3, d3), (e3, f3), (g3, h3), (i3, j3))
-> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u,
    v, w, x, y, z, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2,
    n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y2, z2, a3, b3, c3, d3,
    e3, f3, g3, h3, i3, j3)
to62 ((a
a,b
b),(c
c,d
d),(e
e,f
f),(g
g,h
h),(i
i,j
j),(k
k,l
l),(m
m,n
n),(o
o,p
p),(q
q,r
r),(s
s,t
t),(u
u,v
v),(w
w,x
x),(y
y,z
z),(a2
a2,b2
b2),(c2
c2,d2
d2),(e2
e2,f2
f2),(g2
g2,h2
h2),(i2
i2,j2
j2),(k2
k2,l2
l2),(m2
m2,n2
n2),(o2
o2,p2
p2),(q2
q2,r2
r2),(s2
s2,t2
t2),(u2
u2,v2
v2),(w2
w2,x2
x2),(y2
y2,z2
z2),(a3
a3,b3
b3),(c3
c3,d3
d3),(e3
e3,f3
f3),(g3
g3,h3
h3),(i3
i3,j3
j3)) = (a
a,b
b,c
c,d
d,e
e,f
f,g
g,h
h,i
i,j
j,k
k,l
l,m
m,n
n,o
o,p
p,q
q,r
r,s
s,t
t,u
u,v
v,w
w,x
x,y
y,z
z,a2
a2,b2
b2,c2
c2,d2
d2,e2
e2,f2
f2,g2
g2,h2
h2,i2
i2,j2
j2,k2
k2,l2
l2,m2
m2,n2
n2,o2
o2,p2
p2,q2
q2,r2
r2,s2
s2,t2
t2,u2
u2,v2
v2,w2
w2,x2
x2,y2
y2,z2
z2,a3
a3,b3
b3,c3
c3,d3
d3,e3
e3,f3
f3,g3
g3,h3
h3,i3
i3,j3
j3)

extractMaybe :: Maybe a -> a
extractMaybe :: forall a. Maybe a -> a
extractMaybe = forall a. a -> Maybe a -> a
fromMaybe (forall a. HasCallStack => String -> a
error String
"Database.Persist.GenericSql.extractMaybe")

-- | Tells Persistent what database column type should be used to store a Haskell type.
--
-- ==== __Examples__
--
-- ===== Simple Boolean Alternative
--
-- @
-- data Switch = On | Off
--   deriving (Show, Eq)
--
-- instance 'PersistField' Switch where
--   'toPersistValue' s = case s of
--     On -> 'PersistBool' True
--     Off -> 'PersistBool' False
--   'fromPersistValue' ('PersistBool' b) = if b then 'Right' On else 'Right' Off
--   'fromPersistValue' x = Left $ "File.hs: When trying to deserialize a Switch: expected PersistBool, received: " <> T.pack (show x)
--
-- instance 'PersistFieldSql' Switch where
--   'sqlType' _ = 'SqlBool'
-- @
--
-- ===== Non-Standard Database Types
--
-- If your database supports non-standard types, such as Postgres' @uuid@, you can use 'SqlOther' to use them:
--
-- @
-- import qualified Data.UUID as UUID
-- instance 'PersistField' UUID where
--   'toPersistValue' = 'PersistLiteralEncoded' . toASCIIBytes
--   'fromPersistValue' ('PersistLiteralEncoded' uuid) =
--     case fromASCIIBytes uuid of
--       'Nothing' -> 'Left' $ "Model/CustomTypes.hs: Failed to deserialize a UUID; received: " <> T.pack (show uuid)
--       'Just' uuid' -> 'Right' uuid'
--   'fromPersistValue' x = Left $ "File.hs: When trying to deserialize a UUID: expected PersistLiteralEncoded, received: "-- >  <> T.pack (show x)
--
-- instance 'PersistFieldSql' UUID where
--   'sqlType' _ = 'SqlOther' "uuid"
-- @
--
-- ===== User Created Database Types
--
-- Similarly, some databases support creating custom types, e.g. Postgres' <https://www.postgresql.org/docs/current/static/sql-createdomain.html DOMAIN> and <https://www.postgresql.org/docs/current/static/datatype-enum.html ENUM> features. You can use 'SqlOther' to specify a custom type:
--
-- > CREATE DOMAIN ssn AS text
-- >       CHECK ( value ~ '^[0-9]{9}$');
--
-- @
-- instance 'PersistFieldSQL' SSN where
--   'sqlType' _ = 'SqlOther' "ssn"
-- @
--
-- > CREATE TYPE rainbow_color AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet');
--
-- @
-- instance 'PersistFieldSQL' RainbowColor where
--   'sqlType' _ = 'SqlOther' "rainbow_color"
-- @
class PersistField a => PersistFieldSql a where
    sqlType :: Proxy a -> SqlType

#ifndef NO_OVERLAP
instance {-# OVERLAPPING #-} PersistFieldSql [Char] where
    sqlType :: Proxy String -> SqlType
sqlType Proxy String
_ = SqlType
SqlString
#endif

instance PersistFieldSql ByteString where
    sqlType :: Proxy ByteString -> SqlType
sqlType Proxy ByteString
_ = SqlType
SqlBlob
instance PersistFieldSql T.Text where
    sqlType :: Proxy Text -> SqlType
sqlType Proxy Text
_ = SqlType
SqlString
instance PersistFieldSql TL.Text where
    sqlType :: Proxy Text -> SqlType
sqlType Proxy Text
_ = SqlType
SqlString
instance PersistFieldSql Html where
    sqlType :: Proxy Html -> SqlType
sqlType Proxy Html
_ = SqlType
SqlString
instance PersistFieldSql Int where
    sqlType :: Proxy Int -> SqlType
sqlType Proxy Int
_
        | Just Int
x <- forall a. Bits a => a -> Maybe Int
bitSizeMaybe (Int
0 :: Int), Int
x forall a. Ord a => a -> a -> Bool
<= Int
32 = SqlType
SqlInt32
        | Bool
otherwise = SqlType
SqlInt64
instance PersistFieldSql Int8 where
    sqlType :: Proxy Int8 -> SqlType
sqlType Proxy Int8
_ = SqlType
SqlInt32
instance PersistFieldSql Int16 where
    sqlType :: Proxy Int16 -> SqlType
sqlType Proxy Int16
_ = SqlType
SqlInt32
instance PersistFieldSql Int32 where
    sqlType :: Proxy Int32 -> SqlType
sqlType Proxy Int32
_ = SqlType
SqlInt32
instance PersistFieldSql Int64 where
    sqlType :: Proxy Int64 -> SqlType
sqlType Proxy Int64
_ = SqlType
SqlInt64
instance PersistFieldSql Word where
    sqlType :: Proxy Word -> SqlType
sqlType Proxy Word
_ = SqlType
SqlInt64
instance PersistFieldSql Word8 where
    sqlType :: Proxy Word8 -> SqlType
sqlType Proxy Word8
_ = SqlType
SqlInt32
instance PersistFieldSql Word16 where
    sqlType :: Proxy Word16 -> SqlType
sqlType Proxy Word16
_ = SqlType
SqlInt32
instance PersistFieldSql Word32 where
    sqlType :: Proxy Word32 -> SqlType
sqlType Proxy Word32
_ = SqlType
SqlInt64
instance PersistFieldSql Word64 where
    sqlType :: Proxy Word64 -> SqlType
sqlType Proxy Word64
_ = SqlType
SqlInt64
instance PersistFieldSql Double where
    sqlType :: Proxy Double -> SqlType
sqlType Proxy Double
_ = SqlType
SqlReal
instance PersistFieldSql Bool where
    sqlType :: Proxy Bool -> SqlType
sqlType Proxy Bool
_ = SqlType
SqlBool
instance PersistFieldSql Day where
    sqlType :: Proxy Day -> SqlType
sqlType Proxy Day
_ = SqlType
SqlDay
instance PersistFieldSql TimeOfDay where
    sqlType :: Proxy TimeOfDay -> SqlType
sqlType Proxy TimeOfDay
_ = SqlType
SqlTime
instance PersistFieldSql UTCTime where
    sqlType :: Proxy UTCTime -> SqlType
sqlType Proxy UTCTime
_ = SqlType
SqlDayTime
instance PersistFieldSql a => PersistFieldSql (Maybe a) where
    sqlType :: Proxy (Maybe a) -> SqlType
sqlType Proxy (Maybe a)
_ = forall a. PersistFieldSql a => Proxy a -> SqlType
sqlType (forall {k} (t :: k). Proxy t
Proxy :: Proxy a)
instance {-# OVERLAPPABLE #-} PersistFieldSql a => PersistFieldSql [a] where
    sqlType :: Proxy [a] -> SqlType
sqlType Proxy [a]
_ = SqlType
SqlString
instance PersistFieldSql a => PersistFieldSql (V.Vector a) where
  sqlType :: Proxy (Vector a) -> SqlType
sqlType Proxy (Vector a)
_ = SqlType
SqlString
instance (Ord a, PersistFieldSql a) => PersistFieldSql (S.Set a) where
    sqlType :: Proxy (Set a) -> SqlType
sqlType Proxy (Set a)
_ = SqlType
SqlString
instance (PersistFieldSql a, PersistFieldSql b) => PersistFieldSql (a,b) where
    sqlType :: Proxy (a, b) -> SqlType
sqlType Proxy (a, b)
_ = SqlType
SqlString
instance PersistFieldSql v => PersistFieldSql (IM.IntMap v) where
    sqlType :: Proxy (IntMap v) -> SqlType
sqlType Proxy (IntMap v)
_ = SqlType
SqlString
instance PersistFieldSql v => PersistFieldSql (M.Map T.Text v) where
    sqlType :: Proxy (Map Text v) -> SqlType
sqlType Proxy (Map Text v)
_ = SqlType
SqlString
instance PersistFieldSql PersistValue where
    sqlType :: Proxy PersistValue -> SqlType
sqlType Proxy PersistValue
_ = SqlType
SqlInt64 -- since PersistValue should only be used like this for keys, which in SQL are Int64
instance PersistFieldSql Checkmark where
    sqlType :: Proxy Checkmark -> SqlType
sqlType    Proxy Checkmark
_ = SqlType
SqlBool
instance (HasResolution a) => PersistFieldSql (Fixed a) where
    sqlType :: Proxy (Fixed a) -> SqlType
sqlType Proxy (Fixed a)
a =
        Word32 -> Word32 -> SqlType
SqlNumeric Word32
long Word32
prec
      where
        prec :: Word32
prec = forall a b. (RealFrac a, Integral b) => a -> b
round forall a b. (a -> b) -> a -> b
$ (forall a. Floating a => a -> a
log forall a b. (a -> b) -> a -> b
$ forall a b. (Integral a, Num b) => a -> b
fromIntegral forall a b. (a -> b) -> a -> b
$ forall k (a :: k) (p :: k -> *). HasResolution a => p a -> Integer
resolution Fixed a
n) forall a. Fractional a => a -> a -> a
/ (forall a. Floating a => a -> a
log Double
10 :: Double) --  FIXME: May lead to problems with big numbers
        long :: Word32
long = Word32
prec forall a. Num a => a -> a -> a
+ Word32
10                                                        --  FIXME: Is this enough ?
        n :: Fixed a
n = Fixed a
0
        _mn :: Proxy (Fixed a)
_mn = forall (m :: * -> *) a. Monad m => a -> m a
return Fixed a
n forall a. a -> a -> a
`asTypeOf` Proxy (Fixed a)
a

instance PersistFieldSql Rational where
    sqlType :: Proxy Rational -> SqlType
sqlType Proxy Rational
_ = Word32 -> Word32 -> SqlType
SqlNumeric Word32
32 Word32
20   --  need to make this field big enough to handle Rational to Mumber string conversion for ODBC


-- | This type uses the 'SqlInt64' version, which will exhibit overflow and
-- underflow behavior. Additionally, it permits negative values in the
-- database, which isn't ideal.
--
-- @since 2.11.0
instance PersistFieldSql OverflowNatural where
  sqlType :: Proxy OverflowNatural -> SqlType
sqlType Proxy OverflowNatural
_ = SqlType
SqlInt64

-- An embedded Entity
instance (PersistField record, PersistEntity record) => PersistFieldSql (Entity record) where
    sqlType :: Proxy (Entity record) -> SqlType
sqlType Proxy (Entity record)
_ = SqlType
SqlString