module Hasura.RQL.IR.Conflict
( OnConflictClause (..),
OnConflictClauseData (..),
ConflictTarget (..),
)
where
import Hasura.Prelude
import Hasura.RQL.IR.BoolExp
import Hasura.RQL.Types.Backend
import Hasura.RQL.Types.BackendType
data ConflictTarget (b :: BackendType)
= CTColumn [Column b]
| CTConstraint (ConstraintName b)
deriving instance (Backend b) => Show (ConflictTarget b)
deriving instance (Backend b) => Eq (ConflictTarget b)
data OnConflictClauseData b v = OnConflictClauseData
{ forall (b :: BackendType) v.
OnConflictClauseData b v -> ConflictTarget b
cp1udConflictTarget :: ConflictTarget b,
forall (b :: BackendType) v. OnConflictClauseData b v -> [Column b]
cp1udAffectedColumns :: [Column b],
forall (b :: BackendType) v.
OnConflictClauseData b v -> PreSetColsG b v
cp1udValues :: PreSetColsG b v,
forall (b :: BackendType) v.
OnConflictClauseData b v -> AnnBoolExp b v
cp1udFilter :: AnnBoolExp b v
}
deriving ((forall a b.
(a -> b) -> OnConflictClauseData b a -> OnConflictClauseData b b)
-> (forall a b.
a -> OnConflictClauseData b b -> OnConflictClauseData b a)
-> Functor (OnConflictClauseData b)
forall a b.
a -> OnConflictClauseData b b -> OnConflictClauseData b a
forall a b.
(a -> b) -> OnConflictClauseData b a -> OnConflictClauseData b b
forall (b :: BackendType) a b.
Backend b =>
a -> OnConflictClauseData b b -> OnConflictClauseData b a
forall (b :: BackendType) a b.
Backend b =>
(a -> b) -> OnConflictClauseData b a -> OnConflictClauseData b b
forall (f :: * -> *).
(forall a b. (a -> b) -> f a -> f b)
-> (forall a b. a -> f b -> f a) -> Functor f
$cfmap :: forall (b :: BackendType) a b.
Backend b =>
(a -> b) -> OnConflictClauseData b a -> OnConflictClauseData b b
fmap :: forall a b.
(a -> b) -> OnConflictClauseData b a -> OnConflictClauseData b b
$c<$ :: forall (b :: BackendType) a b.
Backend b =>
a -> OnConflictClauseData b b -> OnConflictClauseData b a
<$ :: forall a b.
a -> OnConflictClauseData b b -> OnConflictClauseData b a
Functor, (forall m. Monoid m => OnConflictClauseData b m -> m)
-> (forall m a.
Monoid m =>
(a -> m) -> OnConflictClauseData b a -> m)
-> (forall m a.
Monoid m =>
(a -> m) -> OnConflictClauseData b a -> m)
-> (forall a b.
(a -> b -> b) -> b -> OnConflictClauseData b a -> b)
-> (forall a b.
(a -> b -> b) -> b -> OnConflictClauseData b a -> b)
-> (forall b a.
(b -> a -> b) -> b -> OnConflictClauseData b a -> b)
-> (forall b a.
(b -> a -> b) -> b -> OnConflictClauseData b a -> b)
-> (forall a. (a -> a -> a) -> OnConflictClauseData b a -> a)
-> (forall a. (a -> a -> a) -> OnConflictClauseData b a -> a)
-> (forall a. OnConflictClauseData b a -> [a])
-> (forall a. OnConflictClauseData b a -> Bool)
-> (forall a. OnConflictClauseData b a -> Int)
-> (forall a. Eq a => a -> OnConflictClauseData b a -> Bool)
-> (forall a. Ord a => OnConflictClauseData b a -> a)
-> (forall a. Ord a => OnConflictClauseData b a -> a)
-> (forall a. Num a => OnConflictClauseData b a -> a)
-> (forall a. Num a => OnConflictClauseData b a -> a)
-> Foldable (OnConflictClauseData b)
forall a. Eq a => a -> OnConflictClauseData b a -> Bool
forall a. Num a => OnConflictClauseData b a -> a
forall a. Ord a => OnConflictClauseData b a -> a
forall m. Monoid m => OnConflictClauseData b m -> m
forall a. OnConflictClauseData b a -> Bool
forall a. OnConflictClauseData b a -> Int
forall a. OnConflictClauseData b a -> [a]
forall a. (a -> a -> a) -> OnConflictClauseData b a -> a
forall m a. Monoid m => (a -> m) -> OnConflictClauseData b a -> m
forall b a. (b -> a -> b) -> b -> OnConflictClauseData b a -> b
forall a b. (a -> b -> b) -> b -> OnConflictClauseData b a -> b
forall (b :: BackendType) a.
(Backend b, Eq a) =>
a -> OnConflictClauseData b a -> Bool
forall (b :: BackendType) a.
(Backend b, Num a) =>
OnConflictClauseData b a -> a
forall (b :: BackendType) a.
(Backend b, Ord a) =>
OnConflictClauseData b a -> a
forall (b :: BackendType) m.
(Backend b, Monoid m) =>
OnConflictClauseData b m -> m
forall (b :: BackendType) a.
Backend b =>
OnConflictClauseData b a -> Bool
forall (b :: BackendType) a.
Backend b =>
OnConflictClauseData b a -> Int
forall (b :: BackendType) a.
Backend b =>
OnConflictClauseData b a -> [a]
forall (b :: BackendType) a.
Backend b =>
(a -> a -> a) -> OnConflictClauseData b a -> a
forall (b :: BackendType) m a.
(Backend b, Monoid m) =>
(a -> m) -> OnConflictClauseData b a -> m
forall (b :: BackendType) b a.
Backend b =>
(b -> a -> b) -> b -> OnConflictClauseData b a -> b
forall (b :: BackendType) a b.
Backend b =>
(a -> b -> b) -> b -> OnConflictClauseData b a -> b
forall (t :: * -> *).
(forall m. Monoid m => t m -> m)
-> (forall m a. Monoid m => (a -> m) -> t a -> m)
-> (forall m a. Monoid m => (a -> m) -> t a -> m)
-> (forall a b. (a -> b -> b) -> b -> t a -> b)
-> (forall a b. (a -> b -> b) -> b -> t a -> b)
-> (forall b a. (b -> a -> b) -> b -> t a -> b)
-> (forall b a. (b -> a -> b) -> b -> t a -> b)
-> (forall a. (a -> a -> a) -> t a -> a)
-> (forall a. (a -> a -> a) -> t a -> a)
-> (forall a. t a -> [a])
-> (forall a. t a -> Bool)
-> (forall a. t a -> Int)
-> (forall a. Eq a => a -> t a -> Bool)
-> (forall a. Ord a => t a -> a)
-> (forall a. Ord a => t a -> a)
-> (forall a. Num a => t a -> a)
-> (forall a. Num a => t a -> a)
-> Foldable t
$cfold :: forall (b :: BackendType) m.
(Backend b, Monoid m) =>
OnConflictClauseData b m -> m
fold :: forall m. Monoid m => OnConflictClauseData b m -> m
$cfoldMap :: forall (b :: BackendType) m a.
(Backend b, Monoid m) =>
(a -> m) -> OnConflictClauseData b a -> m
foldMap :: forall m a. Monoid m => (a -> m) -> OnConflictClauseData b a -> m
$cfoldMap' :: forall (b :: BackendType) m a.
(Backend b, Monoid m) =>
(a -> m) -> OnConflictClauseData b a -> m
foldMap' :: forall m a. Monoid m => (a -> m) -> OnConflictClauseData b a -> m
$cfoldr :: forall (b :: BackendType) a b.
Backend b =>
(a -> b -> b) -> b -> OnConflictClauseData b a -> b
foldr :: forall a b. (a -> b -> b) -> b -> OnConflictClauseData b a -> b
$cfoldr' :: forall (b :: BackendType) a b.
Backend b =>
(a -> b -> b) -> b -> OnConflictClauseData b a -> b
foldr' :: forall a b. (a -> b -> b) -> b -> OnConflictClauseData b a -> b
$cfoldl :: forall (b :: BackendType) b a.
Backend b =>
(b -> a -> b) -> b -> OnConflictClauseData b a -> b
foldl :: forall b a. (b -> a -> b) -> b -> OnConflictClauseData b a -> b
$cfoldl' :: forall (b :: BackendType) b a.
Backend b =>
(b -> a -> b) -> b -> OnConflictClauseData b a -> b
foldl' :: forall b a. (b -> a -> b) -> b -> OnConflictClauseData b a -> b
$cfoldr1 :: forall (b :: BackendType) a.
Backend b =>
(a -> a -> a) -> OnConflictClauseData b a -> a
foldr1 :: forall a. (a -> a -> a) -> OnConflictClauseData b a -> a
$cfoldl1 :: forall (b :: BackendType) a.
Backend b =>
(a -> a -> a) -> OnConflictClauseData b a -> a
foldl1 :: forall a. (a -> a -> a) -> OnConflictClauseData b a -> a
$ctoList :: forall (b :: BackendType) a.
Backend b =>
OnConflictClauseData b a -> [a]
toList :: forall a. OnConflictClauseData b a -> [a]
$cnull :: forall (b :: BackendType) a.
Backend b =>
OnConflictClauseData b a -> Bool
null :: forall a. OnConflictClauseData b a -> Bool
$clength :: forall (b :: BackendType) a.
Backend b =>
OnConflictClauseData b a -> Int
length :: forall a. OnConflictClauseData b a -> Int
$celem :: forall (b :: BackendType) a.
(Backend b, Eq a) =>
a -> OnConflictClauseData b a -> Bool
elem :: forall a. Eq a => a -> OnConflictClauseData b a -> Bool
$cmaximum :: forall (b :: BackendType) a.
(Backend b, Ord a) =>
OnConflictClauseData b a -> a
maximum :: forall a. Ord a => OnConflictClauseData b a -> a
$cminimum :: forall (b :: BackendType) a.
(Backend b, Ord a) =>
OnConflictClauseData b a -> a
minimum :: forall a. Ord a => OnConflictClauseData b a -> a
$csum :: forall (b :: BackendType) a.
(Backend b, Num a) =>
OnConflictClauseData b a -> a
sum :: forall a. Num a => OnConflictClauseData b a -> a
$cproduct :: forall (b :: BackendType) a.
(Backend b, Num a) =>
OnConflictClauseData b a -> a
product :: forall a. Num a => OnConflictClauseData b a -> a
Foldable, Functor (OnConflictClauseData b)
Foldable (OnConflictClauseData b)
Functor (OnConflictClauseData b)
-> Foldable (OnConflictClauseData b)
-> (forall (f :: * -> *) a b.
Applicative f =>
(a -> f b)
-> OnConflictClauseData b a -> f (OnConflictClauseData b b))
-> (forall (f :: * -> *) a.
Applicative f =>
OnConflictClauseData b (f a) -> f (OnConflictClauseData b a))
-> (forall (m :: * -> *) a b.
Monad m =>
(a -> m b)
-> OnConflictClauseData b a -> m (OnConflictClauseData b b))
-> (forall (m :: * -> *) a.
Monad m =>
OnConflictClauseData b (m a) -> m (OnConflictClauseData b a))
-> Traversable (OnConflictClauseData b)
forall (b :: BackendType).
Backend b =>
Functor (OnConflictClauseData b)
forall (b :: BackendType).
Backend b =>
Foldable (OnConflictClauseData b)
forall (b :: BackendType) (m :: * -> *) a.
(Backend b, Monad m) =>
OnConflictClauseData b (m a) -> m (OnConflictClauseData b a)
forall (b :: BackendType) (f :: * -> *) a.
(Backend b, Applicative f) =>
OnConflictClauseData b (f a) -> f (OnConflictClauseData b a)
forall (b :: BackendType) (m :: * -> *) a b.
(Backend b, Monad m) =>
(a -> m b)
-> OnConflictClauseData b a -> m (OnConflictClauseData b b)
forall (b :: BackendType) (f :: * -> *) a b.
(Backend b, Applicative f) =>
(a -> f b)
-> OnConflictClauseData b a -> f (OnConflictClauseData b b)
forall (t :: * -> *).
Functor t
-> Foldable t
-> (forall (f :: * -> *) a b.
Applicative f =>
(a -> f b) -> t a -> f (t b))
-> (forall (f :: * -> *) a. Applicative f => t (f a) -> f (t a))
-> (forall (m :: * -> *) a b.
Monad m =>
(a -> m b) -> t a -> m (t b))
-> (forall (m :: * -> *) a. Monad m => t (m a) -> m (t a))
-> Traversable t
forall (m :: * -> *) a.
Monad m =>
OnConflictClauseData b (m a) -> m (OnConflictClauseData b a)
forall (f :: * -> *) a.
Applicative f =>
OnConflictClauseData b (f a) -> f (OnConflictClauseData b a)
forall (m :: * -> *) a b.
Monad m =>
(a -> m b)
-> OnConflictClauseData b a -> m (OnConflictClauseData b b)
forall (f :: * -> *) a b.
Applicative f =>
(a -> f b)
-> OnConflictClauseData b a -> f (OnConflictClauseData b b)
$ctraverse :: forall (b :: BackendType) (f :: * -> *) a b.
(Backend b, Applicative f) =>
(a -> f b)
-> OnConflictClauseData b a -> f (OnConflictClauseData b b)
traverse :: forall (f :: * -> *) a b.
Applicative f =>
(a -> f b)
-> OnConflictClauseData b a -> f (OnConflictClauseData b b)
$csequenceA :: forall (b :: BackendType) (f :: * -> *) a.
(Backend b, Applicative f) =>
OnConflictClauseData b (f a) -> f (OnConflictClauseData b a)
sequenceA :: forall (f :: * -> *) a.
Applicative f =>
OnConflictClauseData b (f a) -> f (OnConflictClauseData b a)
$cmapM :: forall (b :: BackendType) (m :: * -> *) a b.
(Backend b, Monad m) =>
(a -> m b)
-> OnConflictClauseData b a -> m (OnConflictClauseData b b)
mapM :: forall (m :: * -> *) a b.
Monad m =>
(a -> m b)
-> OnConflictClauseData b a -> m (OnConflictClauseData b b)
$csequence :: forall (b :: BackendType) (m :: * -> *) a.
(Backend b, Monad m) =>
OnConflictClauseData b (m a) -> m (OnConflictClauseData b a)
sequence :: forall (m :: * -> *) a.
Monad m =>
OnConflictClauseData b (m a) -> m (OnConflictClauseData b a)
Traversable)
data OnConflictClause (b :: BackendType) v
= OCCDoNothing (Maybe (ConflictTarget b))
| OCCUpdate (OnConflictClauseData b v)
deriving ((forall a b.
(a -> b) -> OnConflictClause b a -> OnConflictClause b b)
-> (forall a b. a -> OnConflictClause b b -> OnConflictClause b a)
-> Functor (OnConflictClause b)
forall a b. a -> OnConflictClause b b -> OnConflictClause b a
forall a b.
(a -> b) -> OnConflictClause b a -> OnConflictClause b b
forall (b :: BackendType) a b.
Backend b =>
a -> OnConflictClause b b -> OnConflictClause b a
forall (b :: BackendType) a b.
Backend b =>
(a -> b) -> OnConflictClause b a -> OnConflictClause b b
forall (f :: * -> *).
(forall a b. (a -> b) -> f a -> f b)
-> (forall a b. a -> f b -> f a) -> Functor f
$cfmap :: forall (b :: BackendType) a b.
Backend b =>
(a -> b) -> OnConflictClause b a -> OnConflictClause b b
fmap :: forall a b.
(a -> b) -> OnConflictClause b a -> OnConflictClause b b
$c<$ :: forall (b :: BackendType) a b.
Backend b =>
a -> OnConflictClause b b -> OnConflictClause b a
<$ :: forall a b. a -> OnConflictClause b b -> OnConflictClause b a
Functor, (forall m. Monoid m => OnConflictClause b m -> m)
-> (forall m a. Monoid m => (a -> m) -> OnConflictClause b a -> m)
-> (forall m a. Monoid m => (a -> m) -> OnConflictClause b a -> m)
-> (forall a b. (a -> b -> b) -> b -> OnConflictClause b a -> b)
-> (forall a b. (a -> b -> b) -> b -> OnConflictClause b a -> b)
-> (forall b a. (b -> a -> b) -> b -> OnConflictClause b a -> b)
-> (forall b a. (b -> a -> b) -> b -> OnConflictClause b a -> b)
-> (forall a. (a -> a -> a) -> OnConflictClause b a -> a)
-> (forall a. (a -> a -> a) -> OnConflictClause b a -> a)
-> (forall a. OnConflictClause b a -> [a])
-> (forall a. OnConflictClause b a -> Bool)
-> (forall a. OnConflictClause b a -> Int)
-> (forall a. Eq a => a -> OnConflictClause b a -> Bool)
-> (forall a. Ord a => OnConflictClause b a -> a)
-> (forall a. Ord a => OnConflictClause b a -> a)
-> (forall a. Num a => OnConflictClause b a -> a)
-> (forall a. Num a => OnConflictClause b a -> a)
-> Foldable (OnConflictClause b)
forall a. Eq a => a -> OnConflictClause b a -> Bool
forall a. Num a => OnConflictClause b a -> a
forall a. Ord a => OnConflictClause b a -> a
forall m. Monoid m => OnConflictClause b m -> m
forall a. OnConflictClause b a -> Bool
forall a. OnConflictClause b a -> Int
forall a. OnConflictClause b a -> [a]
forall a. (a -> a -> a) -> OnConflictClause b a -> a
forall m a. Monoid m => (a -> m) -> OnConflictClause b a -> m
forall b a. (b -> a -> b) -> b -> OnConflictClause b a -> b
forall a b. (a -> b -> b) -> b -> OnConflictClause b a -> b
forall (b :: BackendType) a.
(Backend b, Eq a) =>
a -> OnConflictClause b a -> Bool
forall (b :: BackendType) a.
(Backend b, Num a) =>
OnConflictClause b a -> a
forall (b :: BackendType) a.
(Backend b, Ord a) =>
OnConflictClause b a -> a
forall (b :: BackendType) m.
(Backend b, Monoid m) =>
OnConflictClause b m -> m
forall (b :: BackendType) a.
Backend b =>
OnConflictClause b a -> Bool
forall (b :: BackendType) a.
Backend b =>
OnConflictClause b a -> Int
forall (b :: BackendType) a.
Backend b =>
OnConflictClause b a -> [a]
forall (b :: BackendType) a.
Backend b =>
(a -> a -> a) -> OnConflictClause b a -> a
forall (b :: BackendType) m a.
(Backend b, Monoid m) =>
(a -> m) -> OnConflictClause b a -> m
forall (b :: BackendType) b a.
Backend b =>
(b -> a -> b) -> b -> OnConflictClause b a -> b
forall (b :: BackendType) a b.
Backend b =>
(a -> b -> b) -> b -> OnConflictClause b a -> b
forall (t :: * -> *).
(forall m. Monoid m => t m -> m)
-> (forall m a. Monoid m => (a -> m) -> t a -> m)
-> (forall m a. Monoid m => (a -> m) -> t a -> m)
-> (forall a b. (a -> b -> b) -> b -> t a -> b)
-> (forall a b. (a -> b -> b) -> b -> t a -> b)
-> (forall b a. (b -> a -> b) -> b -> t a -> b)
-> (forall b a. (b -> a -> b) -> b -> t a -> b)
-> (forall a. (a -> a -> a) -> t a -> a)
-> (forall a. (a -> a -> a) -> t a -> a)
-> (forall a. t a -> [a])
-> (forall a. t a -> Bool)
-> (forall a. t a -> Int)
-> (forall a. Eq a => a -> t a -> Bool)
-> (forall a. Ord a => t a -> a)
-> (forall a. Ord a => t a -> a)
-> (forall a. Num a => t a -> a)
-> (forall a. Num a => t a -> a)
-> Foldable t
$cfold :: forall (b :: BackendType) m.
(Backend b, Monoid m) =>
OnConflictClause b m -> m
fold :: forall m. Monoid m => OnConflictClause b m -> m
$cfoldMap :: forall (b :: BackendType) m a.
(Backend b, Monoid m) =>
(a -> m) -> OnConflictClause b a -> m
foldMap :: forall m a. Monoid m => (a -> m) -> OnConflictClause b a -> m
$cfoldMap' :: forall (b :: BackendType) m a.
(Backend b, Monoid m) =>
(a -> m) -> OnConflictClause b a -> m
foldMap' :: forall m a. Monoid m => (a -> m) -> OnConflictClause b a -> m
$cfoldr :: forall (b :: BackendType) a b.
Backend b =>
(a -> b -> b) -> b -> OnConflictClause b a -> b
foldr :: forall a b. (a -> b -> b) -> b -> OnConflictClause b a -> b
$cfoldr' :: forall (b :: BackendType) a b.
Backend b =>
(a -> b -> b) -> b -> OnConflictClause b a -> b
foldr' :: forall a b. (a -> b -> b) -> b -> OnConflictClause b a -> b
$cfoldl :: forall (b :: BackendType) b a.
Backend b =>
(b -> a -> b) -> b -> OnConflictClause b a -> b
foldl :: forall b a. (b -> a -> b) -> b -> OnConflictClause b a -> b
$cfoldl' :: forall (b :: BackendType) b a.
Backend b =>
(b -> a -> b) -> b -> OnConflictClause b a -> b
foldl' :: forall b a. (b -> a -> b) -> b -> OnConflictClause b a -> b
$cfoldr1 :: forall (b :: BackendType) a.
Backend b =>
(a -> a -> a) -> OnConflictClause b a -> a
foldr1 :: forall a. (a -> a -> a) -> OnConflictClause b a -> a
$cfoldl1 :: forall (b :: BackendType) a.
Backend b =>
(a -> a -> a) -> OnConflictClause b a -> a
foldl1 :: forall a. (a -> a -> a) -> OnConflictClause b a -> a
$ctoList :: forall (b :: BackendType) a.
Backend b =>
OnConflictClause b a -> [a]
toList :: forall a. OnConflictClause b a -> [a]
$cnull :: forall (b :: BackendType) a.
Backend b =>
OnConflictClause b a -> Bool
null :: forall a. OnConflictClause b a -> Bool
$clength :: forall (b :: BackendType) a.
Backend b =>
OnConflictClause b a -> Int
length :: forall a. OnConflictClause b a -> Int
$celem :: forall (b :: BackendType) a.
(Backend b, Eq a) =>
a -> OnConflictClause b a -> Bool
elem :: forall a. Eq a => a -> OnConflictClause b a -> Bool
$cmaximum :: forall (b :: BackendType) a.
(Backend b, Ord a) =>
OnConflictClause b a -> a
maximum :: forall a. Ord a => OnConflictClause b a -> a
$cminimum :: forall (b :: BackendType) a.
(Backend b, Ord a) =>
OnConflictClause b a -> a
minimum :: forall a. Ord a => OnConflictClause b a -> a
$csum :: forall (b :: BackendType) a.
(Backend b, Num a) =>
OnConflictClause b a -> a
sum :: forall a. Num a => OnConflictClause b a -> a
$cproduct :: forall (b :: BackendType) a.
(Backend b, Num a) =>
OnConflictClause b a -> a
product :: forall a. Num a => OnConflictClause b a -> a
Foldable, Functor (OnConflictClause b)
Foldable (OnConflictClause b)
Functor (OnConflictClause b)
-> Foldable (OnConflictClause b)
-> (forall (f :: * -> *) a b.
Applicative f =>
(a -> f b) -> OnConflictClause b a -> f (OnConflictClause b b))
-> (forall (f :: * -> *) a.
Applicative f =>
OnConflictClause b (f a) -> f (OnConflictClause b a))
-> (forall (m :: * -> *) a b.
Monad m =>
(a -> m b) -> OnConflictClause b a -> m (OnConflictClause b b))
-> (forall (m :: * -> *) a.
Monad m =>
OnConflictClause b (m a) -> m (OnConflictClause b a))
-> Traversable (OnConflictClause b)
forall (b :: BackendType).
Backend b =>
Functor (OnConflictClause b)
forall (b :: BackendType).
Backend b =>
Foldable (OnConflictClause b)
forall (b :: BackendType) (m :: * -> *) a.
(Backend b, Monad m) =>
OnConflictClause b (m a) -> m (OnConflictClause b a)
forall (b :: BackendType) (f :: * -> *) a.
(Backend b, Applicative f) =>
OnConflictClause b (f a) -> f (OnConflictClause b a)
forall (b :: BackendType) (m :: * -> *) a b.
(Backend b, Monad m) =>
(a -> m b) -> OnConflictClause b a -> m (OnConflictClause b b)
forall (b :: BackendType) (f :: * -> *) a b.
(Backend b, Applicative f) =>
(a -> f b) -> OnConflictClause b a -> f (OnConflictClause b b)
forall (t :: * -> *).
Functor t
-> Foldable t
-> (forall (f :: * -> *) a b.
Applicative f =>
(a -> f b) -> t a -> f (t b))
-> (forall (f :: * -> *) a. Applicative f => t (f a) -> f (t a))
-> (forall (m :: * -> *) a b.
Monad m =>
(a -> m b) -> t a -> m (t b))
-> (forall (m :: * -> *) a. Monad m => t (m a) -> m (t a))
-> Traversable t
forall (m :: * -> *) a.
Monad m =>
OnConflictClause b (m a) -> m (OnConflictClause b a)
forall (f :: * -> *) a.
Applicative f =>
OnConflictClause b (f a) -> f (OnConflictClause b a)
forall (m :: * -> *) a b.
Monad m =>
(a -> m b) -> OnConflictClause b a -> m (OnConflictClause b b)
forall (f :: * -> *) a b.
Applicative f =>
(a -> f b) -> OnConflictClause b a -> f (OnConflictClause b b)
$ctraverse :: forall (b :: BackendType) (f :: * -> *) a b.
(Backend b, Applicative f) =>
(a -> f b) -> OnConflictClause b a -> f (OnConflictClause b b)
traverse :: forall (f :: * -> *) a b.
Applicative f =>
(a -> f b) -> OnConflictClause b a -> f (OnConflictClause b b)
$csequenceA :: forall (b :: BackendType) (f :: * -> *) a.
(Backend b, Applicative f) =>
OnConflictClause b (f a) -> f (OnConflictClause b a)
sequenceA :: forall (f :: * -> *) a.
Applicative f =>
OnConflictClause b (f a) -> f (OnConflictClause b a)
$cmapM :: forall (b :: BackendType) (m :: * -> *) a b.
(Backend b, Monad m) =>
(a -> m b) -> OnConflictClause b a -> m (OnConflictClause b b)
mapM :: forall (m :: * -> *) a b.
Monad m =>
(a -> m b) -> OnConflictClause b a -> m (OnConflictClause b b)
$csequence :: forall (b :: BackendType) (m :: * -> *) a.
(Backend b, Monad m) =>
OnConflictClause b (m a) -> m (OnConflictClause b a)
sequence :: forall (m :: * -> *) a.
Monad m =>
OnConflictClause b (m a) -> m (OnConflictClause b a)
Traversable)