{-# LANGUAGE CPP #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE PolyKinds #-}

module Data.Constraint.Lifting
  ( Lifting(..)
  , Lifting2(..)
  ) where

import Control.Applicative
import Control.Applicative.Backwards
import Control.Applicative.Lift
import Control.DeepSeq
import Control.Monad
import Control.Monad.Cont.Class
import Control.Monad.Error.Class
import Control.Monad.Fix
import Control.Monad.IO.Class
import Control.Monad.RWS.Class
import Control.Monad.Trans.Cont
import Control.Monad.Trans.Except
import Control.Monad.Trans.Identity
import Control.Monad.Trans.Maybe
import Control.Monad.Trans.Reader
import Control.Monad.Trans.RWS.Lazy as Lazy
import Control.Monad.Trans.RWS.Strict as Strict
import Control.Monad.Trans.State.Lazy as Lazy
import Control.Monad.Trans.State.Strict as Strict
import Control.Monad.Trans.Writer.Lazy as Lazy
import Control.Monad.Trans.Writer.Strict as Strict
import Data.Binary
import Data.Complex
import Data.Constraint
import Data.Functor.Classes
import Data.Functor.Compose as Functor
import Data.Functor.Identity
import Data.Functor.Product as Functor
import Data.Functor.Reverse as Functor
import Data.Functor.Sum as Functor
import Data.Hashable
import Data.Ratio
import GHC.Arr

class Lifting p f where
  lifting :: p a :- p (f a)

instance Lifting Eq [] where lifting :: forall a. Eq a :- Eq [a]
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Ord [] where lifting :: forall a. Ord a :- Ord [a]
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Show [] where lifting :: forall a. Show a :- Show [a]
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Read [] where lifting :: forall a. Read a :- Read [a]
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Hashable [] where lifting :: forall a. Hashable a :- Hashable [a]
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Binary [] where lifting :: forall a. Binary a :- Binary [a]
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting NFData [] where lifting :: forall a. NFData a :- NFData [a]
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Eq Maybe where lifting :: forall a. Eq a :- Eq (Maybe a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Ord Maybe where lifting :: forall a. Ord a :- Ord (Maybe a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Show Maybe where lifting :: forall a. Show a :- Show (Maybe a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Read Maybe where lifting :: forall a. Read a :- Read (Maybe a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Hashable Maybe where lifting :: forall a. Hashable a :- Hashable (Maybe a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Binary Maybe where lifting :: forall a. Binary a :- Binary (Maybe a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting NFData Maybe where lifting :: forall a. NFData a :- NFData (Maybe a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Semigroup Maybe where lifting :: forall a. Semigroup a :- Semigroup (Maybe a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Monoid Maybe where lifting :: forall a. Monoid a :- Monoid (Maybe a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Eq Ratio where lifting :: forall a. Eq a :- Eq (Ratio a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
-- instance Lifting Show Ratio where lifting = Sub Dict -- requires 7.10

instance Lifting Eq Complex where lifting :: forall a. Eq a :- Eq (Complex a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Read Complex where lifting :: forall a. Read a :- Read (Complex a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Show Complex where lifting :: forall a. Show a :- Show (Complex a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Semigroup ((->) a) where lifting :: forall a. Semigroup a :- Semigroup (a -> a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Monoid ((->) a) where lifting :: forall a. Monoid a :- Monoid (a -> a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Eq a => Lifting Eq (Either a) where lifting :: forall a. Eq a :- Eq (Either a a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ord a => Lifting Ord (Either a) where lifting :: forall a. Ord a :- Ord (Either a a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Show a => Lifting Show (Either a) where lifting :: forall a. Show a :- Show (Either a a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Read a => Lifting Read (Either a) where lifting :: forall a. Read a :- Read (Either a a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Hashable a => Lifting Hashable (Either a) where lifting :: forall a. Hashable a :- Hashable (Either a a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Binary a => Lifting Binary (Either a) where lifting :: forall a. Binary a :- Binary (Either a a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance NFData a => Lifting NFData (Either a) where lifting :: forall a. NFData a :- NFData (Either a a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Eq a => Lifting Eq ((,) a) where lifting :: forall a. Eq a :- Eq (a, a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ord a => Lifting Ord ((,) a) where lifting :: forall a. Ord a :- Ord (a, a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Show a => Lifting Show ((,) a) where lifting :: forall a. Show a :- Show (a, a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Read a => Lifting Read ((,) a) where lifting :: forall a. Read a :- Read (a, a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Hashable a => Lifting Hashable ((,) a) where lifting :: forall a. Hashable a :- Hashable (a, a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Binary a => Lifting Binary ((,) a) where lifting :: forall a. Binary a :- Binary (a, a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance NFData a => Lifting NFData ((,) a) where lifting :: forall a. NFData a :- NFData (a, a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Semigroup a => Lifting Semigroup ((,) a) where lifting :: forall a. Semigroup a :- Semigroup (a, a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid a => Lifting Monoid ((,) a) where lifting :: forall a. Monoid a :- Monoid (a, a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Bounded a => Lifting Bounded ((,) a) where lifting :: forall a. Bounded a :- Bounded (a, a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ix a => Lifting Ix ((,) a) where lifting :: forall a. Ix a :- Ix (a, a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Functor f => Lifting Functor (Compose f) where lifting :: forall (a :: * -> *). Functor a :- Functor (Compose f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Foldable f => Lifting Foldable (Compose f) where lifting :: forall (a :: * -> *). Foldable a :- Foldable (Compose f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Traversable f => Lifting Traversable (Compose f) where lifting :: forall (a :: * -> *). Traversable a :- Traversable (Compose f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Applicative f => Lifting Applicative (Compose f) where lifting :: forall (a :: * -> *). Applicative a :- Applicative (Compose f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Alternative f => Lifting Alternative (Compose f) where lifting :: forall (a :: * -> *). Alternative a :- Alternative (Compose f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict -- overconstrained

instance Show1 f => Lifting Show1 (Compose f) where lifting :: forall (a :: * -> *). Show1 a :- Show1 (Compose f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Eq1 f => Lifting Eq1 (Compose f) where lifting :: forall (a :: * -> *). Eq1 a :- Eq1 (Compose f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ord1 f => Lifting Ord1 (Compose f) where lifting :: forall (a :: * -> *). Ord1 a :- Ord1 (Compose f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Read1 f => Lifting Read1 (Compose f) where lifting :: forall (a :: * -> *). Read1 a :- Read1 (Compose f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Eq1 f, Eq1 g) => Lifting Eq (Compose f g) where lifting :: forall a. Eq a :- Eq (Compose f g a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Ord1 f, Ord1 g) => Lifting Ord (Compose f g) where lifting :: forall a. Ord a :- Ord (Compose f g a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Read1 f, Read1 g) => Lifting Read (Compose f g) where lifting :: forall a. Read a :- Read (Compose f g a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Show1 f, Show1 g) => Lifting Show (Compose f g) where lifting :: forall a. Show a :- Show (Compose f g a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Functor f => Lifting Functor (Functor.Product f) where lifting :: forall (a :: * -> *). Functor a :- Functor (Product f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Foldable f => Lifting Foldable (Functor.Product f) where lifting :: forall (a :: * -> *). Foldable a :- Foldable (Product f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Traversable f => Lifting Traversable (Functor.Product f) where lifting :: forall (a :: * -> *). Traversable a :- Traversable (Product f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Applicative f => Lifting Applicative (Functor.Product f) where lifting :: forall (a :: * -> *). Applicative a :- Applicative (Product f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Alternative f => Lifting Alternative (Functor.Product f) where lifting :: forall (a :: * -> *). Alternative a :- Alternative (Product f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monad f => Lifting Monad (Functor.Product f) where lifting :: forall (a :: * -> *). Monad a :- Monad (Product f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance MonadFix f => Lifting MonadFix (Functor.Product f) where lifting :: forall (a :: * -> *). MonadFix a :- MonadFix (Product f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance MonadPlus f => Lifting MonadPlus (Functor.Product f) where lifting :: forall (a :: * -> *). MonadPlus a :- MonadPlus (Product f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Show1 f => Lifting Show1 (Functor.Product f) where lifting :: forall (a :: * -> *). Show1 a :- Show1 (Product f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Eq1 f => Lifting Eq1 (Functor.Product f) where lifting :: forall (a :: * -> *). Eq1 a :- Eq1 (Product f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ord1 f => Lifting Ord1 (Functor.Product f) where lifting :: forall (a :: * -> *). Ord1 a :- Ord1 (Product f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Read1 f => Lifting Read1 (Functor.Product f) where lifting :: forall (a :: * -> *). Read1 a :- Read1 (Product f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Eq1 f, Eq1 g) => Lifting Eq (Functor.Product f g) where lifting :: forall a. Eq a :- Eq (Product f g a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Ord1 f, Ord1 g) => Lifting Ord (Functor.Product f g) where lifting :: forall a. Ord a :- Ord (Product f g a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Read1 f, Read1 g) => Lifting Read (Functor.Product f g) where lifting :: forall a. Read a :- Read (Product f g a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Show1 f, Show1 g) => Lifting Show (Functor.Product f g) where lifting :: forall a. Show a :- Show (Product f g a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Functor f => Lifting Functor (Functor.Sum f) where lifting :: forall (a :: * -> *). Functor a :- Functor (Sum f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Foldable f => Lifting Foldable (Functor.Sum f) where lifting :: forall (a :: * -> *). Foldable a :- Foldable (Sum f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Traversable f => Lifting Traversable (Functor.Sum f) where lifting :: forall (a :: * -> *). Traversable a :- Traversable (Sum f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Show1 f => Lifting Show1 (Functor.Sum f) where lifting :: forall (a :: * -> *). Show1 a :- Show1 (Sum f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Eq1 f => Lifting Eq1 (Functor.Sum f) where lifting :: forall (a :: * -> *). Eq1 a :- Eq1 (Sum f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ord1 f => Lifting Ord1 (Functor.Sum f) where lifting :: forall (a :: * -> *). Ord1 a :- Ord1 (Sum f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Read1 f => Lifting Read1 (Functor.Sum f) where lifting :: forall (a :: * -> *). Read1 a :- Read1 (Sum f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Eq1 f, Eq1 g) => Lifting Eq (Functor.Sum f g) where lifting :: forall a. Eq a :- Eq (Sum f g a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Ord1 f, Ord1 g) => Lifting Ord (Functor.Sum f g) where lifting :: forall a. Ord a :- Ord (Sum f g a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Read1 f, Read1 g) => Lifting Read (Functor.Sum f g) where lifting :: forall a. Read a :- Read (Sum f g a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Show1 f, Show1 g) => Lifting Show (Functor.Sum f g) where lifting :: forall a. Show a :- Show (Sum f g a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor (Strict.StateT s) where lifting :: forall (a :: * -> *). Functor a :- Functor (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Monad (Strict.StateT s) where lifting :: forall (a :: * -> *). Monad a :- Monad (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadFix (Strict.StateT s) where lifting :: forall (a :: * -> *). MonadFix a :- MonadFix (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadIO (Strict.StateT s) where lifting :: forall (a :: * -> *). MonadIO a :- MonadIO (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadPlus (Strict.StateT s) where lifting :: forall (a :: * -> *). MonadPlus a :- MonadPlus (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor (Lazy.StateT s) where lifting :: forall (a :: * -> *). Functor a :- Functor (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Monad (Lazy.StateT s) where lifting :: forall (a :: * -> *). Monad a :- Monad (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadFix (Lazy.StateT s) where lifting :: forall (a :: * -> *). MonadFix a :- MonadFix (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadIO (Lazy.StateT s) where lifting :: forall (a :: * -> *). MonadIO a :- MonadIO (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadPlus (Lazy.StateT s) where lifting :: forall (a :: * -> *). MonadPlus a :- MonadPlus (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor (Lazy.RWST r w s) where lifting :: forall (a :: * -> *). Functor a :- Functor (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting Monad (Lazy.RWST r w s) where lifting :: forall (a :: * -> *). Monad a :- Monad (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadFix (Lazy.RWST r w s) where lifting :: forall (a :: * -> *). MonadFix a :- MonadFix (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadPlus (Lazy.RWST r w s) where lifting :: forall (a :: * -> *). MonadPlus a :- MonadPlus (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadIO (Lazy.RWST r w s) where lifting :: forall (a :: * -> *). MonadIO a :- MonadIO (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor (Strict.RWST r w s) where lifting :: forall (a :: * -> *). Functor a :- Functor (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting Monad (Strict.RWST r w s) where lifting :: forall (a :: * -> *). Monad a :- Monad (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadFix (Strict.RWST r w s) where lifting :: forall (a :: * -> *). MonadFix a :- MonadFix (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadPlus (Strict.RWST r w s) where lifting :: forall (a :: * -> *). MonadPlus a :- MonadPlus (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadIO (Strict.RWST r w s) where lifting :: forall (a :: * -> *). MonadIO a :- MonadIO (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor (ReaderT e) where lifting :: forall (a :: * -> *). Functor a :- Functor (ReaderT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Applicative (ReaderT e) where lifting :: forall (a :: * -> *). Applicative a :- Applicative (ReaderT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Alternative (ReaderT e) where lifting :: forall (a :: * -> *). Alternative a :- Alternative (ReaderT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Monad (ReaderT e) where lifting :: forall (a :: * -> *). Monad a :- Monad (ReaderT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadPlus (ReaderT e) where lifting :: forall (a :: * -> *). MonadPlus a :- MonadPlus (ReaderT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadFix (ReaderT e) where lifting :: forall (a :: * -> *). MonadFix a :- MonadFix (ReaderT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadIO (ReaderT e) where lifting :: forall (a :: * -> *). MonadIO a :- MonadIO (ReaderT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor (ExceptT e) where lifting :: forall (a :: * -> *). Functor a :- Functor (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Foldable (ExceptT e) where lifting :: forall (a :: * -> *). Foldable a :- Foldable (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Traversable (ExceptT e) where lifting :: forall (a :: * -> *). Traversable a :- Traversable (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Monad (ExceptT e) where lifting :: forall (a :: * -> *). Monad a :- Monad (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadFix (ExceptT e) where lifting :: forall (a :: * -> *). MonadFix a :- MonadFix (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid e => Lifting MonadPlus (ExceptT e) where lifting :: forall (a :: * -> *). MonadPlus a :- MonadPlus (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict -- overconstrained!
instance Lifting MonadIO (ExceptT e) where lifting :: forall (a :: * -> *). MonadIO a :- MonadIO (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Show e => Lifting Show1 (ExceptT e) where lifting :: forall (a :: * -> *). Show1 a :- Show1 (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Eq e => Lifting Eq1 (ExceptT e) where lifting :: forall (a :: * -> *). Eq1 a :- Eq1 (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ord e => Lifting Ord1 (ExceptT e) where lifting :: forall (a :: * -> *). Ord1 a :- Ord1 (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Read e => Lifting Read1 (ExceptT e) where lifting :: forall (a :: * -> *). Read1 a :- Read1 (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Show e, Show1 m) => Lifting Show (ExceptT e m) where lifting :: forall a. Show a :- Show (ExceptT e m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Eq e, Eq1 m) => Lifting Eq (ExceptT e m) where lifting :: forall a. Eq a :- Eq (ExceptT e m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Ord e, Ord1 m) => Lifting Ord (ExceptT e m) where lifting :: forall a. Ord a :- Ord (ExceptT e m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Read e, Read1 m) => Lifting Read (ExceptT e m) where lifting :: forall a. Read a :- Read (ExceptT e m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor (Strict.WriterT w) where lifting :: forall (a :: * -> *). Functor a :- Functor (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting Applicative (Strict.WriterT w) where lifting :: forall (a :: * -> *). Applicative a :- Applicative (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting Alternative (Strict.WriterT w) where lifting :: forall (a :: * -> *). Alternative a :- Alternative (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting Monad (Strict.WriterT w) where lifting :: forall (a :: * -> *). Monad a :- Monad (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadFix (Strict.WriterT w) where lifting :: forall (a :: * -> *). MonadFix a :- MonadFix (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadPlus (Strict.WriterT w) where lifting :: forall (a :: * -> *). MonadPlus a :- MonadPlus (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Foldable (Strict.WriterT w) where lifting :: forall (a :: * -> *). Foldable a :- Foldable (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Traversable (Strict.WriterT w) where lifting :: forall (a :: * -> *). Traversable a :- Traversable (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadIO (Strict.WriterT w) where lifting :: forall (a :: * -> *). MonadIO a :- MonadIO (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Show w => Lifting Show1 (Strict.WriterT w) where lifting :: forall (a :: * -> *). Show1 a :- Show1 (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Eq w => Lifting Eq1 (Strict.WriterT w) where lifting :: forall (a :: * -> *). Eq1 a :- Eq1 (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ord w => Lifting Ord1 (Strict.WriterT w) where lifting :: forall (a :: * -> *). Ord1 a :- Ord1 (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Read w => Lifting Read1 (Strict.WriterT w) where lifting :: forall (a :: * -> *). Read1 a :- Read1 (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Show w, Show1 m) => Lifting Show (Strict.WriterT w m) where lifting :: forall a. Show a :- Show (WriterT w m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Eq w, Eq1 m) => Lifting Eq (Strict.WriterT w m) where lifting :: forall a. Eq a :- Eq (WriterT w m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Ord w, Ord1 m) => Lifting Ord (Strict.WriterT w m) where lifting :: forall a. Ord a :- Ord (WriterT w m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Read w, Read1 m) => Lifting Read (Strict.WriterT w m) where lifting :: forall a. Read a :- Read (WriterT w m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor (Lazy.WriterT w) where lifting :: forall (a :: * -> *). Functor a :- Functor (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting Applicative (Lazy.WriterT w) where lifting :: forall (a :: * -> *). Applicative a :- Applicative (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting Alternative (Lazy.WriterT w) where lifting :: forall (a :: * -> *). Alternative a :- Alternative (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting Monad (Lazy.WriterT w) where lifting :: forall (a :: * -> *). Monad a :- Monad (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadFix (Lazy.WriterT w) where lifting :: forall (a :: * -> *). MonadFix a :- MonadFix (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadPlus (Lazy.WriterT w) where lifting :: forall (a :: * -> *). MonadPlus a :- MonadPlus (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Foldable (Lazy.WriterT w) where lifting :: forall (a :: * -> *). Foldable a :- Foldable (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Traversable (Lazy.WriterT w) where lifting :: forall (a :: * -> *). Traversable a :- Traversable (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadIO (Lazy.WriterT w) where lifting :: forall (a :: * -> *). MonadIO a :- MonadIO (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Show w => Lifting Show1 (Lazy.WriterT w) where lifting :: forall (a :: * -> *). Show1 a :- Show1 (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Eq w => Lifting Eq1 (Lazy.WriterT w) where lifting :: forall (a :: * -> *). Eq1 a :- Eq1 (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ord w => Lifting Ord1 (Lazy.WriterT w) where lifting :: forall (a :: * -> *). Ord1 a :- Ord1 (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Read w => Lifting Read1 (Lazy.WriterT w) where lifting :: forall (a :: * -> *). Read1 a :- Read1 (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Show w, Show1 m) => Lifting Show (Lazy.WriterT w m) where lifting :: forall a. Show a :- Show (WriterT w m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Eq w, Eq1 m) => Lifting Eq (Lazy.WriterT w m) where lifting :: forall a. Eq a :- Eq (WriterT w m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Ord w, Ord1 m) => Lifting Ord (Lazy.WriterT w m) where lifting :: forall a. Ord a :- Ord (WriterT w m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance (Read w, Read1 m) => Lifting Read (Lazy.WriterT w m) where lifting :: forall a. Read a :- Read (WriterT w m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor (ContT r) where lifting :: forall (a :: * -> *). Functor a :- Functor (ContT r a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict -- overconstrained
instance Lifting Applicative (ContT r) where lifting :: forall (a :: * -> *). Applicative a :- Applicative (ContT r a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict -- overconstrained
instance Lifting Monad (ContT r) where lifting :: forall (a :: * -> *). Monad a :- Monad (ContT r a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict -- overconstrained
instance Lifting MonadIO (ContT r) where lifting :: forall (a :: * -> *). MonadIO a :- MonadIO (ContT r a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor IdentityT where lifting :: forall (a :: * -> *). Functor a :- Functor (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Applicative IdentityT where lifting :: forall (a :: * -> *). Applicative a :- Applicative (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Alternative IdentityT where lifting :: forall (a :: * -> *). Alternative a :- Alternative (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Monad IdentityT where lifting :: forall (a :: * -> *). Monad a :- Monad (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadPlus IdentityT where lifting :: forall (a :: * -> *). MonadPlus a :- MonadPlus (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadFix IdentityT where lifting :: forall (a :: * -> *). MonadFix a :- MonadFix (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Foldable IdentityT where lifting :: forall (a :: * -> *). Foldable a :- Foldable (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Traversable IdentityT where lifting :: forall (a :: * -> *). Traversable a :- Traversable (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadIO IdentityT where lifting :: forall (a :: * -> *). MonadIO a :- MonadIO (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Show1 IdentityT where lifting :: forall (a :: * -> *). Show1 a :- Show1 (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Read1 IdentityT where lifting :: forall (a :: * -> *). Read1 a :- Read1 (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Ord1 IdentityT where lifting :: forall (a :: * -> *). Ord1 a :- Ord1 (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Eq1 IdentityT where lifting :: forall (a :: * -> *). Eq1 a :- Eq1 (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Show1 m => Lifting Show (IdentityT m) where lifting :: forall a. Show a :- Show (IdentityT m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Read1 m => Lifting Read (IdentityT m) where lifting :: forall a. Read a :- Read (IdentityT m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ord1 m => Lifting Ord (IdentityT m) where lifting :: forall a. Ord a :- Ord (IdentityT m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Eq1 m => Lifting Eq (IdentityT m) where lifting :: forall a. Eq a :- Eq (IdentityT m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor MaybeT where lifting :: forall (a :: * -> *). Functor a :- Functor (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Monad MaybeT where lifting :: forall (a :: * -> *). Monad a :- Monad (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
-- instance Lifting MonadFix MaybeT where lifting = Sub Dict
instance Lifting MonadPlus MaybeT where lifting :: forall (a :: * -> *). MonadPlus a :- MonadPlus (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict -- overconstrained
instance Lifting Foldable MaybeT where lifting :: forall (a :: * -> *). Foldable a :- Foldable (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Traversable MaybeT where lifting :: forall (a :: * -> *). Traversable a :- Traversable (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadIO MaybeT where lifting :: forall (a :: * -> *). MonadIO a :- MonadIO (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Show1 MaybeT where lifting :: forall (a :: * -> *). Show1 a :- Show1 (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Read1 MaybeT where lifting :: forall (a :: * -> *). Read1 a :- Read1 (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Ord1 MaybeT where lifting :: forall (a :: * -> *). Ord1 a :- Ord1 (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Eq1 MaybeT where lifting :: forall (a :: * -> *). Eq1 a :- Eq1 (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Show1 m => Lifting Show (MaybeT m) where lifting :: forall a. Show a :- Show (MaybeT m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Read1 m => Lifting Read (MaybeT m) where lifting :: forall a. Read a :- Read (MaybeT m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ord1 m => Lifting Ord (MaybeT m) where lifting :: forall a. Ord a :- Ord (MaybeT m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Eq1 m => Lifting Eq (MaybeT m) where lifting :: forall a. Eq a :- Eq (MaybeT m a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor Reverse where lifting :: forall (a :: * -> *). Functor a :- Functor (Reverse a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Applicative Reverse where lifting :: forall (a :: * -> *). Applicative a :- Applicative (Reverse a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Alternative Reverse where lifting :: forall (a :: * -> *). Alternative a :- Alternative (Reverse a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Foldable Reverse where lifting :: forall (a :: * -> *). Foldable a :- Foldable (Reverse a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Traversable Reverse where lifting :: forall (a :: * -> *). Traversable a :- Traversable (Reverse a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Show1 Reverse where lifting :: forall (a :: * -> *). Show1 a :- Show1 (Reverse a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Read1 Reverse where lifting :: forall (a :: * -> *). Read1 a :- Read1 (Reverse a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Ord1 Reverse where lifting :: forall (a :: * -> *). Ord1 a :- Ord1 (Reverse a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Eq1 Reverse where lifting :: forall (a :: * -> *). Eq1 a :- Eq1 (Reverse a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Show1 f => Lifting Show (Reverse f) where lifting :: forall a. Show a :- Show (Reverse f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Read1 f => Lifting Read (Reverse f) where lifting :: forall a. Read a :- Read (Reverse f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ord1 f => Lifting Ord (Reverse f) where lifting :: forall a. Ord a :- Ord (Reverse f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Eq1 f => Lifting Eq (Reverse f) where lifting :: forall a. Eq a :- Eq (Reverse f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor Backwards where lifting :: forall (a :: * -> *). Functor a :- Functor (Backwards a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Foldable Backwards where lifting :: forall (a :: * -> *). Foldable a :- Foldable (Backwards a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Traversable Backwards where lifting :: forall (a :: * -> *). Traversable a :- Traversable (Backwards a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Applicative Backwards where lifting :: forall (a :: * -> *). Applicative a :- Applicative (Backwards a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Alternative Backwards where lifting :: forall (a :: * -> *). Alternative a :- Alternative (Backwards a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Show1 Backwards where lifting :: forall (a :: * -> *). Show1 a :- Show1 (Backwards a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Read1 Backwards where lifting :: forall (a :: * -> *). Read1 a :- Read1 (Backwards a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Ord1 Backwards where lifting :: forall (a :: * -> *). Ord1 a :- Ord1 (Backwards a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Eq1 Backwards where lifting :: forall (a :: * -> *). Eq1 a :- Eq1 (Backwards a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Show1 f => Lifting Show (Backwards f) where lifting :: forall a. Show a :- Show (Backwards f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Read1 f => Lifting Read (Backwards f) where lifting :: forall a. Read a :- Read (Backwards f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ord1 f => Lifting Ord (Backwards f) where lifting :: forall a. Ord a :- Ord (Backwards f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Eq1 f => Lifting Eq (Backwards f) where lifting :: forall a. Eq a :- Eq (Backwards f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Functor Lift where lifting :: forall (a :: * -> *). Functor a :- Functor (Lift a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Foldable Lift where lifting :: forall (a :: * -> *). Foldable a :- Foldable (Lift a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Traversable Lift where lifting :: forall (a :: * -> *). Traversable a :- Traversable (Lift a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Applicative Lift where lifting :: forall (a :: * -> *). Applicative a :- Applicative (Lift a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Alternative Lift where lifting :: forall (a :: * -> *). Alternative a :- Alternative (Lift a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Show1 Lift where lifting :: forall (a :: * -> *). Show1 a :- Show1 (Lift a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Read1 Lift where lifting :: forall (a :: * -> *). Read1 a :- Read1 (Lift a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Ord1 Lift where lifting :: forall (a :: * -> *). Ord1 a :- Ord1 (Lift a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Eq1 Lift where lifting :: forall (a :: * -> *). Eq1 a :- Eq1 (Lift a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Show1 f => Lifting Show (Lift f) where lifting :: forall a. Show a :- Show (Lift f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Read1 f => Lifting Read (Lift f) where lifting :: forall a. Read a :- Read (Lift f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Ord1 f => Lifting Ord (Lift f) where lifting :: forall a. Ord a :- Ord (Lift f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Eq1 f => Lifting Eq (Lift f) where lifting :: forall a. Eq a :- Eq (Lift f a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting Eq Identity where lifting :: forall a. Eq a :- Eq (Identity a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Ord Identity where lifting :: forall a. Ord a :- Ord (Identity a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Show Identity where lifting :: forall a. Show a :- Show (Identity a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting Read Identity where lifting :: forall a. Read a :- Read (Identity a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting MonadCont MaybeT where lifting :: forall (a :: * -> *). MonadCont a :- MonadCont (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadCont IdentityT where lifting :: forall (a :: * -> *). MonadCont a :- MonadCont (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadCont (Strict.WriterT w) where lifting :: forall (a :: * -> *). MonadCont a :- MonadCont (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadCont (Lazy.WriterT w) where lifting :: forall (a :: * -> *). MonadCont a :- MonadCont (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadCont (ExceptT w) where lifting :: forall (a :: * -> *). MonadCont a :- MonadCont (ExceptT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadCont (Strict.StateT s) where lifting :: forall (a :: * -> *). MonadCont a :- MonadCont (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadCont (Lazy.StateT s) where lifting :: forall (a :: * -> *). MonadCont a :- MonadCont (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting MonadCont (ReaderT e) where lifting :: forall (a :: * -> *). MonadCont a :- MonadCont (ReaderT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadCont (Strict.RWST r w s) where lifting :: forall (a :: * -> *). MonadCont a :- MonadCont (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting MonadCont (Lazy.RWST r w s) where lifting :: forall (a :: * -> *). MonadCont a :- MonadCont (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting (MonadError e) MaybeT where lifting :: forall (a :: * -> *). MonadError e a :- MonadError e (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadError e) IdentityT where lifting :: forall (a :: * -> *). MonadError e a :- MonadError e (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting (MonadError e) (Strict.WriterT w) where lifting :: forall (a :: * -> *). MonadError e a :- MonadError e (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting (MonadError e) (Lazy.WriterT w) where lifting :: forall (a :: * -> *). MonadError e a :- MonadError e (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadError e) (Strict.StateT s) where lifting :: forall (a :: * -> *). MonadError e a :- MonadError e (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadError e) (Lazy.StateT s) where lifting :: forall (a :: * -> *). MonadError e a :- MonadError e (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadError e) (ReaderT r) where lifting :: forall (a :: * -> *). MonadError e a :- MonadError e (ReaderT r a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting (MonadError e) (Strict.RWST r w s) where lifting :: forall (a :: * -> *). MonadError e a :- MonadError e (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting (MonadError e) (Lazy.RWST r w s) where lifting :: forall (a :: * -> *). MonadError e a :- MonadError e (RWST r w s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting (MonadRWS r w s) MaybeT where lifting :: forall (a :: * -> *). MonadRWS r w s a :- MonadRWS r w s (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadRWS r w s) IdentityT where lifting :: forall (a :: * -> *).
MonadRWS r w s a :- MonadRWS r w s (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadRWS r w s) (ExceptT e) where lifting :: forall (a :: * -> *).
MonadRWS r w s a :- MonadRWS r w s (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting (MonadReader r) MaybeT where lifting :: forall (a :: * -> *). MonadReader r a :- MonadReader r (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadReader r) IdentityT where lifting :: forall (a :: * -> *).
MonadReader r a :- MonadReader r (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting (MonadReader r) (Strict.WriterT w) where lifting :: forall (a :: * -> *).
MonadReader r a :- MonadReader r (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting (MonadReader r) (Lazy.WriterT w) where lifting :: forall (a :: * -> *).
MonadReader r a :- MonadReader r (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadReader r) (Strict.StateT s) where lifting :: forall (a :: * -> *). MonadReader r a :- MonadReader r (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadReader r) (Lazy.StateT s) where lifting :: forall (a :: * -> *). MonadReader r a :- MonadReader r (StateT s a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadReader r) (ExceptT e) where lifting :: forall (a :: * -> *).
MonadReader r a :- MonadReader r (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadReader r) (ContT r') where lifting :: forall (a :: * -> *). MonadReader r a :- MonadReader r (ContT r' a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting (MonadState s) MaybeT where lifting :: forall (a :: * -> *). MonadState s a :- MonadState s (MaybeT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadState s) IdentityT where lifting :: forall (a :: * -> *). MonadState s a :- MonadState s (IdentityT a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting (MonadState s) (Strict.WriterT w) where lifting :: forall (a :: * -> *). MonadState s a :- MonadState s (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Monoid w => Lifting (MonadState s) (Lazy.WriterT w) where lifting :: forall (a :: * -> *). MonadState s a :- MonadState s (WriterT w a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadState s) (ReaderT r) where lifting :: forall (a :: * -> *). MonadState s a :- MonadState s (ReaderT r a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadState s) (ExceptT e) where lifting :: forall (a :: * -> *). MonadState s a :- MonadState s (ExceptT e a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting (MonadState s) (ContT r') where lifting :: forall (a :: * -> *). MonadState s a :- MonadState s (ContT r' a)
lifting = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

class Lifting2 p f where
  lifting2 :: p a :- Lifting p (f a) -- (p a, p b) :- p (f a b)

instance Lifting2 Eq Either where lifting2 :: forall a. Eq a :- Lifting Eq (Either a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Ord Either where lifting2 :: forall a. Ord a :- Lifting Ord (Either a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Show Either where lifting2 :: forall a. Show a :- Lifting Show (Either a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Read Either where lifting2 :: forall a. Read a :- Lifting Read (Either a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Hashable Either where lifting2 :: forall a. Hashable a :- Lifting Hashable (Either a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Binary Either where lifting2 :: forall a. Binary a :- Lifting Binary (Either a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 NFData Either where lifting2 :: forall a. NFData a :- Lifting NFData (Either a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting2 Eq (,) where lifting2 :: forall a. Eq a :- Lifting Eq ((,) a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Ord (,) where lifting2 :: forall a. Ord a :- Lifting Ord ((,) a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Show (,) where lifting2 :: forall a. Show a :- Lifting Show ((,) a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Read (,) where lifting2 :: forall a. Read a :- Lifting Read ((,) a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Hashable (,) where lifting2 :: forall a. Hashable a :- Lifting Hashable ((,) a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Binary (,) where lifting2 :: forall a. Binary a :- Lifting Binary ((,) a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 NFData (,) where lifting2 :: forall a. NFData a :- Lifting NFData ((,) a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Semigroup (,) where lifting2 :: forall a. Semigroup a :- Lifting Semigroup ((,) a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Monoid (,) where lifting2 :: forall a. Monoid a :- Lifting Monoid ((,) a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Bounded (,) where lifting2 :: forall a. Bounded a :- Lifting Bounded ((,) a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Ix (,) where lifting2 :: forall a. Ix a :- Lifting Ix ((,) a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting2 Functor Compose where lifting2 :: forall (a :: * -> *). Functor a :- Lifting Functor (Compose a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Foldable Compose where lifting2 :: forall (a :: * -> *). Foldable a :- Lifting Foldable (Compose a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Traversable Compose where lifting2 :: forall (a :: * -> *).
Traversable a :- Lifting Traversable (Compose a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Applicative Compose where lifting2 :: forall (a :: * -> *).
Applicative a :- Lifting Applicative (Compose a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Alternative Compose where lifting2 :: forall (a :: * -> *).
Alternative a :- Lifting Alternative (Compose a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict -- overconstrained

instance Lifting2 Functor Functor.Product where lifting2 :: forall (a :: * -> *). Functor a :- Lifting Functor (Product a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Foldable Functor.Product where lifting2 :: forall (a :: * -> *). Foldable a :- Lifting Foldable (Product a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Traversable Functor.Product where lifting2 :: forall (a :: * -> *).
Traversable a :- Lifting Traversable (Product a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Applicative Functor.Product where lifting2 :: forall (a :: * -> *).
Applicative a :- Lifting Applicative (Product a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Alternative Functor.Product where lifting2 :: forall (a :: * -> *).
Alternative a :- Lifting Alternative (Product a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Monad Functor.Product where lifting2 :: forall (a :: * -> *). Monad a :- Lifting Monad (Product a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 MonadPlus Functor.Product where lifting2 :: forall (a :: * -> *). MonadPlus a :- Lifting MonadPlus (Product a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 MonadFix Functor.Product where lifting2 :: forall (a :: * -> *). MonadFix a :- Lifting MonadFix (Product a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Show1 Functor.Product where lifting2 :: forall (a :: * -> *). Show1 a :- Lifting Show1 (Product a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Eq1 Functor.Product where lifting2 :: forall (a :: * -> *). Eq1 a :- Lifting Eq1 (Product a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Ord1 Functor.Product where lifting2 :: forall (a :: * -> *). Ord1 a :- Lifting Ord1 (Product a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Read1 Functor.Product where lifting2 :: forall (a :: * -> *). Read1 a :- Lifting Read1 (Product a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict

instance Lifting2 Functor Functor.Sum where lifting2 :: forall (a :: * -> *). Functor a :- Lifting Functor (Sum a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Foldable Functor.Sum where lifting2 :: forall (a :: * -> *). Foldable a :- Lifting Foldable (Sum a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Traversable Functor.Sum where lifting2 :: forall (a :: * -> *). Traversable a :- Lifting Traversable (Sum a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Show1 Functor.Sum where lifting2 :: forall (a :: * -> *). Show1 a :- Lifting Show1 (Sum a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Eq1 Functor.Sum where lifting2 :: forall (a :: * -> *). Eq1 a :- Lifting Eq1 (Sum a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Ord1 Functor.Sum where lifting2 :: forall (a :: * -> *). Ord1 a :- Lifting Ord1 (Sum a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict
instance Lifting2 Read1 Functor.Sum where lifting2 :: forall (a :: * -> *). Read1 a :- Lifting Read1 (Sum a)
lifting2 = forall (a :: Constraint) (b :: Constraint). (a => Dict b) -> a :- b
Sub forall (a :: Constraint). a => Dict a
Dict