base-orphans-0.8.7: Backwards-compatible orphan instances for base
Safe HaskellTrustworthy
LanguageHaskell2010

Data.Orphans

Description

Exports orphan instances that mimic instances available in later versions of base. To use them, simply import Data.Orphans ().

Orphan instances

Eq1 Complex Source # 
Instance details

Methods

liftEq :: (a -> b -> Bool) -> Complex a -> Complex b -> Bool Source #

Read1 Complex Source # 
Instance details

Show1 Complex Source # 
Instance details

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Complex a -> ShowS Source #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Complex a] -> ShowS Source #

Ix CBool Source # 
Instance details

Ix CChar Source # 
Instance details

Ix CInt Source # 
Instance details

Ix CIntMax Source # 
Instance details

Ix CIntPtr Source # 
Instance details

Ix CLLong Source # 
Instance details

Ix CLong Source # 
Instance details

Ix CPtrdiff Source # 
Instance details

Ix CSChar Source # 
Instance details

Ix CShort Source # 
Instance details

Ix CSigAtomic Source # 
Instance details

Ix CSize Source # 
Instance details

Ix CUChar Source # 
Instance details

Ix CUInt Source # 
Instance details

Ix CUIntMax Source # 
Instance details

Ix CUIntPtr Source # 
Instance details

Ix CULLong Source # 
Instance details

Ix CULong Source # 
Instance details

Ix CUShort Source # 
Instance details

Ix CWchar Source # 
Instance details

Ix IntPtr Source # 
Instance details

Ix WordPtr Source # 
Instance details

Ix CBlkCnt Source # 
Instance details

Ix CBlkSize Source # 
Instance details

Ix CCc Source # 
Instance details

Ix CClockId Source # 
Instance details

Ix CDev Source # 
Instance details

Ix CFsBlkCnt Source # 
Instance details

Ix CFsFilCnt Source # 
Instance details

Ix CGid Source # 
Instance details

Ix CId Source # 
Instance details

Ix CIno Source # 
Instance details

Ix CKey Source # 
Instance details

Ix CMode Source # 
Instance details

Ix CNfds Source # 
Instance details

Ix CNlink Source # 
Instance details

Ix COff Source # 
Instance details

Ix CPid Source # 
Instance details

Ix CRLim Source # 
Instance details

Ix CSocklen Source # 
Instance details

Ix CSpeed Source # 
Instance details

Ix CSsize Source # 
Instance details

Ix CTcflag Source # 
Instance details

Ix CUid Source # 
Instance details

Ix Fd Source # 
Instance details

Methods

range :: (Fd, Fd) -> [Fd] Source #

index :: (Fd, Fd) -> Fd -> Int Source #

unsafeIndex :: (Fd, Fd) -> Fd -> Int Source #

inRange :: (Fd, Fd) -> Fd -> Bool Source #

rangeSize :: (Fd, Fd) -> Int Source #

unsafeRangeSize :: (Fd, Fd) -> Int Source #

Eq a => Eq2 ((,,) a) Source # 
Instance details

Methods

liftEq2 :: (a0 -> b -> Bool) -> (c -> d -> Bool) -> (a, a0, c) -> (a, b, d) -> Bool Source #

Ord a => Ord2 ((,,) a) Source # 
Instance details

Methods

liftCompare2 :: (a0 -> b -> Ordering) -> (c -> d -> Ordering) -> (a, a0, c) -> (a, b, d) -> Ordering Source #

Read a => Read2 ((,,) a) Source # 
Instance details

Methods

liftReadsPrec2 :: (Int -> ReadS a0) -> ReadS [a0] -> (Int -> ReadS b) -> ReadS [b] -> Int -> ReadS (a, a0, b) Source #

liftReadList2 :: (Int -> ReadS a0) -> ReadS [a0] -> (Int -> ReadS b) -> ReadS [b] -> ReadS [(a, a0, b)] Source #

liftReadPrec2 :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec b -> ReadPrec [b] -> ReadPrec (a, a0, b) Source #

liftReadListPrec2 :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec b -> ReadPrec [b] -> ReadPrec [(a, a0, b)] Source #

Show a => Show2 ((,,) a) Source # 
Instance details

Methods

liftShowsPrec2 :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> (Int -> b -> ShowS) -> ([b] -> ShowS) -> Int -> (a, a0, b) -> ShowS Source #

liftShowList2 :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> (Int -> b -> ShowS) -> ([b] -> ShowS) -> [(a, a0, b)] -> ShowS Source #

Bounded a => Bounded (a) Source # 
Instance details

Methods

minBound :: (a) Source #

maxBound :: (a) Source #

Enum a => Enum (a) Source # 
Instance details

Methods

succ :: (a) -> (a) Source #

pred :: (a) -> (a) Source #

toEnum :: Int -> (a) Source #

fromEnum :: (a) -> Int Source #

enumFrom :: (a) -> [(a)] Source #

enumFromThen :: (a) -> (a) -> [(a)] Source #

enumFromTo :: (a) -> (a) -> [(a)] Source #

enumFromThenTo :: (a) -> (a) -> (a) -> [(a)] Source #

Ix a => Ix (a) Source # 
Instance details

Methods

range :: ((a), (a)) -> [(a)] Source #

index :: ((a), (a)) -> (a) -> Int Source #

unsafeIndex :: ((a), (a)) -> (a) -> Int Source #

inRange :: ((a), (a)) -> (a) -> Bool Source #

rangeSize :: ((a), (a)) -> Int Source #

unsafeRangeSize :: ((a), (a)) -> Int Source #

Eq a => Eq (a) Source # 
Instance details

Methods

(==) :: (a) -> (a) -> Bool Source #

(/=) :: (a) -> (a) -> Bool Source #

Ord a => Ord (a) Source # 
Instance details

Methods

compare :: (a) -> (a) -> Ordering Source #

(<) :: (a) -> (a) -> Bool Source #

(<=) :: (a) -> (a) -> Bool Source #

(>) :: (a) -> (a) -> Bool Source #

(>=) :: (a) -> (a) -> Bool Source #

max :: (a) -> (a) -> (a) Source #

min :: (a) -> (a) -> (a) Source #

(Eq a, Eq b) => Eq1 ((,,) a b) Source # 
Instance details

Methods

liftEq :: (a0 -> b0 -> Bool) -> (a, b, a0) -> (a, b, b0) -> Bool Source #

(Eq a, Eq b) => Eq2 ((,,,) a b) Source # 
Instance details

Methods

liftEq2 :: (a0 -> b0 -> Bool) -> (c -> d -> Bool) -> (a, b, a0, c) -> (a, b, b0, d) -> Bool Source #

(Ord a, Ord b) => Ord1 ((,,) a b) Source # 
Instance details

Methods

liftCompare :: (a0 -> b0 -> Ordering) -> (a, b, a0) -> (a, b, b0) -> Ordering Source #

(Ord a, Ord b) => Ord2 ((,,,) a b) Source # 
Instance details

Methods

liftCompare2 :: (a0 -> b0 -> Ordering) -> (c -> d -> Ordering) -> (a, b, a0, c) -> (a, b, b0, d) -> Ordering Source #

(Read a, Read b) => Read1 ((,,) a b) Source # 
Instance details

Methods

liftReadsPrec :: (Int -> ReadS a0) -> ReadS [a0] -> Int -> ReadS (a, b, a0) Source #

liftReadList :: (Int -> ReadS a0) -> ReadS [a0] -> ReadS [(a, b, a0)] Source #

liftReadPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec (a, b, a0) Source #

liftReadListPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec [(a, b, a0)] Source #

(Read a, Read b) => Read2 ((,,,) a b) Source # 
Instance details

Methods

liftReadsPrec2 :: (Int -> ReadS a0) -> ReadS [a0] -> (Int -> ReadS b0) -> ReadS [b0] -> Int -> ReadS (a, b, a0, b0) Source #

liftReadList2 :: (Int -> ReadS a0) -> ReadS [a0] -> (Int -> ReadS b0) -> ReadS [b0] -> ReadS [(a, b, a0, b0)] Source #

liftReadPrec2 :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec b0 -> ReadPrec [b0] -> ReadPrec (a, b, a0, b0) Source #

liftReadListPrec2 :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec b0 -> ReadPrec [b0] -> ReadPrec [(a, b, a0, b0)] Source #

(Show a, Show b) => Show1 ((,,) a b) Source # 
Instance details

Methods

liftShowsPrec :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> Int -> (a, b, a0) -> ShowS Source #

liftShowList :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> [(a, b, a0)] -> ShowS Source #

(Show a, Show b) => Show2 ((,,,) a b) Source # 
Instance details

Methods

liftShowsPrec2 :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> (Int -> b0 -> ShowS) -> ([b0] -> ShowS) -> Int -> (a, b, a0, b0) -> ShowS Source #

liftShowList2 :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> (Int -> b0 -> ShowS) -> ([b0] -> ShowS) -> [(a, b, a0, b0)] -> ShowS Source #

(Eq a, Eq b, Eq c) => Eq1 ((,,,) a b c) Source # 
Instance details

Methods

liftEq :: (a0 -> b0 -> Bool) -> (a, b, c, a0) -> (a, b, c, b0) -> Bool Source #

(Ord a, Ord b, Ord c) => Ord1 ((,,,) a b c) Source # 
Instance details

Methods

liftCompare :: (a0 -> b0 -> Ordering) -> (a, b, c, a0) -> (a, b, c, b0) -> Ordering Source #

(Read a, Read b, Read c) => Read1 ((,,,) a b c) Source # 
Instance details

Methods

liftReadsPrec :: (Int -> ReadS a0) -> ReadS [a0] -> Int -> ReadS (a, b, c, a0) Source #

liftReadList :: (Int -> ReadS a0) -> ReadS [a0] -> ReadS [(a, b, c, a0)] Source #

liftReadPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec (a, b, c, a0) Source #

liftReadListPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec [(a, b, c, a0)] Source #

(Show a, Show b, Show c) => Show1 ((,,,) a b c) Source # 
Instance details

Methods

liftShowsPrec :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> Int -> (a, b, c, a0) -> ShowS Source #

liftShowList :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> [(a, b, c, a0)] -> ShowS Source #

(Monoid (f a), Monoid (g a)) => Monoid (Product f g a) Source # 
Instance details

Methods

mempty :: Product f g a Source #

mappend :: Product f g a -> Product f g a -> Product f g a Source #

mconcat :: [Product f g a] -> Product f g a Source #

(Semigroup (f a), Semigroup (g a)) => Semigroup (Product f g a) Source # 
Instance details

Methods

(<>) :: Product f g a -> Product f g a -> Product f g a Source #

sconcat :: NonEmpty (Product f g a) -> Product f g a Source #

stimes :: Integral b => b -> Product f g a -> Product f g a Source #

Monoid (f (g a)) => Monoid (Compose f g a) Source # 
Instance details

Methods

mempty :: Compose f g a Source #

mappend :: Compose f g a -> Compose f g a -> Compose f g a Source #

mconcat :: [Compose f g a] -> Compose f g a Source #

Semigroup (f (g a)) => Semigroup (Compose f g a) Source # 
Instance details

Methods

(<>) :: Compose f g a -> Compose f g a -> Compose f g a Source #

sconcat :: NonEmpty (Compose f g a) -> Compose f g a Source #

stimes :: Integral b => b -> Compose f g a -> Compose f g a Source #