Cabal-3.2.1.0: A framework for packaging Haskell software
Safe Haskell None
Language Haskell2010

Distribution.Compat.Prelude.Internal

Description

Warning: This modules' API is not stable. Use at your own risk, or better yet, use base-compat !

This module re-exports the non-exposed Distribution.Compat.Prelude module for reuse by cabal-install 's Distribution.Client.Compat.Prelude module.

It is highly discouraged to rely on this module for Setup.hs scripts since its API is not stable.

Synopsis

Prelude

(++) :: [a] -> [a] -> [a] infixr 5 Source #

Append two lists, i.e.,

[x1, ..., xm] ++ [y1, ..., yn] == [x1, ..., xm, y1, ..., yn]
[x1, ..., xm] ++ [y1, ...] == [x1, ..., xm, y1, ...]

If the first list is not finite, the result is the first list.

seq :: forall (r :: RuntimeRep ) a (b :: TYPE r). a -> b -> b infixr 0 Source #

The value of seq a b is bottom if a is bottom, and otherwise equal to b . In other words, it evaluates the first argument a to weak head normal form (WHNF). seq is usually introduced to improve performance by avoiding unneeded laziness.

A note on evaluation order: the expression seq a b does not guarantee that a will be evaluated before b . The only guarantee given by seq is that the both a and b will be evaluated before seq returns a value. In particular, this means that b may be evaluated before a . If you need to guarantee a specific order of evaluation, you must use the function pseq from the "parallel" package.

filter :: (a -> Bool ) -> [a] -> [a] Source #

\(\mathcal{O}(n)\) . filter , applied to a predicate and a list, returns the list of those elements that satisfy the predicate; i.e.,

filter p xs = [ x | x <- xs, p x]
>>> filter odd [1, 2, 3]
[1,3]

zip :: [a] -> [b] -> [(a, b)] Source #

\(\mathcal{O}(\min(m,n))\) . zip takes two lists and returns a list of corresponding pairs.

zip [1, 2] ['a', 'b'] = [(1, 'a'), (2, 'b')]

If one input list is short, excess elements of the longer list are discarded:

zip [1] ['a', 'b'] = [(1, 'a')]
zip [1, 2] ['a'] = [(1, 'a')]

zip is right-lazy:

zip [] _|_ = []
zip _|_ [] = _|_

zip is capable of list fusion, but it is restricted to its first list argument and its resulting list.

print :: Show a => a -> IO () Source #

The print function outputs a value of any printable type to the standard output device. Printable types are those that are instances of class Show ; print converts values to strings for output using the show operation and adds a newline.

For example, a program to print the first 20 integers and their powers of 2 could be written as:

main = print ([(n, 2^n) | n <- [0..19]])

fst :: (a, b) -> a Source #

Extract the first component of a pair.

snd :: (a, b) -> b Source #

Extract the second component of a pair.

otherwise :: Bool Source #

otherwise is defined as the value True . It helps to make guards more readable. eg.

 f x | x < 0     = ...
     | otherwise = ...

map :: (a -> b) -> [a] -> [b] Source #

\(\mathcal{O}(n)\) . map f xs is the list obtained by applying f to each element of xs , i.e.,

map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
map f [x1, x2, ...] == [f x1, f x2, ...]
>>> map (+1) [1, 2, 3]

($) :: forall (r :: RuntimeRep ) a (b :: TYPE r). (a -> b) -> a -> b infixr 0 Source #

Application operator. This operator is redundant, since ordinary application (f x) means the same as (f $ x) . However, $ has low, right-associative binding precedence, so it sometimes allows parentheses to be omitted; for example:

f $ g $ h x  =  f (g (h x))

It is also useful in higher-order situations, such as map ( $ 0) xs , or zipWith ( $ ) fs xs .

Note that ( $ ) is levity-polymorphic in its result type, so that foo $ True where foo :: Bool -> Int# is well-typed.

fromIntegral :: ( Integral a, Num b) => a -> b Source #

general coercion from integral types

realToFrac :: ( Real a, Fractional b) => a -> b Source #

general coercion to fractional types

class Bounded a where Source #

The Bounded class is used to name the upper and lower limits of a type. Ord is not a superclass of Bounded since types that are not totally ordered may also have upper and lower bounds.

The Bounded class may be derived for any enumeration type; minBound is the first constructor listed in the data declaration and maxBound is the last. Bounded may also be derived for single-constructor datatypes whose constituent types are in Bounded .

Instances

Instances details
Bounded Bool

Since: base-2.1

Instance details

Defined in GHC.Enum

Bounded Char

Since: base-2.1

Instance details

Defined in GHC.Enum

Bounded Int

Since: base-2.1

Instance details

Defined in GHC.Enum

Bounded Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Bounded Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Bounded Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Bounded Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Bounded Ordering

Since: base-2.1

Instance details

Defined in GHC.Enum

Bounded Word

Since: base-2.1

Instance details

Defined in GHC.Enum

Bounded Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Bounded Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Bounded Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Bounded Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Bounded VecCount

Since: base-4.10.0.0

Instance details

Defined in GHC.Enum

Bounded VecElem

Since: base-4.10.0.0

Instance details

Defined in GHC.Enum

Bounded ()

Since: base-2.1

Instance details

Defined in GHC.Enum

Bounded CDev
Instance details

Defined in System.Posix.Types

Bounded CIno
Instance details

Defined in System.Posix.Types

Bounded CMode
Instance details

Defined in System.Posix.Types

Bounded COff
Instance details

Defined in System.Posix.Types

Bounded CPid
Instance details

Defined in System.Posix.Types

Bounded CSsize
Instance details

Defined in System.Posix.Types

Bounded CGid
Instance details

Defined in System.Posix.Types

Bounded CNlink
Instance details

Defined in System.Posix.Types

Bounded CUid
Instance details

Defined in System.Posix.Types

Bounded CTcflag
Instance details

Defined in System.Posix.Types

Bounded CRLim
Instance details

Defined in System.Posix.Types

Bounded CBlkSize
Instance details

Defined in System.Posix.Types

Bounded CBlkCnt
Instance details

Defined in System.Posix.Types

Bounded CClockId
Instance details

Defined in System.Posix.Types

Bounded CFsBlkCnt
Instance details

Defined in System.Posix.Types

Bounded CFsFilCnt
Instance details

Defined in System.Posix.Types

Bounded CId
Instance details

Defined in System.Posix.Types

Bounded CKey
Instance details

Defined in System.Posix.Types

Bounded CSocklen
Instance details

Defined in System.Posix.Types

Bounded CNfds
Instance details

Defined in System.Posix.Types

Bounded Fd
Instance details

Defined in System.Posix.Types

Bounded All

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Bounded Any

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Bounded Associativity

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Bounded SourceUnpackedness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Bounded SourceStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Bounded DecidedStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Bounded CChar
Instance details

Defined in Foreign.C.Types

Bounded CSChar
Instance details

Defined in Foreign.C.Types

Bounded CUChar
Instance details

Defined in Foreign.C.Types

Bounded CShort
Instance details

Defined in Foreign.C.Types

Bounded CUShort
Instance details

Defined in Foreign.C.Types

Bounded CInt
Instance details

Defined in Foreign.C.Types

Bounded CUInt
Instance details

Defined in Foreign.C.Types

Bounded CLong
Instance details

Defined in Foreign.C.Types

Bounded CULong
Instance details

Defined in Foreign.C.Types

Bounded CLLong
Instance details

Defined in Foreign.C.Types

Bounded CULLong
Instance details

Defined in Foreign.C.Types

Bounded CBool
Instance details

Defined in Foreign.C.Types

Bounded CPtrdiff
Instance details

Defined in Foreign.C.Types

Bounded CSize
Instance details

Defined in Foreign.C.Types

Bounded CWchar
Instance details

Defined in Foreign.C.Types

Bounded CSigAtomic
Instance details

Defined in Foreign.C.Types

Bounded CIntPtr
Instance details

Defined in Foreign.C.Types

Bounded CUIntPtr
Instance details

Defined in Foreign.C.Types

Bounded CIntMax
Instance details

Defined in Foreign.C.Types

Bounded CUIntMax
Instance details

Defined in Foreign.C.Types

Bounded WordPtr
Instance details

Defined in Foreign.Ptr

Bounded IntPtr
Instance details

Defined in Foreign.Ptr

Bounded GeneralCategory

Since: base-2.1

Instance details

Defined in GHC.Unicode

Bounded FileType
Instance details

Defined in System.Directory.Internal.Common

Bounded XdgDirectory
Instance details

Defined in System.Directory.Internal.Common

Bounded XdgDirectoryList
Instance details

Defined in System.Directory.Internal.Common

Bounded Extension
Instance details

Defined in GHC.LanguageExtensions.Type

Bounded PWarnType Source #
Instance details

Defined in Distribution.Parsec.Warning

Bounded CabalSpecVersion Source #
Instance details

Defined in Distribution.CabalSpecVersion

Bounded LicenseListVersion Source #
Instance details

Defined in Distribution.SPDX.LicenseListVersion

Bounded LicenseId Source #
Instance details

Defined in Distribution.SPDX.LicenseId

Bounded LicenseExceptionId Source #
Instance details

Defined in Distribution.SPDX.LicenseExceptionId

Bounded VerbosityFlag Source #
Instance details

Defined in Distribution.Verbosity.Internal

Bounded VerbosityLevel Source #
Instance details

Defined in Distribution.Verbosity.Internal

Bounded Verbosity Source #
Instance details

Defined in Distribution.Verbosity

Bounded KnownExtension Source #
Instance details

Defined in Language.Haskell.Extension

Bounded DebugInfoLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Bounded OptimisationLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Bounded TestShowDetails Source #
Instance details

Defined in Distribution.Simple.Setup

Bounded Way Source #
Instance details

Defined in Distribution.Simple.Hpc

Bounded ModTime Source #
Instance details

Defined in Distribution.Compat.Time

Bounded a => Bounded ( Min a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Bounded a => Bounded ( Max a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Bounded a => Bounded ( First a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Bounded a => Bounded ( Last a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Bounded m => Bounded ( WrappedMonoid m)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Bounded a => Bounded ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Bounded a => Bounded ( Dual a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Bounded a => Bounded ( Sum a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Bounded a => Bounded ( Product a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Bounded a => Bounded ( Down a)

Since: base-4.14.0.0

Instance details

Defined in Data.Ord

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

Defined in Distribution.Simple.Flag

( Bounded a, Bounded b) => Bounded (a, b)

Since: base-2.1

Instance details

Defined in GHC.Enum

Bounded ( Proxy t)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

( Bounded a, Bounded b, Bounded c) => Bounded (a, b, c)

Since: base-2.1

Instance details

Defined in GHC.Enum

Methods

minBound :: (a, b, c) Source #

maxBound :: (a, b, c) Source #

Bounded a => Bounded ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

( Applicative f, Bounded a) => Bounded ( Ap f a)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Coercible a b => Bounded ( Coercion a b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Coercion

a ~ b => Bounded (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Equality

( Bounded a, Bounded b, Bounded c, Bounded d) => Bounded (a, b, c, d)

Since: base-2.1

Instance details

Defined in GHC.Enum

Methods

minBound :: (a, b, c, d) Source #

maxBound :: (a, b, c, d) Source #

a ~~ b => Bounded (a :~~: b)

Since: base-4.10.0.0

Instance details

Defined in Data.Type.Equality

( Bounded a, Bounded b, Bounded c, Bounded d, Bounded e) => Bounded (a, b, c, d, e)

Since: base-2.1

Instance details

Defined in GHC.Enum

Methods

minBound :: (a, b, c, d, e) Source #

maxBound :: (a, b, c, d, e) Source #

( Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f) => Bounded (a, b, c, d, e, f)

Since: base-2.1

Instance details

Defined in GHC.Enum

Methods

minBound :: (a, b, c, d, e, f) Source #

maxBound :: (a, b, c, d, e, f) Source #

( Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g) => Bounded (a, b, c, d, e, f, g)

Since: base-2.1

Instance details

Defined in GHC.Enum

Methods

minBound :: (a, b, c, d, e, f, g) Source #

maxBound :: (a, b, c, d, e, f, g) Source #

( Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h) => Bounded (a, b, c, d, e, f, g, h)

Since: base-2.1

Instance details

Defined in GHC.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h) Source #

maxBound :: (a, b, c, d, e, f, g, h) Source #

( Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i) => Bounded (a, b, c, d, e, f, g, h, i)

Since: base-2.1

Instance details

Defined in GHC.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i) Source #

maxBound :: (a, b, c, d, e, f, g, h, i) Source #

( Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j) => Bounded (a, b, c, d, e, f, g, h, i, j)

Since: base-2.1

Instance details

Defined in GHC.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i, j) Source #

maxBound :: (a, b, c, d, e, f, g, h, i, j) Source #

( Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k) => Bounded (a, b, c, d, e, f, g, h, i, j, k)

Since: base-2.1

Instance details

Defined in GHC.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i, j, k) Source #

maxBound :: (a, b, c, d, e, f, g, h, i, j, k) Source #

( Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k, Bounded l) => Bounded (a, b, c, d, e, f, g, h, i, j, k, l)

Since: base-2.1

Instance details

Defined in GHC.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i, j, k, l) Source #

maxBound :: (a, b, c, d, e, f, g, h, i, j, k, l) Source #

( Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k, Bounded l, Bounded m) => Bounded (a, b, c, d, e, f, g, h, i, j, k, l, m)

Since: base-2.1

Instance details

Defined in GHC.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m) Source #

maxBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m) Source #

( Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k, Bounded l, Bounded m, Bounded n) => Bounded (a, b, c, d, e, f, g, h, i, j, k, l, m, n)

Since: base-2.1

Instance details

Defined in GHC.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source #

maxBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source #

( Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k, Bounded l, Bounded m, Bounded n, Bounded o) => Bounded (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)

Since: base-2.1

Instance details

Defined in GHC.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source #

maxBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source #

class Enum a where Source #

Class Enum defines operations on sequentially ordered types.

The enumFrom ... methods are used in Haskell's translation of arithmetic sequences.

Instances of Enum may be derived for any enumeration type (types whose constructors have no fields). The nullary constructors are assumed to be numbered left-to-right by fromEnum from 0 through n-1 . See Chapter 10 of the Haskell Report for more details.

For any type that is an instance of class Bounded as well as Enum , the following should hold:

   enumFrom     x   = enumFromTo     x maxBound
   enumFromThen x y = enumFromThenTo x y bound
     where
       bound | fromEnum y >= fromEnum x = maxBound
             | otherwise                = minBound

Minimal complete definition

toEnum , fromEnum

Methods

succ :: a -> a Source #

the successor of a value. For numeric types, succ adds 1.

pred :: a -> a Source #

the predecessor of a value. For numeric types, pred subtracts 1.

toEnum :: Int -> a Source #

Convert from an Int .

fromEnum :: a -> Int Source #

Convert to an Int . It is implementation-dependent what fromEnum returns when applied to a value that is too large to fit in an Int .

enumFrom :: a -> [a] Source #

Used in Haskell's translation of [n..] with [n..] = enumFrom n , a possible implementation being enumFrom n = n : enumFrom (succ n) . For example:

  • enumFrom 4 :: [Integer] = [4,5,6,7,...]
  • enumFrom 6 :: [Int] = [6,7,8,9,...,maxBound :: Int]

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

Used in Haskell's translation of [n,n'..] with [n,n'..] = enumFromThen n n' , a possible implementation being enumFromThen n n' = n : n' : worker (f x) (f x n') , worker s v = v : worker s (s v) , x = fromEnum n' - fromEnum n and f n y | n > 0 = f (n - 1) (succ y) | n < 0 = f (n + 1) (pred y) | otherwise = y For example:

  • enumFromThen 4 6 :: [Integer] = [4,6,8,10...]
  • enumFromThen 6 2 :: [Int] = [6,2,-2,-6,...,minBound :: Int]

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

Used in Haskell's translation of [n..m] with [n..m] = enumFromTo n m , a possible implementation being enumFromTo n m | n <= m = n : enumFromTo (succ n) m | otherwise = [] . For example:

  • enumFromTo 6 10 :: [Int] = [6,7,8,9,10]
  • enumFromTo 42 1 :: [Integer] = []

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

Used in Haskell's translation of [n,n'..m] with [n,n'..m] = enumFromThenTo n n' m , a possible implementation being enumFromThenTo n n' m = worker (f x) (c x) n m , x = fromEnum n' - fromEnum n , c x = bool (>=) ( (x 0) f n y | n > 0 = f (n - 1) (succ y) | n < 0 = f (n + 1) (pred y) | otherwise = y and worker s c v m | c v m = v : worker s c (s v) m | otherwise = [] For example:

  • enumFromThenTo 4 2 -6 :: [Integer] = [4,2,0,-2,-4,-6]
  • enumFromThenTo 6 8 2 :: [Int] = []

Instances

Instances details
Enum Bool

Since: base-2.1

Instance details

Defined in GHC.Enum

Enum Char

Since: base-2.1

Instance details

Defined in GHC.Enum

Enum Int

Since: base-2.1

Instance details

Defined in GHC.Enum

Enum Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Enum Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Enum Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Enum Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Enum Integer

Since: base-2.1

Instance details

Defined in GHC.Enum

Enum Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Enum

Enum Ordering

Since: base-2.1

Instance details

Defined in GHC.Enum

Enum Word

Since: base-2.1

Instance details

Defined in GHC.Enum

Enum Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Enum Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Enum Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Enum Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Enum VecCount

Since: base-4.10.0.0

Instance details

Defined in GHC.Enum

Enum VecElem

Since: base-4.10.0.0

Instance details

Defined in GHC.Enum

Enum ()

Since: base-2.1

Instance details

Defined in GHC.Enum

Enum CDev
Instance details

Defined in System.Posix.Types

Enum CIno
Instance details

Defined in System.Posix.Types

Enum CMode
Instance details

Defined in System.Posix.Types

Enum COff
Instance details

Defined in System.Posix.Types

Enum CPid
Instance details

Defined in System.Posix.Types

Enum CSsize
Instance details

Defined in System.Posix.Types

Enum CGid
Instance details

Defined in System.Posix.Types

Enum CNlink
Instance details

Defined in System.Posix.Types

Enum CUid
Instance details

Defined in System.Posix.Types

Enum CCc
Instance details

Defined in System.Posix.Types

Enum CSpeed
Instance details

Defined in System.Posix.Types

Enum CTcflag
Instance details

Defined in System.Posix.Types

Enum CRLim
Instance details

Defined in System.Posix.Types

Enum CBlkSize
Instance details

Defined in System.Posix.Types

Enum CBlkCnt
Instance details

Defined in System.Posix.Types

Enum CClockId
Instance details

Defined in System.Posix.Types

Enum CFsBlkCnt
Instance details

Defined in System.Posix.Types

Enum CFsFilCnt
Instance details

Defined in System.Posix.Types

Enum CId
Instance details

Defined in System.Posix.Types

Enum CKey
Instance details

Defined in System.Posix.Types

Enum CSocklen
Instance details

Defined in System.Posix.Types

Enum CNfds
Instance details

Defined in System.Posix.Types

Enum Fd
Instance details

Defined in System.Posix.Types

Enum SeekMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Device

Enum Associativity

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Enum SourceUnpackedness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Enum SourceStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Enum DecidedStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Enum CChar
Instance details

Defined in Foreign.C.Types

Enum CSChar
Instance details

Defined in Foreign.C.Types

Enum CUChar
Instance details

Defined in Foreign.C.Types

Enum CShort
Instance details

Defined in Foreign.C.Types

Enum CUShort
Instance details

Defined in Foreign.C.Types

Enum CInt
Instance details

Defined in Foreign.C.Types

Enum CUInt
Instance details

Defined in Foreign.C.Types

Enum CLong
Instance details

Defined in Foreign.C.Types

Enum CULong
Instance details

Defined in Foreign.C.Types

Enum CLLong
Instance details

Defined in Foreign.C.Types

Enum CULLong
Instance details

Defined in Foreign.C.Types

Enum CBool
Instance details

Defined in Foreign.C.Types

Enum CFloat
Instance details

Defined in Foreign.C.Types

Enum CDouble
Instance details

Defined in Foreign.C.Types

Enum CPtrdiff
Instance details

Defined in Foreign.C.Types

Enum CSize
Instance details

Defined in Foreign.C.Types

Enum CWchar
Instance details

Defined in Foreign.C.Types

Enum CSigAtomic
Instance details

Defined in Foreign.C.Types

Enum CClock
Instance details

Defined in Foreign.C.Types

Enum CTime
Instance details

Defined in Foreign.C.Types

Enum CUSeconds
Instance details

Defined in Foreign.C.Types

Enum CSUSeconds
Instance details

Defined in Foreign.C.Types

Enum CIntPtr
Instance details

Defined in Foreign.C.Types

Enum CUIntPtr
Instance details

Defined in Foreign.C.Types

Enum CIntMax
Instance details

Defined in Foreign.C.Types

Enum CUIntMax
Instance details

Defined in Foreign.C.Types

Enum WordPtr
Instance details

Defined in Foreign.Ptr

Enum IntPtr
Instance details

Defined in Foreign.Ptr

Enum IOMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.IOMode

Enum GeneralCategory

Since: base-2.1

Instance details

Defined in GHC.Unicode

Enum FileType
Instance details

Defined in System.Directory.Internal.Common

Enum XdgDirectory
Instance details

Defined in System.Directory.Internal.Common

Enum XdgDirectoryList
Instance details

Defined in System.Directory.Internal.Common

Enum Extension
Instance details

Defined in GHC.LanguageExtensions.Type

Enum Message
Instance details

Defined in Text.Parsec.Error

Enum NominalDiffTime
Instance details

Defined in Data.Time.Clock.Internal.NominalDiffTime

Enum DiffTime
Instance details

Defined in Data.Time.Clock.Internal.DiffTime

Enum Day
Instance details

Defined in Data.Time.Calendar.Days

Enum PWarnType Source #
Instance details

Defined in Distribution.Parsec.Warning

Enum CabalSpecVersion Source #
Instance details

Defined in Distribution.CabalSpecVersion

Enum LicenseListVersion Source #
Instance details

Defined in Distribution.SPDX.LicenseListVersion

Enum LicenseId Source #
Instance details

Defined in Distribution.SPDX.LicenseId

Enum LicenseExceptionId Source #
Instance details

Defined in Distribution.SPDX.LicenseExceptionId

Enum VerbosityFlag Source #
Instance details

Defined in Distribution.Verbosity.Internal

Enum VerbosityLevel Source #
Instance details

Defined in Distribution.Verbosity.Internal

Enum Verbosity Source #
Instance details

Defined in Distribution.Verbosity

Enum KnownExtension Source #
Instance details

Defined in Language.Haskell.Extension

Enum DebugInfoLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Enum OptimisationLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Enum TestShowDetails Source #
Instance details

Defined in Distribution.Simple.Setup

Enum Way Source #
Instance details

Defined in Distribution.Simple.Hpc

Enum QualLevel Source #
Instance details

Defined in Distribution.Simple.BuildTarget

Integral a => Enum ( Ratio a)

Since: base-2.0.1

Instance details

Defined in GHC.Real

Enum a => Enum ( Min a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Enum a => Enum ( Max a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Enum a => Enum ( First a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Enum a => Enum ( Last a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Enum a => Enum ( WrappedMonoid a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Enum a => Enum ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Enum a => Enum ( Down a)

Since: base-4.14.0.0

Instance details

Defined in Data.Ord

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

Defined in Distribution.Simple.Flag

Enum ( Fixed a)

Since: base-2.1

Instance details

Defined in Data.Fixed

Enum ( Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Enum a => Enum ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Enum (f a) => Enum ( Ap f a)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Enum (f a) => Enum ( Alt f a)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Coercible a b => Enum ( Coercion a b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Coercion

a ~ b => Enum (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Equality

a ~~ b => Enum (a :~~: b)

Since: base-4.10.0.0

Instance details

Defined in Data.Type.Equality

class Eq a where Source #

The Eq class defines equality ( == ) and inequality ( /= ). All the basic datatypes exported by the Prelude are instances of Eq , and Eq may be derived for any datatype whose constituents are also instances of Eq .

The Haskell Report defines no laws for Eq . However, == is customarily expected to implement an equivalence relationship where two values comparing equal are indistinguishable by "public" functions, with a "public" function being one not allowing to see implementation details. For example, for a type representing non-normalised natural numbers modulo 100, a "public" function doesn't make the difference between 1 and 201. It is expected to have the following properties:

Reflexivity
x == x = True
Symmetry
x == y = y == x
Transitivity
if x == y && y == z = True , then x == z = True
Substitutivity
if x == y = True and f is a "public" function whose return type is an instance of Eq , then f x == f y = True
Negation
x /= y = not (x == y)

Minimal complete definition: either == or /= .

Minimal complete definition

(==) | (/=)

Methods

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

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

Instances

Instances details
Eq Bool
Instance details

Defined in GHC.Classes

Eq Char
Instance details

Defined in GHC.Classes

Eq Double

Note that due to the presence of NaN , Double 's Eq instance does not satisfy reflexivity.

>>> 0/0 == (0/0 :: Double)
False

Also note that Double 's Eq instance does not satisfy substitutivity:

>>> 0 == (-0 :: Double)
True
>>> recip 0 == recip (-0 :: Double)
False
Instance details

Defined in GHC.Classes

Eq Float

Note that due to the presence of NaN , Float 's Eq instance does not satisfy reflexivity.

>>> 0/0 == (0/0 :: Float)
False

Also note that Float 's Eq instance does not satisfy substitutivity:

>>> 0 == (-0 :: Float)
True
>>> recip 0 == recip (-0 :: Float)
False
Instance details

Defined in GHC.Classes

Eq Int
Instance details

Defined in GHC.Classes

Eq Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Eq Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Eq Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Eq Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Eq Integer
Instance details

Defined in GHC.Integer.Type

Eq Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Natural

Eq Ordering
Instance details

Defined in GHC.Classes

Eq Word
Instance details

Defined in GHC.Classes

Eq Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Eq Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Eq Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Eq Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Eq SomeTypeRep
Instance details

Defined in Data.Typeable.Internal

Eq Exp
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Match
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Clause
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Pat
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Type
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Dec
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Name
Instance details

Defined in Language.Haskell.TH.Syntax

Eq FunDep
Instance details

Defined in Language.Haskell.TH.Syntax

Eq InjectivityAnn
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Overlap
Instance details

Defined in Language.Haskell.TH.Syntax

Eq ()
Instance details

Defined in GHC.Classes

Methods

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

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

Eq TyCon
Instance details

Defined in GHC.Classes

Eq Module
Instance details

Defined in GHC.Classes

Eq TrName
Instance details

Defined in GHC.Classes

Eq Handle

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Handle.Types

Eq Void

Since: base-4.8.0.0

Instance details

Defined in Data.Void

Eq SpecConstrAnnotation

Since: base-4.3.0.0

Instance details

Defined in GHC.Exts

Eq Constr

Equality of constructors

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Eq DataRep

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Eq ConstrRep

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Eq Fixity

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Eq Unique
Instance details

Defined in Data.Unique

Eq Version

Since: base-2.1

Instance details

Defined in Data.Version

Eq HandlePosn

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Handle

Eq ThreadId

Since: base-4.2.0.0

Instance details

Defined in GHC.Conc.Sync

Eq BlockReason

Since: base-4.3.0.0

Instance details

Defined in GHC.Conc.Sync

Eq ThreadStatus

Since: base-4.3.0.0

Instance details

Defined in GHC.Conc.Sync

Eq CDev
Instance details

Defined in System.Posix.Types

Eq CIno
Instance details

Defined in System.Posix.Types

Eq CMode
Instance details

Defined in System.Posix.Types

Eq COff
Instance details

Defined in System.Posix.Types

Eq CPid
Instance details

Defined in System.Posix.Types

Eq CSsize
Instance details

Defined in System.Posix.Types

Eq CGid
Instance details

Defined in System.Posix.Types

Eq CNlink
Instance details

Defined in System.Posix.Types

Eq CUid
Instance details

Defined in System.Posix.Types

Eq CCc
Instance details

Defined in System.Posix.Types

Eq CSpeed
Instance details

Defined in System.Posix.Types

Eq CTcflag
Instance details

Defined in System.Posix.Types

Eq CRLim
Instance details

Defined in System.Posix.Types

Eq CBlkSize
Instance details

Defined in System.Posix.Types

Eq CBlkCnt
Instance details

Defined in System.Posix.Types

Eq CClockId
Instance details

Defined in System.Posix.Types

Eq CFsBlkCnt
Instance details

Defined in System.Posix.Types

Eq CFsFilCnt
Instance details

Defined in System.Posix.Types

Eq CId
Instance details

Defined in System.Posix.Types

Eq CKey
Instance details

Defined in System.Posix.Types

Eq CSocklen
Instance details

Defined in System.Posix.Types

Eq CNfds
Instance details

Defined in System.Posix.Types

Eq Fd
Instance details

Defined in System.Posix.Types

Eq Errno

Since: base-2.1

Instance details

Defined in Foreign.C.Error

Eq AsyncException

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Exception

Eq ArrayException

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Exception

Eq ExitCode
Instance details

Defined in GHC.IO.Exception

Eq IOErrorType

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Eq BufferMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Handle.Types

Eq Newline

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Handle.Types

Eq NewlineMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Handle.Types

Eq IODeviceType

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Device

Eq SeekMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Device

Eq CodingProgress

Since: base-4.4.0.0

Instance details

Defined in GHC.IO.Encoding.Types

Eq MaskingState

Since: base-4.3.0.0

Instance details

Defined in GHC.IO

Eq IOException

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Eq ErrorCall

Since: base-4.7.0.0

Instance details

Defined in GHC.Exception

Eq ArithException

Since: base-3.0

Instance details

Defined in GHC.Exception.Type

Eq All

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Eq Any

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Eq Fixity

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Eq Associativity

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Eq SourceUnpackedness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq SourceStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq DecidedStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq SomeSymbol

Since: base-4.7.0.0

Instance details

Defined in GHC.TypeLits

Eq CChar
Instance details

Defined in Foreign.C.Types

Eq CSChar
Instance details

Defined in Foreign.C.Types

Eq CUChar
Instance details

Defined in Foreign.C.Types

Eq CShort
Instance details

Defined in Foreign.C.Types

Eq CUShort
Instance details

Defined in Foreign.C.Types

Eq CInt
Instance details

Defined in Foreign.C.Types

Eq CUInt
Instance details

Defined in Foreign.C.Types

Eq CLong
Instance details

Defined in Foreign.C.Types

Eq CULong
Instance details

Defined in Foreign.C.Types

Eq CLLong
Instance details

Defined in Foreign.C.Types

Eq CULLong
Instance details

Defined in Foreign.C.Types

Eq CBool
Instance details

Defined in Foreign.C.Types

Eq CFloat
Instance details

Defined in Foreign.C.Types

Eq CDouble
Instance details

Defined in Foreign.C.Types

Eq CPtrdiff
Instance details

Defined in Foreign.C.Types

Eq CSize
Instance details

Defined in Foreign.C.Types

Eq CWchar
Instance details

Defined in Foreign.C.Types

Eq CSigAtomic
Instance details

Defined in Foreign.C.Types

Eq CClock
Instance details

Defined in Foreign.C.Types

Eq CTime
Instance details

Defined in Foreign.C.Types

Eq CUSeconds
Instance details

Defined in Foreign.C.Types

Eq CSUSeconds
Instance details

Defined in Foreign.C.Types

Eq CIntPtr
Instance details

Defined in Foreign.C.Types

Eq CUIntPtr
Instance details

Defined in Foreign.C.Types

Eq CIntMax
Instance details

Defined in Foreign.C.Types

Eq CUIntMax
Instance details

Defined in Foreign.C.Types

Eq WordPtr
Instance details

Defined in Foreign.Ptr

Eq IntPtr
Instance details

Defined in Foreign.Ptr

Eq IOMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.IOMode

Eq Fingerprint

Since: base-4.4.0.0

Instance details

Defined in GHC.Fingerprint.Type

Eq Lexeme

Since: base-2.1

Instance details

Defined in Text.Read.Lex

Eq Number

Since: base-4.6.0.0

Instance details

Defined in Text.Read.Lex

Eq GeneralCategory

Since: base-2.1

Instance details

Defined in GHC.Unicode

Eq SrcLoc

Since: base-4.9.0.0

Instance details

Defined in GHC.Stack.Types

Eq ShortByteString
Instance details

Defined in Data.ByteString.Short.Internal

Eq ByteString
Instance details

Defined in Data.ByteString.Lazy.Internal

Eq ByteString
Instance details

Defined in Data.ByteString.Internal

Eq IntSet
Instance details

Defined in Data.IntSet.Internal

Eq FileType
Instance details

Defined in System.Directory.Internal.Common

Eq Permissions
Instance details

Defined in System.Directory.Internal.Common

Eq XdgDirectory
Instance details

Defined in System.Directory.Internal.Common

Eq XdgDirectoryList
Instance details

Defined in System.Directory.Internal.Common

Eq Extension
Instance details

Defined in GHC.LanguageExtensions.Type

Eq ForeignSrcLang
Instance details

Defined in GHC.ForeignSrcLang.Type

Eq BigNat
Instance details

Defined in GHC.Integer.Type

Eq Message
Instance details

Defined in Text.Parsec.Error

Eq ParseError
Instance details

Defined in Text.Parsec.Error

Eq SourcePos
Instance details

Defined in Text.Parsec.Pos

Eq Doc
Instance details

Defined in Text.PrettyPrint.HughesPJ

Eq TextDetails
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Eq Style
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Eq Mode
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Eq CreateProcess
Instance details

Defined in System.Process.Common

Eq CmdSpec
Instance details

Defined in System.Process.Common

Eq StdStream
Instance details

Defined in System.Process.Common

Eq ModName
Instance details

Defined in Language.Haskell.TH.Syntax

Eq PkgName
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Module
Instance details

Defined in Language.Haskell.TH.Syntax

Eq OccName
Instance details

Defined in Language.Haskell.TH.Syntax

Eq NameFlavour
Instance details

Defined in Language.Haskell.TH.Syntax

Eq NameSpace
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Loc
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Info
Instance details

Defined in Language.Haskell.TH.Syntax

Eq ModuleInfo
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Fixity
Instance details

Defined in Language.Haskell.TH.Syntax

Eq FixityDirection
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Lit
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Bytes
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Body
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Guard
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Stmt
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Range
Instance details

Defined in Language.Haskell.TH.Syntax

Eq DerivClause
Instance details

Defined in Language.Haskell.TH.Syntax

Eq DerivStrategy
Instance details

Defined in Language.Haskell.TH.Syntax

Eq TypeFamilyHead
Instance details

Defined in Language.Haskell.TH.Syntax

Eq TySynEqn
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Foreign
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Callconv
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Safety
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Pragma
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Inline
Instance details

Defined in Language.Haskell.TH.Syntax

Eq RuleMatch
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Phases
Instance details

Defined in Language.Haskell.TH.Syntax

Eq RuleBndr
Instance details

Defined in Language.Haskell.TH.Syntax

Eq AnnTarget
Instance details

Defined in Language.Haskell.TH.Syntax

Eq SourceUnpackedness
Instance details

Defined in Language.Haskell.TH.Syntax

Eq SourceStrictness
Instance details

Defined in Language.Haskell.TH.Syntax

Eq DecidedStrictness
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Con
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Bang
Instance details

Defined in Language.Haskell.TH.Syntax

Eq PatSynDir
Instance details

Defined in Language.Haskell.TH.Syntax

Eq PatSynArgs
Instance details

Defined in Language.Haskell.TH.Syntax

Eq TyVarBndr
Instance details

Defined in Language.Haskell.TH.Syntax

Eq FamilyResultSig
Instance details

Defined in Language.Haskell.TH.Syntax

Eq TyLit
Instance details

Defined in Language.Haskell.TH.Syntax

Eq Role
Instance details

Defined in Language.Haskell.TH.Syntax

Eq AnnLookup
Instance details

Defined in Language.Haskell.TH.Syntax

Eq LocalTime
Instance details

Defined in Data.Time.LocalTime.Internal.LocalTime

Eq TimeOfDay
Instance details

Defined in Data.Time.LocalTime.Internal.TimeOfDay

Eq TimeZone
Instance details

Defined in Data.Time.LocalTime.Internal.TimeZone

Eq UniversalTime
Instance details

Defined in Data.Time.Clock.Internal.UniversalTime

Eq UTCTime
Instance details

Defined in Data.Time.Clock.Internal.UTCTime

Eq NominalDiffTime
Instance details

Defined in Data.Time.Clock.Internal.NominalDiffTime

Eq DiffTime
Instance details

Defined in Data.Time.Clock.Internal.DiffTime

Eq Day
Instance details

Defined in Data.Time.Calendar.Days

Eq Structure Source #
Instance details

Defined in Distribution.Utils.Structured

Eq ShortText Source #
Instance details

Defined in Distribution.Utils.ShortText

Eq Result Source #
Instance details

Defined in Distribution.TestSuite

Eq OptionType Source #
Instance details

Defined in Distribution.TestSuite

Eq OptionDescr Source #
Instance details

Defined in Distribution.TestSuite

Eq PathTemplateVariable Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Eq PathComponent Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Eq CDialect Source #
Instance details

Defined in Distribution.Simple.CCompiler

Eq Position Source #
Instance details

Defined in Distribution.Parsec.Position

Eq PWarnType Source #
Instance details

Defined in Distribution.Parsec.Warning

Eq LexWarningType Source #
Instance details

Defined in Distribution.Fields.LexerMonad

Eq HasCommonStanzas Source #
Instance details

Defined in Distribution.CabalSpecVersion

Eq HasElif Source #
Instance details

Defined in Distribution.CabalSpecVersion

Eq CabalSpecVersion Source #
Instance details

Defined in Distribution.CabalSpecVersion

Eq LicenseListVersion Source #
Instance details

Defined in Distribution.SPDX.LicenseListVersion

Eq Version Source #
Instance details

Defined in Distribution.Types.Version

Eq VersionRange Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

Eq Bound Source #
Instance details

Defined in Distribution.Types.VersionInterval

Eq UpperBound Source #
Instance details

Defined in Distribution.Types.VersionInterval

Eq LowerBound Source #
Instance details

Defined in Distribution.Types.VersionInterval

Eq VersionIntervals Source #
Instance details

Defined in Distribution.Types.VersionInterval

Eq RepoType Source #
Instance details

Defined in Distribution.Types.SourceRepo

Eq RepoKind Source #
Instance details

Defined in Distribution.Types.SourceRepo

Eq SourceRepo Source #
Instance details

Defined in Distribution.Types.SourceRepo

Eq PkgconfigVersion Source #
Instance details

Defined in Distribution.Types.PkgconfigVersion

Eq PkgconfigVersionRange Source #
Instance details

Defined in Distribution.Types.PkgconfigVersionRange

Eq PkgconfigName Source #
Instance details

Defined in Distribution.Types.PkgconfigName

Eq PkgconfigDependency Source #
Instance details

Defined in Distribution.Types.PkgconfigDependency

Eq PackageName Source #
Instance details

Defined in Distribution.Types.PackageName

Eq UnqualComponentName Source #
Instance details

Defined in Distribution.Types.UnqualComponentName

Eq PackageVersionConstraint Source #
Instance details

Defined in Distribution.Types.PackageVersionConstraint

Eq LibraryVisibility Source #
Instance details

Defined in Distribution.Types.LibraryVisibility

Eq LibraryName Source #
Instance details

Defined in Distribution.Types.LibraryName

Eq MungedPackageName Source #
Instance details

Defined in Distribution.Types.MungedPackageName

Eq ForeignLibType Source #
Instance details

Defined in Distribution.Types.ForeignLibType

Eq ForeignLibOption Source #
Instance details

Defined in Distribution.Types.ForeignLibOption

Eq FlagAssignment Source #
Instance details

Defined in Distribution.Types.Flag

Eq FlagName Source #
Instance details

Defined in Distribution.Types.Flag

Eq Flag Source #
Instance details

Defined in Distribution.Types.Flag

Eq ExecutableScope Source #
Instance details

Defined in Distribution.Types.ExecutableScope

Eq ComponentName Source #
Instance details

Defined in Distribution.Types.ComponentName

Eq ComponentId Source #
Instance details

Defined in Distribution.Types.ComponentId

Eq GivenComponent Source #
Instance details

Defined in Distribution.Types.GivenComponent

Eq BuildType Source #
Instance details

Defined in Distribution.Types.BuildType

Eq AbiHash Source #
Instance details

Defined in Distribution.Types.AbiHash

Eq Platform Source #
Instance details

Defined in Distribution.System

Eq Arch Source #
Instance details

Defined in Distribution.System

Eq OS Source #
Instance details

Defined in Distribution.System

Eq LicenseRef Source #
Instance details

Defined in Distribution.SPDX.LicenseReference

Eq LicenseId Source #
Instance details

Defined in Distribution.SPDX.LicenseId

Eq LicenseExceptionId Source #
Instance details

Defined in Distribution.SPDX.LicenseExceptionId

Eq SimpleLicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Eq LicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Eq License Source #
Instance details

Defined in Distribution.SPDX.License

Eq ModuleName Source #
Instance details

Defined in Distribution.ModuleName

Eq ModuleRenaming Source #
Instance details

Defined in Distribution.Types.ModuleRenaming

Eq IncludeRenaming Source #
Instance details

Defined in Distribution.Types.IncludeRenaming

Eq Mixin Source #
Instance details

Defined in Distribution.Types.Mixin

Eq ModuleReexport Source #
Instance details

Defined in Distribution.Types.ModuleReexport

Eq VerbosityFlag Source #
Instance details

Defined in Distribution.Verbosity.Internal

Eq VerbosityLevel Source #
Instance details

Defined in Distribution.Verbosity.Internal

Eq Verbosity Source #
Instance details

Defined in Distribution.Verbosity

Eq TestType Source #
Instance details

Defined in Distribution.Types.TestType

Eq TestSuiteInterface Source #
Instance details

Defined in Distribution.Types.TestSuiteInterface

Eq PackageIdentifier Source #
Instance details

Defined in Distribution.Types.PackageId

Eq DefUnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Eq UnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Eq Module Source #
Instance details

Defined in Distribution.Types.Module

Eq OpenModule Source #
Instance details

Defined in Distribution.Backpack

Eq OpenUnitId Source #
Instance details

Defined in Distribution.Backpack

Eq ExposedModule Source #
Instance details

Defined in Distribution.Types.ExposedModule

Eq MungedPackageId Source #
Instance details

Defined in Distribution.Types.MungedPackageId

Eq LegacyExeDependency Source #
Instance details

Defined in Distribution.Types.LegacyExeDependency

Eq ExeDependency Source #
Instance details

Defined in Distribution.Types.ExeDependency

Eq Dependency Source #
Instance details

Defined in Distribution.Types.Dependency

Eq SetupBuildInfo Source #
Instance details

Defined in Distribution.Types.SetupBuildInfo

Eq BenchmarkType Source #
Instance details

Defined in Distribution.Types.BenchmarkType

Eq BenchmarkInterface Source #
Instance details

Defined in Distribution.Types.BenchmarkInterface

Eq AbiDependency Source #
Instance details

Defined in Distribution.Types.AbiDependency

Eq License Source #
Instance details

Defined in Distribution.License

Eq InstalledPackageInfo Source #
Instance details

Defined in Distribution.Types.InstalledPackageInfo

Eq KnownExtension Source #
Instance details

Defined in Language.Haskell.Extension

Eq Extension Source #
Instance details

Defined in Language.Haskell.Extension

Eq Language Source #
Instance details

Defined in Language.Haskell.Extension

Eq AbiTag Source #
Instance details

Defined in Distribution.Compiler

Eq CompilerId Source #
Instance details

Defined in Distribution.Compiler

Eq CompilerFlavor Source #
Instance details

Defined in Distribution.Compiler

Eq ConfVar Source #
Instance details

Defined in Distribution.Types.ConfVar

Eq BuildInfo Source #
Instance details

Defined in Distribution.Types.BuildInfo

Eq TestSuite Source #
Instance details

Defined in Distribution.Types.TestSuite

Eq Library Source #
Instance details

Defined in Distribution.Types.Library

Eq LibVersionInfo Source #
Instance details

Defined in Distribution.Types.ForeignLib

Eq ForeignLib Source #
Instance details

Defined in Distribution.Types.ForeignLib

Eq Executable Source #
Instance details

Defined in Distribution.Types.Executable

Eq Benchmark Source #
Instance details

Defined in Distribution.Types.Benchmark

Eq Component Source #
Instance details

Defined in Distribution.Types.Component

Eq ComponentRequestedSpec Source #
Instance details

Defined in Distribution.Types.ComponentRequestedSpec

Eq PackageDescription Source #
Instance details

Defined in Distribution.Types.PackageDescription

Eq GenericPackageDescription Source #
Instance details

Defined in Distribution.Types.GenericPackageDescription

Eq PathTemplate Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Eq CopyDest Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Eq ProgramSearchPathEntry Source #
Instance details

Defined in Distribution.Simple.Program.Find

Eq ProgramLocation Source #
Instance details

Defined in Distribution.Simple.Program.Types

Eq ConfiguredProgram Source #
Instance details

Defined in Distribution.Simple.Program.Types

Eq GlobSyntaxError Source #
Instance details

Defined in Distribution.Simple.Glob

Eq ProfDetailLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Eq DebugInfoLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Eq OptimisationLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Eq PackageDB Source #
Instance details

Defined in Distribution.Simple.Compiler

Eq Compiler Source #
Instance details

Defined in Distribution.Simple.Compiler

Eq GhcProfAuto Source #
Instance details

Defined in Distribution.Simple.Program.GHC

Eq GhcDynLinkMode Source #
Instance details

Defined in Distribution.Simple.Program.GHC

Eq GhcOptimisation Source #
Instance details

Defined in Distribution.Simple.Program.GHC

Eq GhcMode Source #
Instance details

Defined in Distribution.Simple.Program.GHC

Eq TestShowDetails Source #
Instance details

Defined in Distribution.Simple.Setup

Eq HaddockTarget Source #
Instance details

Defined in Distribution.Simple.Setup

Eq ConfigFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Eq TestLogs Source #
Instance details

Defined in Distribution.Simple.Test.Log

Eq TestSuiteLog Source #
Instance details

Defined in Distribution.Simple.Test.Log

Eq PackageLog Source #
Instance details

Defined in Distribution.Simple.Test.Log

Eq Way Source #
Instance details

Defined in Distribution.Simple.Hpc

Eq BuildTarget Source #
Instance details

Defined in Distribution.Simple.BuildTarget

Eq UserBuildTarget Source #
Instance details

Defined in Distribution.Simple.BuildTarget

Eq PackageCheck Source #
Instance details

Defined in Distribution.PackageDescription.Check

Eq GhcEnvironmentFileEntry Source #
Instance details

Defined in Distribution.Simple.GHC.Internal

Eq ModuleShape Source #
Instance details

Defined in Distribution.Backpack.ModuleShape

Eq PreModuleShape Source #
Instance details

Defined in Distribution.Backpack.PreModuleShape

Eq ModTime Source #
Instance details

Defined in Distribution.Compat.Time

Eq a => Eq [a]
Instance details

Defined in GHC.Classes

Methods

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

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

Eq a => Eq ( Maybe a)

Since: base-2.1

Instance details

Defined in GHC.Maybe

Eq a => Eq ( Ratio a)

Since: base-2.1

Instance details

Defined in GHC.Real

Eq ( StablePtr a)

Since: base-2.1

Instance details

Defined in GHC.Stable

Eq ( Ptr a)

Since: base-2.1

Instance details

Defined in GHC.Ptr

Eq ( FunPtr a)
Instance details

Defined in GHC.Ptr

Eq p => Eq ( Par1 p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Eq ( ForeignPtr a)

Since: base-2.1

Instance details

Defined in GHC.ForeignPtr

Eq a => Eq ( Complex a)

Since: base-2.1

Instance details

Defined in Data.Complex

Eq a => Eq ( Min a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Eq a => Eq ( Max a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Eq a => Eq ( First a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Eq a => Eq ( Last a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Eq m => Eq ( WrappedMonoid m)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Eq a => Eq ( Option a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Eq ( StableName a)

Since: base-2.1

Instance details

Defined in GHC.StableName

Eq a => Eq ( ZipList a)

Since: base-4.7.0.0

Instance details

Defined in Control.Applicative

Eq a => Eq ( Identity a)

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Eq ( TVar a)

Since: base-4.8.0.0

Instance details

Defined in GHC.Conc.Sync

Eq ( IORef a)

Pointer equality.

Since: base-4.0.0.0

Instance details

Defined in GHC.IORef

Eq a => Eq ( First a)

Since: base-2.1

Instance details

Defined in Data.Monoid

Eq a => Eq ( Last a)

Since: base-2.1

Instance details

Defined in Data.Monoid

Eq a => Eq ( Dual a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Eq a => Eq ( Sum a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Eq a => Eq ( Product a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Eq a => Eq ( Down a)

Since: base-4.6.0.0

Instance details

Defined in Data.Ord

Eq ( MVar a)

Since: base-4.1.0.0

Instance details

Defined in GHC.MVar

Eq a => Eq ( NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Eq a => Eq ( IntMap a)
Instance details

Defined in Data.IntMap.Internal

Eq vertex => Eq ( SCC vertex)

Since: containers-0.5.9

Instance details

Defined in Data.Graph

Eq a => Eq ( Tree a)
Instance details

Defined in Data.Tree

Eq a => Eq ( Seq a)
Instance details

Defined in Data.Sequence.Internal

Eq a => Eq ( ViewL a)
Instance details

Defined in Data.Sequence.Internal

Eq a => Eq ( ViewR a)
Instance details

Defined in Data.Sequence.Internal

Eq a => Eq ( Set a)
Instance details

Defined in Data.Set.Internal

Eq ( Doc a)
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Eq a => Eq ( AnnotDetails a)
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Eq a => Eq ( Span a)
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

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

Defined in Distribution.Compat.Semigroup

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

Defined in Distribution.Compat.Semigroup

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

Defined in Distribution.Compat.Semigroup

Eq c => Eq ( Condition c) Source #
Instance details

Defined in Distribution.Types.Condition

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

Defined in Distribution.Simple.Flag

Eq ann => Eq ( Name ann) Source #
Instance details

Defined in Distribution.Fields.Field

Eq ann => Eq ( SectionArg ann) Source #
Instance details

Defined in Distribution.Fields.Field

Eq ann => Eq ( FieldLine ann) Source #
Instance details

Defined in Distribution.Fields.Field

Eq ann => Eq ( Field ann) Source #
Instance details

Defined in Distribution.Fields.Field

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

Defined in Distribution.Types.VersionRange.Internal

( Eq ( Key a), Eq a) => Eq ( Graph a) Source #
Instance details

Defined in Distribution.Compat.Graph

Eq id => Eq ( AnnotatedId id) Source #
Instance details

Defined in Distribution.Types.AnnotatedId

Eq v => Eq ( PerCompilerFlavor v) Source #
Instance details

Defined in Distribution.Compiler

Eq dir => Eq ( InstallDirs dir) Source #
Instance details

Defined in Distribution.Simple.InstallDirs

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

Defined in Distribution.Utils.NubList

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

Defined in Distribution.Utils.NubList

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

Defined in Distribution.Simple.Glob

Eq ann => Eq ( Section ann) Source #
Instance details

Defined in Distribution.FieldGrammar.Parsec

Eq ann => Eq ( NamelessField ann) Source #
Instance details

Defined in Distribution.FieldGrammar.Parsec

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

Defined in Distribution.Simple.PackageIndex

( Eq a, Eq b) => Eq ( Either a b)

Since: base-2.1

Instance details

Defined in Data.Either

Eq ( V1 p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq ( U1 p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq ( TypeRep a)

Since: base-2.1

Instance details

Defined in Data.Typeable.Internal

( Eq a, Eq b) => Eq (a, b)
Instance details

Defined in GHC.Classes

Methods

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

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

( Ix ix, Eq e, IArray UArray e) => Eq ( UArray ix e)
Instance details

Defined in Data.Array.Base

( Ix i, Eq e) => Eq ( Array i e)

Since: base-2.1

Instance details

Defined in GHC.Arr

Eq ( Fixed a)

Since: base-2.1

Instance details

Defined in Data.Fixed

Eq a => Eq ( Arg a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Eq ( Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Eq ( STRef s a)

Pointer equality.

Since: base-2.1

Instance details

Defined in GHC.STRef

( Eq k, Eq a) => Eq ( Map k a)
Instance details

Defined in Data.Map.Internal

( Eq1 m, Eq a) => Eq ( ListT m a)
Instance details

Defined in Control.Monad.Trans.List

( Eq1 m, Eq a) => Eq ( MaybeT m a)
Instance details

Defined in Control.Monad.Trans.Maybe

( Eq a, Eq k) => Eq ( Node k a) Source #
Instance details

Defined in Distribution.Compat.Graph

Eq (f p) => Eq ( Rec1 f p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Eq ( URec ( Ptr ()) p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq ( URec Char p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq ( URec Double p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq ( URec Float p)
Instance details

Defined in GHC.Generics

Eq ( URec Int p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq ( URec Word p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

( Eq a, Eq b, Eq c) => Eq (a, b, c)
Instance details

Defined in GHC.Classes

Methods

(==) :: (a, b, c) -> (a, b, c) -> Bool Source #

(/=) :: (a, b, c) -> (a, b, c) -> Bool Source #

Eq ( STUArray s i e)
Instance details

Defined in Data.Array.Base

Eq ( STArray s i e)

Since: base-2.1

Instance details

Defined in GHC.Arr

Eq a => Eq ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Eq (f a) => Eq ( Ap f a)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Eq (f a) => Eq ( Alt f a)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Eq ( Coercion a b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Coercion

Eq (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Equality

( Eq1 f, Eq a) => Eq ( IdentityT f a)
Instance details

Defined in Control.Monad.Trans.Identity

( Eq e, Eq1 m, Eq a) => Eq ( ErrorT e m a)
Instance details

Defined in Control.Monad.Trans.Error

( Eq e, Eq1 m, Eq a) => Eq ( ExceptT e m a)
Instance details

Defined in Control.Monad.Trans.Except

( Eq w, Eq1 m, Eq a) => Eq ( WriterT w m a)
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

( Eq w, Eq1 m, Eq a) => Eq ( WriterT w m a)
Instance details

Defined in Control.Monad.Trans.Writer.Strict

( Eq v, Eq a, Eq c) => Eq ( CondBranch v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

( Eq a, Eq c, Eq v) => Eq ( CondTree v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

Eq c => Eq ( K1 i c p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

( Eq (f p), Eq (g p)) => Eq ((f :+: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Methods

(==) :: (f :+: g) p -> (f :+: g) p -> Bool Source #

(/=) :: (f :+: g) p -> (f :+: g) p -> Bool Source #

( Eq (f p), Eq (g p)) => Eq ((f :*: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Methods

(==) :: (f :*: g) p -> (f :*: g) p -> Bool Source #

(/=) :: (f :*: g) p -> (f :*: g) p -> Bool Source #

( Eq a, Eq b, Eq c, Eq d) => Eq (a, b, c, d)
Instance details

Defined in GHC.Classes

Methods

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

(/=) :: (a, b, c, d) -> (a, b, c, d) -> Bool Source #

( Eq1 f, Eq1 g, Eq a) => Eq ( Product f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

( Eq1 f, Eq1 g, Eq a) => Eq ( Sum f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Sum

Eq (a :~~: b)

Since: base-4.10.0.0

Instance details

Defined in Data.Type.Equality

Eq (f p) => Eq ( M1 i c f p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Methods

(==) :: M1 i c f p -> M1 i c f p -> Bool Source #

(/=) :: M1 i c f p -> M1 i c f p -> Bool Source #

Eq (f (g p)) => Eq ((f :.: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Methods

(==) :: (f :.: g) p -> (f :.: g) p -> Bool Source #

(/=) :: (f :.: g) p -> (f :.: g) p -> Bool Source #

( Eq a, Eq b, Eq c, Eq d, Eq e) => Eq (a, b, c, d, e)
Instance details

Defined in GHC.Classes

Methods

(==) :: (a, b, c, d, e) -> (a, b, c, d, e) -> Bool Source #

(/=) :: (a, b, c, d, e) -> (a, b, c, d, e) -> Bool Source #

( Eq1 f, Eq1 g, Eq a) => Eq ( Compose f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Compose

( Eq a, Eq b, Eq c, Eq d, Eq e, Eq f) => Eq (a, b, c, d, e, f)
Instance details

Defined in GHC.Classes

Methods

(==) :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> Bool Source #

(/=) :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> Bool Source #

( Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g) => Eq (a, b, c, d, e, f, g)
Instance details

Defined in GHC.Classes

Methods

(==) :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> Bool Source #

(/=) :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> Bool Source #

( Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h) => Eq (a, b, c, d, e, f, g, h)
Instance details

Defined in GHC.Classes

Methods

(==) :: (a, b, c, d, e, f, g, h) -> (a, b, c, d, e, f, g, h) -> Bool Source #

(/=) :: (a, b, c, d, e, f, g, h) -> (a, b, c, d, e, f, g, h) -> Bool Source #

( Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i) => Eq (a, b, c, d, e, f, g, h, i)
Instance details

Defined in GHC.Classes

Methods

(==) :: (a, b, c, d, e, f, g, h, i) -> (a, b, c, d, e, f, g, h, i) -> Bool Source #

(/=) :: (a, b, c, d, e, f, g, h, i) -> (a, b, c, d, e, f, g, h, i) -> Bool Source #

( Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j) => Eq (a, b, c, d, e, f, g, h, i, j)
Instance details

Defined in GHC.Classes

Methods

(==) :: (a, b, c, d, e, f, g, h, i, j) -> (a, b, c, d, e, f, g, h, i, j) -> Bool Source #

(/=) :: (a, b, c, d, e, f, g, h, i, j) -> (a, b, c, d, e, f, g, h, i, j) -> Bool Source #

( Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k) => Eq (a, b, c, d, e, f, g, h, i, j, k)
Instance details

Defined in GHC.Classes

Methods

(==) :: (a, b, c, d, e, f, g, h, i, j, k) -> (a, b, c, d, e, f, g, h, i, j, k) -> Bool Source #

(/=) :: (a, b, c, d, e, f, g, h, i, j, k) -> (a, b, c, d, e, f, g, h, i, j, k) -> Bool Source #

( Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k, Eq l) => Eq (a, b, c, d, e, f, g, h, i, j, k, l)
Instance details

Defined in GHC.Classes

Methods

(==) :: (a, b, c, d, e, f, g, h, i, j, k, l) -> (a, b, c, d, e, f, g, h, i, j, k, l) -> Bool Source #

(/=) :: (a, b, c, d, e, f, g, h, i, j, k, l) -> (a, b, c, d, e, f, g, h, i, j, k, l) -> Bool Source #

( Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k, Eq l, Eq m) => Eq (a, b, c, d, e, f, g, h, i, j, k, l, m)
Instance details

Defined in GHC.Classes

Methods

(==) :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Bool Source #

(/=) :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Bool Source #

( Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k, Eq l, Eq m, Eq n) => Eq (a, b, c, d, e, f, g, h, i, j, k, l, m, n)
Instance details

Defined in GHC.Classes

Methods

(==) :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Bool Source #

(/=) :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Bool Source #

( Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k, Eq l, Eq m, Eq n, Eq o) => Eq (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)
Instance details

Defined in GHC.Classes

Methods

(==) :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Bool Source #

(/=) :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Bool Source #

class Fractional a => Floating a where Source #

Trigonometric and hyperbolic functions and related functions.

The Haskell Report defines no laws for Floating . However, ( + ) , ( * ) and exp are customarily expected to define an exponential field and have the following properties:

  • exp (a + b) = exp a * exp b
  • exp (fromInteger 0) = fromInteger 1

Instances

Instances details
Floating Double

Since: base-2.1

Instance details

Defined in GHC.Float

Floating Float

Since: base-2.1

Instance details

Defined in GHC.Float

Floating CFloat
Instance details

Defined in Foreign.C.Types

Floating CDouble
Instance details

Defined in Foreign.C.Types

RealFloat a => Floating ( Complex a)

Since: base-2.1

Instance details

Defined in Data.Complex

Floating a => Floating ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Floating a => Floating ( Down a)

Since: base-4.14.0.0

Instance details

Defined in Data.Ord

Floating a => Floating ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

class Num a => Fractional a where Source #

Fractional numbers, supporting real division.

The Haskell Report defines no laws for Fractional . However, ( + ) and ( * ) are customarily expected to define a division ring and have the following properties:

recip gives the multiplicative inverse
x * recip x = recip x * x = fromInteger 1

Note that it isn't customarily expected that a type instance of Fractional implement a field. However, all instances in base do.

Minimal complete definition

fromRational , ( recip | (/) )

Methods

(/) :: a -> a -> a infixl 7 Source #

Fractional division.

recip :: a -> a Source #

Reciprocal fraction.

fromRational :: Rational -> a Source #

Conversion from a Rational (that is Ratio Integer ). A floating literal stands for an application of fromRational to a value of type Rational , so such literals have type ( Fractional a) => a .

Instances

Instances details
Fractional CFloat
Instance details

Defined in Foreign.C.Types

Fractional CDouble
Instance details

Defined in Foreign.C.Types

Fractional NominalDiffTime
Instance details

Defined in Data.Time.Clock.Internal.NominalDiffTime

Fractional DiffTime
Instance details

Defined in Data.Time.Clock.Internal.DiffTime

Integral a => Fractional ( Ratio a)

Since: base-2.0.1

Instance details

Defined in GHC.Real

RealFloat a => Fractional ( Complex a)

Since: base-2.1

Instance details

Defined in Data.Complex

Fractional a => Fractional ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Fractional a => Fractional ( Down a)

Since: base-4.14.0.0

Instance details

Defined in Data.Ord

HasResolution a => Fractional ( Fixed a)

Since: base-2.1

Instance details

Defined in Data.Fixed

Fractional a => Fractional ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

class ( Real a, Enum a) => Integral a where Source #

Integral numbers, supporting integer division.

The Haskell Report defines no laws for Integral . However, Integral instances are customarily expected to define a Euclidean domain and have the following properties for the div / mod and quot / rem pairs, given suitable Euclidean functions f and g :

  • x = y * quot x y + rem x y with rem x y = fromInteger 0 or g (rem x y) < g y
  • x = y * div x y + mod x y with mod x y = fromInteger 0 or f (mod x y) < f y

An example of a suitable Euclidean function, for Integer 's instance, is abs .

Minimal complete definition

quotRem , toInteger

Methods

quot :: a -> a -> a infixl 7 Source #

integer division truncated toward zero

rem :: a -> a -> a infixl 7 Source #

integer remainder, satisfying

(x `quot` y)*y + (x `rem` y) == x

div :: a -> a -> a infixl 7 Source #

integer division truncated toward negative infinity

mod :: a -> a -> a infixl 7 Source #

integer modulus, satisfying

(x `div` y)*y + (x `mod` y) == x

quotRem :: a -> a -> (a, a) Source #

simultaneous quot and rem

divMod :: a -> a -> (a, a) Source #

simultaneous div and mod

toInteger :: a -> Integer Source #

conversion to Integer

Instances

Instances details
Integral Int

Since: base-2.0.1

Instance details

Defined in GHC.Real

Integral Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Integral Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Integral Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Integral Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Integral Integer

Since: base-2.0.1

Instance details

Defined in GHC.Real

Integral Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Real

Integral Word

Since: base-2.1

Instance details

Defined in GHC.Real

Integral Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Integral Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Integral Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Integral Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Integral CDev
Instance details

Defined in System.Posix.Types

Integral CIno
Instance details

Defined in System.Posix.Types

Integral CMode
Instance details

Defined in System.Posix.Types

Integral COff
Instance details

Defined in System.Posix.Types

Integral CPid
Instance details

Defined in System.Posix.Types

Integral CSsize
Instance details

Defined in System.Posix.Types

Integral CGid
Instance details

Defined in System.Posix.Types

Integral CNlink
Instance details

Defined in System.Posix.Types

Integral CUid
Instance details

Defined in System.Posix.Types

Integral CTcflag
Instance details

Defined in System.Posix.Types

Integral CRLim
Instance details

Defined in System.Posix.Types

Integral CBlkSize
Instance details

Defined in System.Posix.Types

Integral CBlkCnt
Instance details

Defined in System.Posix.Types

Integral CClockId
Instance details

Defined in System.Posix.Types

Integral CFsBlkCnt
Instance details

Defined in System.Posix.Types

Integral CFsFilCnt
Instance details

Defined in System.Posix.Types

Integral CId
Instance details

Defined in System.Posix.Types

Integral CKey
Instance details

Defined in System.Posix.Types

Integral CSocklen
Instance details

Defined in System.Posix.Types

Integral CNfds
Instance details

Defined in System.Posix.Types

Integral Fd
Instance details

Defined in System.Posix.Types

Integral CChar
Instance details

Defined in Foreign.C.Types

Integral CSChar
Instance details

Defined in Foreign.C.Types

Integral CUChar
Instance details

Defined in Foreign.C.Types

Integral CShort
Instance details

Defined in Foreign.C.Types

Integral CUShort
Instance details

Defined in Foreign.C.Types

Integral CInt
Instance details

Defined in Foreign.C.Types

Integral CUInt
Instance details

Defined in Foreign.C.Types

Integral CLong
Instance details

Defined in Foreign.C.Types

Integral CULong
Instance details

Defined in Foreign.C.Types

Integral CLLong
Instance details

Defined in Foreign.C.Types

Integral CULLong
Instance details

Defined in Foreign.C.Types

Integral CBool
Instance details

Defined in Foreign.C.Types

Integral CPtrdiff
Instance details

Defined in Foreign.C.Types

Integral CSize
Instance details

Defined in Foreign.C.Types

Integral CWchar
Instance details

Defined in Foreign.C.Types

Integral CSigAtomic
Instance details

Defined in Foreign.C.Types

Integral CIntPtr
Instance details

Defined in Foreign.C.Types

Integral CUIntPtr
Instance details

Defined in Foreign.C.Types

Integral CIntMax
Instance details

Defined in Foreign.C.Types

Integral CUIntMax
Instance details

Defined in Foreign.C.Types

Integral WordPtr
Instance details

Defined in Foreign.Ptr

Integral IntPtr
Instance details

Defined in Foreign.Ptr

Integral a => Integral ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Integral a => Integral ( Down a)

Since: base-4.14.0.0

Instance details

Defined in Data.Ord

Integral a => Integral ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

class Applicative m => Monad (m :: Type -> Type ) where Source #

The Monad class defines the basic operations over a monad , a concept from a branch of mathematics known as category theory . From the perspective of a Haskell programmer, however, it is best to think of a monad as an abstract datatype of actions. Haskell's do expressions provide a convenient syntax for writing monadic expressions.

Instances of Monad should satisfy the following:

Left identity
return a >>= k = k a
Right identity
m >>= return = m
Associativity
m >>= (\x -> k x >>= h) = (m >>= k) >>= h

Furthermore, the Monad and Applicative operations should relate as follows:

The above laws imply:

and that pure and ( <*> ) satisfy the applicative functor laws.

The instances of Monad for lists, Maybe and IO defined in the Prelude satisfy these laws.

Minimal complete definition

(>>=)

Methods

(>>=) :: m a -> (a -> m b) -> m b infixl 1 Source #

Sequentially compose two actions, passing any value produced by the first as an argument to the second.

' as >>= bs ' can be understood as the do expression

do a <- as
   bs a

(>>) :: m a -> m b -> m b infixl 1 Source #

Sequentially compose two actions, discarding any value produced by the first, like sequencing operators (such as the semicolon) in imperative languages.

' as >> bs ' can be understood as the do expression

do as
   bs

return :: a -> m a Source #

Inject a value into the monadic type.

Instances

Instances details
Monad []

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

(>>=) :: [a] -> (a -> [b]) -> [b] Source #

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

return :: a -> [a] Source #

Monad Maybe

Since: base-2.1

Instance details

Defined in GHC.Base

Monad IO

Since: base-2.1

Instance details

Defined in GHC.Base

Monad Par1

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Monad Q
Instance details

Defined in Language.Haskell.TH.Syntax

Monad Complex

Since: base-4.9.0.0

Instance details

Defined in Data.Complex

Monad Min

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Monad Max

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Monad First

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Monad Last

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Monad Option

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Monad Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Monad STM

Since: base-4.3.0.0

Instance details

Defined in GHC.Conc.Sync

Monad First

Since: base-4.8.0.0

Instance details

Defined in Data.Monoid

Monad Last

Since: base-4.8.0.0

Instance details

Defined in Data.Monoid

Monad Dual

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Monad Sum

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Monad Product

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Monad Down

Since: base-4.11.0.0

Instance details

Defined in Data.Ord

Monad ReadPrec

Since: base-2.1

Instance details

Defined in Text.ParserCombinators.ReadPrec

Monad ReadP

Since: base-2.1

Instance details

Defined in Text.ParserCombinators.ReadP

Monad NonEmpty

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Monad PutM
Instance details

Defined in Data.Binary.Put

Monad Get
Instance details

Defined in Data.Binary.Get.Internal

Monad Put
Instance details

Defined in Data.ByteString.Builder.Internal

Monad Tree
Instance details

Defined in Data.Tree

Monad Seq
Instance details

Defined in Data.Sequence.Internal

Monad P

Since: base-2.1

Instance details

Defined in Text.ParserCombinators.ReadP

Methods

(>>=) :: P a -> (a -> P b) -> P b Source #

(>>) :: P a -> P b -> P b Source #

return :: a -> P a Source #

Monad Condition Source #
Instance details

Defined in Distribution.Types.Condition

Monad Lex Source #
Instance details

Defined in Distribution.Fields.LexerMonad

Monad ParsecParser Source #
Instance details

Defined in Distribution.Parsec

Monad LogProgress Source #
Instance details

Defined in Distribution.Utils.LogProgress

Monad ParseResult Source #
Instance details

Defined in Distribution.Fields.ParseResult

Monad ( Either e)

Since: base-4.4.0.0

Instance details

Defined in Data.Either

Monad ( U1 :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Monoid a => Monad ( (,) a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

(>>=) :: (a, a0) -> (a0 -> (a, b)) -> (a, b) Source #

(>>) :: (a, a0) -> (a, b) -> (a, b) Source #

return :: a0 -> (a, a0) Source #

Monad ( ST s)

Since: base-2.1

Instance details

Defined in GHC.ST

Monad m => Monad ( WrappedMonad m)

Since: base-4.7.0.0

Instance details

Defined in Control.Applicative

ArrowApply a => Monad ( ArrowMonad a)

Since: base-2.1

Instance details

Defined in Control.Arrow

Monad ( Proxy :: Type -> Type )

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Monad m => Monad ( ListT m)
Instance details

Defined in Control.Monad.Trans.List

Monad m => Monad ( MaybeT m)
Instance details

Defined in Control.Monad.Trans.Maybe

Monad (SetM s)
Instance details

Defined in Data.Graph

Methods

(>>=) :: SetM s a -> (a -> SetM s b) -> SetM s b Source #

(>>) :: SetM s a -> SetM s b -> SetM s b Source #

return :: a -> SetM s a Source #

Monad f => Monad ( Rec1 f)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

( Monoid a, Monoid b) => Monad ( (,,) a b)

Since: base-4.14.0.0

Instance details

Defined in GHC.Base

Methods

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

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

return :: a0 -> (a, b, a0) Source #

Monad m => Monad ( Kleisli m a)

Since: base-4.14.0.0

Instance details

Defined in Control.Arrow

Monad f => Monad ( Ap f)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Monad f => Monad ( Alt f)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

( Applicative f, Monad f) => Monad ( WhenMissing f x)

Equivalent to ReaderT k (ReaderT x (MaybeT f)) .

Since: containers-0.5.9

Instance details

Defined in Data.IntMap.Internal

Monad m => Monad ( IdentityT m)
Instance details

Defined in Control.Monad.Trans.Identity

( Monad m, Error e) => Monad ( ErrorT e m)
Instance details

Defined in Control.Monad.Trans.Error

Monad m => Monad ( ExceptT e m)
Instance details

Defined in Control.Monad.Trans.Except

Monad m => Monad ( ReaderT r m)
Instance details

Defined in Control.Monad.Trans.Reader

Monad m => Monad ( StateT s m)
Instance details

Defined in Control.Monad.Trans.State.Lazy

Monad m => Monad ( StateT s m)
Instance details

Defined in Control.Monad.Trans.State.Strict

( Monoid w, Monad m) => Monad ( WriterT w m)
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

( Monoid w, Monad m) => Monad ( WriterT w m)
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Monad ( Progress step fail) Source #
Instance details

Defined in Distribution.Utils.Progress

Methods

(>>=) :: Progress step fail a -> (a -> Progress step fail b) -> Progress step fail b Source #

(>>) :: Progress step fail a -> Progress step fail b -> Progress step fail b Source #

return :: a -> Progress step fail a Source #

Monad ((->) r :: Type -> Type )

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

(>>=) :: (r -> a) -> (a -> r -> b) -> r -> b Source #

(>>) :: (r -> a) -> (r -> b) -> r -> b Source #

return :: a -> r -> a Source #

( Monad f, Monad g) => Monad (f :*: g)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

(>>=) :: (f :*: g) a -> (a -> (f :*: g) b) -> (f :*: g) b Source #

(>>) :: (f :*: g) a -> (f :*: g) b -> (f :*: g) b Source #

return :: a -> (f :*: g) a Source #

( Monoid a, Monoid b, Monoid c) => Monad ( (,,,) a b c)

Since: base-4.14.0.0

Instance details

Defined in GHC.Base

Methods

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

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

return :: a0 -> (a, b, c, a0) Source #

( Monad f, Monad g) => Monad ( Product f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

( Monad f, Applicative f) => Monad ( WhenMatched f x y)

Equivalent to ReaderT Key (ReaderT x (ReaderT y (MaybeT f)))

Since: containers-0.5.9

Instance details

Defined in Data.IntMap.Internal

( Applicative f, Monad f) => Monad ( WhenMissing f k x)

Equivalent to ReaderT k (ReaderT x (MaybeT f)) .

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Monad ( ContT r m)
Instance details

Defined in Control.Monad.Trans.Cont

Monad ( ParsecT s u m)
Instance details

Defined in Text.Parsec.Prim

Methods

(>>=) :: ParsecT s u m a -> (a -> ParsecT s u m b) -> ParsecT s u m b Source #

(>>) :: ParsecT s u m a -> ParsecT s u m b -> ParsecT s u m b Source #

return :: a -> ParsecT s u m a Source #

Monad f => Monad ( M1 i c f)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

(>>=) :: M1 i c f a -> (a -> M1 i c f b) -> M1 i c f b Source #

(>>) :: M1 i c f a -> M1 i c f b -> M1 i c f b Source #

return :: a -> M1 i c f a Source #

( Monad f, Applicative f) => Monad ( WhenMatched f k x y)

Equivalent to ReaderT k (ReaderT x (ReaderT y (MaybeT f)))

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

( Monoid w, Monad m) => Monad ( RWST r w s m)
Instance details

Defined in Control.Monad.Trans.RWS.Lazy

Methods

(>>=) :: RWST r w s m a -> (a -> RWST r w s m b) -> RWST r w s m b Source #

(>>) :: RWST r w s m a -> RWST r w s m b -> RWST r w s m b Source #

return :: a -> RWST r w s m a Source #

( Monoid w, Monad m) => Monad ( RWST r w s m)
Instance details

Defined in Control.Monad.Trans.RWS.Strict

Methods

(>>=) :: RWST r w s m a -> (a -> RWST r w s m b) -> RWST r w s m b Source #

(>>) :: RWST r w s m a -> RWST r w s m b -> RWST r w s m b Source #

return :: a -> RWST r w s m a Source #

class Functor (f :: Type -> Type ) where Source #

A type f is a Functor if it provides a function fmap which, given any types a and b lets you apply any function from (a -> b) to turn an f a into an f b , preserving the structure of f . Furthermore f needs to adhere to the following:

Identity
fmap id == id
Composition
fmap (f . g) == fmap f . fmap g

Note, that the second law follows from the free theorem of the type fmap and the first law, so you need only check that the former condition holds.

Minimal complete definition

fmap

Methods

fmap :: (a -> b) -> f a -> f b Source #

Using ApplicativeDo : ' fmap f as ' can be understood as the do expression

do a <- as
   pure (f a)

with an inferred Functor constraint.

(<$) :: a -> f b -> f a infixl 4 Source #

Replace all locations in the input with the same value. The default definition is fmap . const , but this may be overridden with a more efficient version.

Using ApplicativeDo : ' a <$ bs ' can be understood as the do expression

do bs
   pure a

with an inferred Functor constraint.

Instances

Instances details
Functor []

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

fmap :: (a -> b) -> [a] -> [b] Source #

(<$) :: a -> [b] -> [a] Source #

Functor Maybe

Since: base-2.1

Instance details

Defined in GHC.Base

Functor IO

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

fmap :: (a -> b) -> IO a -> IO b Source #

(<$) :: a -> IO b -> IO a Source #

Functor Par1

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Functor Q
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

fmap :: (a -> b) -> Q a -> Q b Source #

(<$) :: a -> Q b -> Q a Source #

Functor Complex

Since: base-4.9.0.0

Instance details

Defined in Data.Complex

Functor Min

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

fmap :: (a -> b) -> Min a -> Min b Source #

(<$) :: a -> Min b -> Min a Source #

Functor Max

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

fmap :: (a -> b) -> Max a -> Max b Source #

(<$) :: a -> Max b -> Max a Source #

Functor First

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Functor Last

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Functor Option

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Functor ArgOrder

Since: base-4.6.0.0

Instance details

Defined in System.Console.GetOpt

Functor OptDescr

Since: base-4.6.0.0

Instance details

Defined in System.Console.GetOpt

Functor ArgDescr

Since: base-4.6.0.0

Instance details

Defined in System.Console.GetOpt

Functor ZipList

Since: base-2.1

Instance details

Defined in Control.Applicative

Functor Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Functor Handler

Since: base-4.6.0.0

Instance details

Defined in Control.Exception

Functor STM

Since: base-4.3.0.0

Instance details

Defined in GHC.Conc.Sync

Methods

fmap :: (a -> b) -> STM a -> STM b Source #

(<$) :: a -> STM b -> STM a Source #

Functor First

Since: base-4.8.0.0

Instance details

Defined in Data.Monoid

Functor Last

Since: base-4.8.0.0

Instance details

Defined in Data.Monoid

Functor Dual

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Functor Sum

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Methods

fmap :: (a -> b) -> Sum a -> Sum b Source #

(<$) :: a -> Sum b -> Sum a Source #

Functor Product

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Functor Down

Since: base-4.11.0.0

Instance details

Defined in Data.Ord

Functor ReadPrec

Since: base-2.1

Instance details

Defined in Text.ParserCombinators.ReadPrec

Functor ReadP

Since: base-2.1

Instance details

Defined in Text.ParserCombinators.ReadP

Functor NonEmpty

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Functor PutM
Instance details

Defined in Data.Binary.Put

Functor Decoder
Instance details

Defined in Data.Binary.Get.Internal

Functor Get
Instance details

Defined in Data.Binary.Get.Internal

Methods

fmap :: (a -> b) -> Get a -> Get b Source #

(<$) :: a -> Get b -> Get a Source #

Functor Put
Instance details

Defined in Data.ByteString.Builder.Internal

Methods

fmap :: (a -> b) -> Put a -> Put b Source #

(<$) :: a -> Put b -> Put a Source #

Functor IntMap
Instance details

Defined in Data.IntMap.Internal

Functor SCC

Since: containers-0.5.4

Instance details

Defined in Data.Graph

Methods

fmap :: (a -> b) -> SCC a -> SCC b Source #

(<$) :: a -> SCC b -> SCC a Source #

Functor Tree
Instance details

Defined in Data.Tree

Functor Seq
Instance details

Defined in Data.Sequence.Internal

Methods

fmap :: (a -> b) -> Seq a -> Seq b Source #

(<$) :: a -> Seq b -> Seq a Source #

Functor FingerTree
Instance details

Defined in Data.Sequence.Internal

Functor Digit
Instance details

Defined in Data.Sequence.Internal

Functor Node
Instance details

Defined in Data.Sequence.Internal

Functor Elem
Instance details

Defined in Data.Sequence.Internal

Functor ViewL
Instance details

Defined in Data.Sequence.Internal

Functor ViewR
Instance details

Defined in Data.Sequence.Internal

Functor Consumed
Instance details

Defined in Text.Parsec.Prim

Functor Doc
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Methods

fmap :: (a -> b) -> Doc a -> Doc b Source #

(<$) :: a -> Doc b -> Doc a Source #

Functor AnnotDetails
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Functor Span
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Functor P

Since: base-4.8.0.0

Instance details

Defined in Text.ParserCombinators.ReadP

Methods

fmap :: (a -> b) -> P a -> P b Source #

(<$) :: a -> P b -> P a Source #

Functor Option' Source #
Instance details

Defined in Distribution.Compat.Semigroup

Functor Last' Source #
Instance details

Defined in Distribution.Compat.Semigroup

Functor Condition Source #
Instance details

Defined in Distribution.Types.Condition

Functor Flag Source #
Instance details

Defined in Distribution.Simple.Flag

Functor Lex Source #
Instance details

Defined in Distribution.Fields.LexerMonad

Methods

fmap :: (a -> b) -> Lex a -> Lex b Source #

(<$) :: a -> Lex b -> Lex a Source #

Functor Name Source #
Instance details

Defined in Distribution.Fields.Field

Functor SectionArg Source #
Instance details

Defined in Distribution.Fields.Field

Functor FieldLine Source #
Instance details

Defined in Distribution.Fields.Field

Functor Field Source #
Instance details

Defined in Distribution.Fields.Field

Functor ParsecParser Source #
Instance details

Defined in Distribution.Parsec

Functor VersionRangeF Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

Functor ReadE Source #
Instance details

Defined in Distribution.ReadE

Functor AnnotatedId Source #
Instance details

Defined in Distribution.Types.AnnotatedId

Functor InstallDirs Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Functor LogProgress Source #
Instance details

Defined in Distribution.Utils.LogProgress

Functor GlobResult Source #
Instance details

Defined in Distribution.Simple.Glob

Functor CommandParse Source #
Instance details

Defined in Distribution.Simple.Command

Functor PrettyField Source #
Instance details

Defined in Distribution.Fields.Pretty

Functor ParseResult Source #
Instance details

Defined in Distribution.Fields.ParseResult

Functor Section Source #
Instance details

Defined in Distribution.FieldGrammar.Parsec

Functor NamelessField Source #
Instance details

Defined in Distribution.FieldGrammar.Parsec

Functor ( Either a)

Since: base-3.0

Instance details

Defined in Data.Either

Methods

fmap :: (a0 -> b) -> Either a a0 -> Either a b Source #

(<$) :: a0 -> Either a b -> Either a a0 Source #

Functor ( V1 :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

fmap :: (a -> b) -> V1 a -> V1 b Source #

(<$) :: a -> V1 b -> V1 a Source #

Functor ( U1 :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

fmap :: (a -> b) -> U1 a -> U1 b Source #

(<$) :: a -> U1 b -> U1 a Source #

Functor ( (,) a)

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

fmap :: (a0 -> b) -> (a, a0) -> (a, b) Source #

(<$) :: a0 -> (a, b) -> (a, a0) Source #

Functor ( ST s)

Since: base-2.1

Instance details

Defined in GHC.ST

Methods

fmap :: (a -> b) -> ST s a -> ST s b Source #

(<$) :: a -> ST s b -> ST s a Source #

Functor ( Array i)

Since: base-2.1

Instance details

Defined in GHC.Arr

Methods

fmap :: (a -> b) -> Array i a -> Array i b Source #

(<$) :: a -> Array i b -> Array i a Source #

Functor ( Arg a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

fmap :: (a0 -> b) -> Arg a a0 -> Arg a b Source #

(<$) :: a0 -> Arg a b -> Arg a a0 Source #

Monad m => Functor ( WrappedMonad m)

Since: base-2.1

Instance details

Defined in Control.Applicative

Arrow a => Functor ( ArrowMonad a)

Since: base-4.6.0.0

Instance details

Defined in Control.Arrow

Functor ( Proxy :: Type -> Type )

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Functor ( Map k)
Instance details

Defined in Data.Map.Internal

Methods

fmap :: (a -> b) -> Map k a -> Map k b Source #

(<$) :: a -> Map k b -> Map k a Source #

Functor m => Functor ( ListT m)
Instance details

Defined in Control.Monad.Trans.List

Methods

fmap :: (a -> b) -> ListT m a -> ListT m b Source #

(<$) :: a -> ListT m b -> ListT m a Source #

Functor m => Functor ( MaybeT m)
Instance details

Defined in Control.Monad.Trans.Maybe

Methods

fmap :: (a -> b) -> MaybeT m a -> MaybeT m b Source #

(<$) :: a -> MaybeT m b -> MaybeT m a Source #

Functor (SetM s)
Instance details

Defined in Data.Graph

Methods

fmap :: (a -> b) -> SetM s a -> SetM s b Source #

(<$) :: a -> SetM s b -> SetM s a Source #

Functor ( Node k) Source #
Instance details

Defined in Distribution.Compat.Graph

Methods

fmap :: (a -> b) -> Node k a -> Node k b Source #

(<$) :: a -> Node k b -> Node k a Source #

Functor ( PrettyFieldGrammar s) Source #
Instance details

Defined in Distribution.FieldGrammar.Pretty

Functor ( ParsecFieldGrammar s) Source #
Instance details

Defined in Distribution.FieldGrammar.Parsec

Functor ( FieldDescrs s) Source #
Instance details

Defined in Distribution.FieldGrammar.FieldDescrs

Functor f => Functor ( Rec1 f)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

fmap :: (a -> b) -> Rec1 f a -> Rec1 f b Source #

(<$) :: a -> Rec1 f b -> Rec1 f a Source #

Functor ( URec Char :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Functor ( URec Double :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Functor ( URec Float :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Functor ( URec Int :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Functor ( URec Word :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Functor ( URec ( Ptr ()) :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

fmap :: (a -> b) -> URec ( Ptr ()) a -> URec ( Ptr ()) b Source #

(<$) :: a -> URec ( Ptr ()) b -> URec ( Ptr ()) a Source #

Functor ( (,,) a b)

Since: base-4.14.0.0

Instance details

Defined in GHC.Base

Methods

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

(<$) :: a0 -> (a, b, b0) -> (a, b, a0) Source #

Arrow a => Functor ( WrappedArrow a b)

Since: base-2.1

Instance details

Defined in Control.Applicative

Functor m => Functor ( Kleisli m a)

Since: base-4.14.0.0

Instance details

Defined in Control.Arrow

Methods

fmap :: (a0 -> b) -> Kleisli m a a0 -> Kleisli m a b Source #

(<$) :: a0 -> Kleisli m a b -> Kleisli m a a0 Source #

Functor ( Const m :: Type -> Type )

Since: base-2.1

Instance details

Defined in Data.Functor.Const

Methods

fmap :: (a -> b) -> Const m a -> Const m b Source #

(<$) :: a -> Const m b -> Const m a Source #

Functor f => Functor ( Ap f)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Methods

fmap :: (a -> b) -> Ap f a -> Ap f b Source #

(<$) :: a -> Ap f b -> Ap f a Source #

Functor f => Functor ( Alt f)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Methods

fmap :: (a -> b) -> Alt f a -> Alt f b Source #

(<$) :: a -> Alt f b -> Alt f a Source #

( Applicative f, Monad f) => Functor ( WhenMissing f x)

Since: containers-0.5.9

Instance details

Defined in Data.IntMap.Internal

Functor m => Functor ( IdentityT m)
Instance details

Defined in Control.Monad.Trans.Identity

Functor m => Functor ( ErrorT e m)
Instance details

Defined in Control.Monad.Trans.Error

Methods

fmap :: (a -> b) -> ErrorT e m a -> ErrorT e m b Source #

(<$) :: a -> ErrorT e m b -> ErrorT e m a Source #

Functor m => Functor ( ExceptT e m)
Instance details

Defined in Control.Monad.Trans.Except

Methods

fmap :: (a -> b) -> ExceptT e m a -> ExceptT e m b Source #

(<$) :: a -> ExceptT e m b -> ExceptT e m a Source #

Functor m => Functor ( ReaderT r m)
Instance details

Defined in Control.Monad.Trans.Reader

Methods

fmap :: (a -> b) -> ReaderT r m a -> ReaderT r m b Source #

(<$) :: a -> ReaderT r m b -> ReaderT r m a Source #

Functor m => Functor ( StateT s m)
Instance details

Defined in Control.Monad.Trans.State.Lazy

Methods

fmap :: (a -> b) -> StateT s m a -> StateT s m b Source #

(<$) :: a -> StateT s m b -> StateT s m a Source #

Functor m => Functor ( StateT s m)
Instance details

Defined in Control.Monad.Trans.State.Strict

Methods

fmap :: (a -> b) -> StateT s m a -> StateT s m b Source #

(<$) :: a -> StateT s m b -> StateT s m a Source #

Functor m => Functor ( WriterT w m)
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

Methods

fmap :: (a -> b) -> WriterT w m a -> WriterT w m b Source #

(<$) :: a -> WriterT w m b -> WriterT w m a Source #

Functor m => Functor ( WriterT w m)
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Methods

fmap :: (a -> b) -> WriterT w m a -> WriterT w m b Source #

(<$) :: a -> WriterT w m b -> WriterT w m a Source #

Functor ( Reply s u)
Instance details

Defined in Text.Parsec.Prim

Methods

fmap :: (a -> b) -> Reply s u a -> Reply s u b Source #

(<$) :: a -> Reply s u b -> Reply s u a Source #

Functor ( Progress step fail) Source #
Instance details

Defined in Distribution.Utils.Progress

Methods

fmap :: (a -> b) -> Progress step fail a -> Progress step fail b Source #

(<$) :: a -> Progress step fail b -> Progress step fail a Source #

Functor ( Pretext a b) Source #
Instance details

Defined in Distribution.Compat.Lens

Methods

fmap :: (a0 -> b0) -> Pretext a b a0 -> Pretext a b b0 Source #

(<$) :: a0 -> Pretext a b b0 -> Pretext a b a0 Source #

Functor ( CondBranch v c) Source #
Instance details

Defined in Distribution.Types.CondTree

Functor ( CondTree v c) Source #
Instance details

Defined in Distribution.Types.CondTree

Methods

fmap :: (a -> b) -> CondTree v c a -> CondTree v c b Source #

(<$) :: a -> CondTree v c b -> CondTree v c a Source #

Functor ((->) r :: Type -> Type )

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

fmap :: (a -> b) -> (r -> a) -> r -> b Source #

(<$) :: a -> (r -> b) -> r -> a Source #

Functor ( K1 i c :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

fmap :: (a -> b) -> K1 i c a -> K1 i c b Source #

(<$) :: a -> K1 i c b -> K1 i c a Source #

( Functor f, Functor g) => Functor (f :+: g)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

fmap :: (a -> b) -> (f :+: g) a -> (f :+: g) b Source #

(<$) :: a -> (f :+: g) b -> (f :+: g) a Source #

( Functor f, Functor g) => Functor (f :*: g)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

fmap :: (a -> b) -> (f :*: g) a -> (f :*: g) b Source #

(<$) :: a -> (f :*: g) b -> (f :*: g) a Source #

Functor ( (,,,) a b c)

Since: base-4.14.0.0

Instance details

Defined in GHC.Base

Methods

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

(<$) :: a0 -> (a, b, c, b0) -> (a, b, c, a0) Source #

( Functor f, Functor g) => Functor ( Product f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

Methods

fmap :: (a -> b) -> Product f g a -> Product f g b Source #

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

( Functor f, Functor g) => Functor ( Sum f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Sum

Methods

fmap :: (a -> b) -> Sum f g a -> Sum f g b Source #

(<$) :: a -> Sum f g b -> Sum f g a Source #

Functor f => Functor ( WhenMatched f x y)

Since: containers-0.5.9

Instance details

Defined in Data.IntMap.Internal

Methods

fmap :: (a -> b) -> WhenMatched f x y a -> WhenMatched f x y b Source #

(<$) :: a -> WhenMatched f x y b -> WhenMatched f x y a Source #

( Applicative f, Monad f) => Functor ( WhenMissing f k x)

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

fmap :: (a -> b) -> WhenMissing f k x a -> WhenMissing f k x b Source #

(<$) :: a -> WhenMissing f k x b -> WhenMissing f k x a Source #

Functor ( ContT r m)
Instance details

Defined in Control.Monad.Trans.Cont

Methods

fmap :: (a -> b) -> ContT r m a -> ContT r m b Source #

(<$) :: a -> ContT r m b -> ContT r m a Source #

Functor ( ParsecT s u m)
Instance details

Defined in Text.Parsec.Prim

Methods

fmap :: (a -> b) -> ParsecT s u m a -> ParsecT s u m b Source #

(<$) :: a -> ParsecT s u m b -> ParsecT s u m a Source #

Functor f => Functor ( M1 i c f)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

fmap :: (a -> b) -> M1 i c f a -> M1 i c f b Source #

(<$) :: a -> M1 i c f b -> M1 i c f a Source #

( Functor f, Functor g) => Functor (f :.: g)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

fmap :: (a -> b) -> (f :.: g) a -> (f :.: g) b Source #

(<$) :: a -> (f :.: g) b -> (f :.: g) a Source #

( Functor f, Functor g) => Functor ( Compose f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Compose

Methods

fmap :: (a -> b) -> Compose f g a -> Compose f g b Source #

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

Functor f => Functor ( WhenMatched f k x y)

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

fmap :: (a -> b) -> WhenMatched f k x y a -> WhenMatched f k x y b Source #

(<$) :: a -> WhenMatched f k x y b -> WhenMatched f k x y a Source #

Functor m => Functor ( RWST r w s m)
Instance details

Defined in Control.Monad.Trans.RWS.Lazy

Methods

fmap :: (a -> b) -> RWST r w s m a -> RWST r w s m b Source #

(<$) :: a -> RWST r w s m b -> RWST r w s m a Source #

Functor m => Functor ( RWST r w s m)
Instance details

Defined in Control.Monad.Trans.RWS.Strict

Methods

fmap :: (a -> b) -> RWST r w s m a -> RWST r w s m b Source #

(<$) :: a -> RWST r w s m b -> RWST r w s m a Source #

class Num a where Source #

Basic numeric class.

The Haskell Report defines no laws for Num . However, ( + ) and ( * ) are customarily expected to define a ring and have the following properties:

Associativity of ( + )
(x + y) + z = x + (y + z)
Commutativity of ( + )
x + y = y + x
fromInteger 0 is the additive identity
x + fromInteger 0 = x
negate gives the additive inverse
x + negate x = fromInteger 0
Associativity of ( * )
(x * y) * z = x * (y * z)
fromInteger 1 is the multiplicative identity
x * fromInteger 1 = x and fromInteger 1 * x = x
Distributivity of ( * ) with respect to ( + )
a * (b + c) = (a * b) + (a * c) and (b + c) * a = (b * a) + (c * a)

Note that it isn't customarily expected that a type instance of both Num and Ord implement an ordered ring. Indeed, in base only Integer and Rational do.

Minimal complete definition

(+) , (*) , abs , signum , fromInteger , ( negate | (-) )

Methods

(+) :: a -> a -> a infixl 6 Source #

(-) :: a -> a -> a infixl 6 Source #

(*) :: a -> a -> a infixl 7 Source #

negate :: a -> a Source #

Unary negation.

abs :: a -> a Source #

Absolute value.

signum :: a -> a Source #

Sign of a number. The functions abs and signum should satisfy the law:

abs x * signum x == x

For real numbers, the signum is either -1 (negative), 0 (zero) or 1 (positive).

fromInteger :: Integer -> a Source #

Conversion from an Integer . An integer literal represents the application of the function fromInteger to the appropriate value of type Integer , so such literals have type ( Num a) => a .

Instances

Instances details
Num Int

Since: base-2.1

Instance details

Defined in GHC.Num

Num Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Num Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Num Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Num Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Num Integer

Since: base-2.1

Instance details

Defined in GHC.Num

Num Natural

Note that Natural 's Num instance isn't a ring: no element but 0 has an additive inverse. It is a semiring though.

Since: base-4.8.0.0

Instance details

Defined in GHC.Num

Num Word

Since: base-2.1

Instance details

Defined in GHC.Num

Num Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Num Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Num Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Num Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Num CDev
Instance details

Defined in System.Posix.Types

Num CIno
Instance details

Defined in System.Posix.Types

Num CMode
Instance details

Defined in System.Posix.Types

Num COff
Instance details

Defined in System.Posix.Types

Num CPid
Instance details

Defined in System.Posix.Types

Num CSsize
Instance details

Defined in System.Posix.Types

Num CGid
Instance details

Defined in System.Posix.Types

Num CNlink
Instance details

Defined in System.Posix.Types

Num CUid
Instance details

Defined in System.Posix.Types

Num CCc
Instance details

Defined in System.Posix.Types

Num CSpeed
Instance details

Defined in System.Posix.Types

Num CTcflag
Instance details

Defined in System.Posix.Types

Num CRLim
Instance details

Defined in System.Posix.Types

Num CBlkSize
Instance details

Defined in System.Posix.Types

Num CBlkCnt
Instance details

Defined in System.Posix.Types

Num CClockId
Instance details

Defined in System.Posix.Types

Num CFsBlkCnt
Instance details

Defined in System.Posix.Types

Num CFsFilCnt
Instance details

Defined in System.Posix.Types

Num CId
Instance details

Defined in System.Posix.Types

Num CKey
Instance details

Defined in System.Posix.Types

Num CSocklen
Instance details

Defined in System.Posix.Types

Num CNfds
Instance details

Defined in System.Posix.Types

Num Fd
Instance details

Defined in System.Posix.Types

Num CChar
Instance details

Defined in Foreign.C.Types

Num CSChar
Instance details

Defined in Foreign.C.Types

Num CUChar
Instance details

Defined in Foreign.C.Types

Num CShort
Instance details

Defined in Foreign.C.Types

Num CUShort
Instance details

Defined in Foreign.C.Types

Num CInt
Instance details

Defined in Foreign.C.Types

Num CUInt
Instance details

Defined in Foreign.C.Types

Num CLong
Instance details

Defined in Foreign.C.Types

Num CULong
Instance details

Defined in Foreign.C.Types

Num CLLong
Instance details

Defined in Foreign.C.Types

Num CULLong
Instance details

Defined in Foreign.C.Types

Num CBool
Instance details

Defined in Foreign.C.Types

Num CFloat
Instance details

Defined in Foreign.C.Types

Num CDouble
Instance details

Defined in Foreign.C.Types

Num CPtrdiff
Instance details

Defined in Foreign.C.Types

Num CSize
Instance details

Defined in Foreign.C.Types

Num CWchar
Instance details

Defined in Foreign.C.Types

Num CSigAtomic
Instance details

Defined in Foreign.C.Types

Num CClock
Instance details

Defined in Foreign.C.Types

Num CTime
Instance details

Defined in Foreign.C.Types

Num CUSeconds
Instance details

Defined in Foreign.C.Types

Num CSUSeconds
Instance details

Defined in Foreign.C.Types

Num CIntPtr
Instance details

Defined in Foreign.C.Types

Num CUIntPtr
Instance details

Defined in Foreign.C.Types

Num CIntMax
Instance details

Defined in Foreign.C.Types

Num CUIntMax
Instance details

Defined in Foreign.C.Types

Num WordPtr
Instance details

Defined in Foreign.Ptr

Num IntPtr
Instance details

Defined in Foreign.Ptr

Num NominalDiffTime
Instance details

Defined in Data.Time.Clock.Internal.NominalDiffTime

Num DiffTime
Instance details

Defined in Data.Time.Clock.Internal.DiffTime

Integral a => Num ( Ratio a)

Since: base-2.0.1

Instance details

Defined in GHC.Real

RealFloat a => Num ( Complex a)

Since: base-2.1

Instance details

Defined in Data.Complex

Num a => Num ( Min a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Num a => Num ( Max a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Num a => Num ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Num a => Num ( Sum a)

Since: base-4.7.0.0

Instance details

Defined in Data.Semigroup.Internal

Num a => Num ( Product a)

Since: base-4.7.0.0

Instance details

Defined in Data.Semigroup.Internal

Num a => Num ( Down a)

Since: base-4.11.0.0

Instance details

Defined in Data.Ord

HasResolution a => Num ( Fixed a)

Since: base-2.1

Instance details

Defined in Data.Fixed

Num a => Num ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

( Applicative f, Num a) => Num ( Ap f a)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Num (f a) => Num ( Alt f a)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

class Eq a => Ord a where Source #

The Ord class is used for totally ordered datatypes.

Instances of Ord can be derived for any user-defined datatype whose constituent types are in Ord . The declared order of the constructors in the data declaration determines the ordering in derived Ord instances. The Ordering datatype allows a single comparison to determine the precise ordering of two objects.

The Haskell Report defines no laws for Ord . However, <= is customarily expected to implement a non-strict partial order and have the following properties:

Transitivity
if x <= y && y <= z = True , then x <= z = True
Reflexivity
x <= x = True
Antisymmetry
if x <= y && y <= x = True , then x == y = True

Note that the following operator interactions are expected to hold:

  1. x >= y = y <= x
  2. x < y = x <= y && x /= y
  3. x > y = y < x
  4. x < y = compare x y == LT
  5. x > y = compare x y == GT
  6. x == y = compare x y == EQ
  7. min x y == if x <= y then x else y = True
  8. max x y == if x >= y then x else y = True

Note that (7.) and (8.) do not require min and max to return either of their arguments. The result is merely required to equal one of the arguments in terms of (==) .

Minimal complete definition: either compare or <= . Using compare can be more efficient for complex types.

Minimal complete definition

compare | (<=)

Methods

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

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

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

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

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

max :: a -> a -> a Source #

min :: a -> a -> a Source #

Instances

Instances details
Ord Bool
Instance details

Defined in GHC.Classes

Ord Char
Instance details

Defined in GHC.Classes

Ord Double

Note that due to the presence of NaN , Double 's Ord instance does not satisfy reflexivity.

>>> 0/0 <= (0/0 :: Double)
False

Also note that, due to the same, Ord 's operator interactions are not respected by Double 's instance:

>>> (0/0 :: Double) > 1
False
>>> compare (0/0 :: Double) 1
GT
Instance details

Defined in GHC.Classes

Ord Float

Note that due to the presence of NaN , Float 's Ord instance does not satisfy reflexivity.

>>> 0/0 <= (0/0 :: Float)
False

Also note that, due to the same, Ord 's operator interactions are not respected by Float 's instance:

>>> (0/0 :: Float) > 1
False
>>> compare (0/0 :: Float) 1
GT
Instance details

Defined in GHC.Classes

Ord Int
Instance details

Defined in GHC.Classes

Ord Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Ord Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Ord Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Ord Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Ord Integer
Instance details

Defined in GHC.Integer.Type

Ord Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Natural

Ord Ordering
Instance details

Defined in GHC.Classes

Ord Word
Instance details

Defined in GHC.Classes

Ord Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Ord Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Ord Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Ord Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Ord SomeTypeRep
Instance details

Defined in Data.Typeable.Internal

Ord Exp
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Match
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Clause
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Pat
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Type
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Dec
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Name
Instance details

Defined in Language.Haskell.TH.Syntax

Ord FunDep
Instance details

Defined in Language.Haskell.TH.Syntax

Ord InjectivityAnn
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Overlap
Instance details

Defined in Language.Haskell.TH.Syntax

Ord ()
Instance details

Defined in GHC.Classes

Ord TyCon
Instance details

Defined in GHC.Classes

Ord Void

Since: base-4.8.0.0

Instance details

Defined in Data.Void

Ord Unique
Instance details

Defined in Data.Unique

Ord Version

Since: base-2.1

Instance details

Defined in Data.Version

Ord ThreadId

Since: base-4.2.0.0

Instance details

Defined in GHC.Conc.Sync

Ord BlockReason

Since: base-4.3.0.0

Instance details

Defined in GHC.Conc.Sync

Ord ThreadStatus

Since: base-4.3.0.0

Instance details

Defined in GHC.Conc.Sync

Ord CDev
Instance details

Defined in System.Posix.Types

Ord CIno
Instance details

Defined in System.Posix.Types

Ord CMode
Instance details

Defined in System.Posix.Types

Ord COff
Instance details

Defined in System.Posix.Types

Ord CPid
Instance details

Defined in System.Posix.Types

Ord CSsize
Instance details

Defined in System.Posix.Types

Ord CGid
Instance details

Defined in System.Posix.Types

Ord CNlink
Instance details

Defined in System.Posix.Types

Ord CUid
Instance details

Defined in System.Posix.Types

Ord CCc
Instance details

Defined in System.Posix.Types

Ord CSpeed
Instance details

Defined in System.Posix.Types

Ord CTcflag
Instance details

Defined in System.Posix.Types

Ord CRLim
Instance details

Defined in System.Posix.Types

Ord CBlkSize
Instance details

Defined in System.Posix.Types

Ord CBlkCnt
Instance details

Defined in System.Posix.Types

Ord CClockId
Instance details

Defined in System.Posix.Types

Ord CFsBlkCnt
Instance details

Defined in System.Posix.Types

Ord CFsFilCnt
Instance details

Defined in System.Posix.Types

Ord CId
Instance details

Defined in System.Posix.Types

Ord CKey
Instance details

Defined in System.Posix.Types

Ord CSocklen
Instance details

Defined in System.Posix.Types

Ord CNfds
Instance details

Defined in System.Posix.Types

Ord Fd
Instance details

Defined in System.Posix.Types

Ord AsyncException

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Exception

Ord ArrayException

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Exception

Ord ExitCode
Instance details

Defined in GHC.IO.Exception

Ord BufferMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Handle.Types

Ord Newline

Since: base-4.3.0.0

Instance details

Defined in GHC.IO.Handle.Types

Ord NewlineMode

Since: base-4.3.0.0

Instance details

Defined in GHC.IO.Handle.Types

Ord SeekMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Device

Ord ErrorCall

Since: base-4.7.0.0

Instance details

Defined in GHC.Exception

Ord ArithException

Since: base-3.0

Instance details

Defined in GHC.Exception.Type

Ord All

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Ord Any

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Ord Fixity

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Ord Associativity

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Ord SourceUnpackedness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Ord SourceStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Ord DecidedStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Ord SomeSymbol

Since: base-4.7.0.0

Instance details

Defined in GHC.TypeLits

Ord CChar
Instance details

Defined in Foreign.C.Types

Ord CSChar
Instance details

Defined in Foreign.C.Types

Ord CUChar
Instance details

Defined in Foreign.C.Types

Ord CShort
Instance details

Defined in Foreign.C.Types

Ord CUShort
Instance details

Defined in Foreign.C.Types

Ord CInt
Instance details

Defined in Foreign.C.Types

Ord CUInt
Instance details

Defined in Foreign.C.Types

Ord CLong
Instance details

Defined in Foreign.C.Types

Ord CULong
Instance details

Defined in Foreign.C.Types

Ord CLLong
Instance details

Defined in Foreign.C.Types

Ord CULLong
Instance details

Defined in Foreign.C.Types

Ord CBool
Instance details

Defined in Foreign.C.Types

Ord CFloat
Instance details

Defined in Foreign.C.Types

Ord CDouble
Instance details

Defined in Foreign.C.Types

Ord CPtrdiff
Instance details

Defined in Foreign.C.Types

Ord CSize
Instance details

Defined in Foreign.C.Types

Ord CWchar
Instance details

Defined in Foreign.C.Types

Ord CSigAtomic
Instance details

Defined in Foreign.C.Types

Ord CClock
Instance details

Defined in Foreign.C.Types

Ord CTime
Instance details

Defined in Foreign.C.Types

Ord CUSeconds
Instance details

Defined in Foreign.C.Types

Ord CSUSeconds
Instance details

Defined in Foreign.C.Types

Ord CIntPtr
Instance details

Defined in Foreign.C.Types

Ord CUIntPtr
Instance details

Defined in Foreign.C.Types

Ord CIntMax
Instance details

Defined in Foreign.C.Types

Ord CUIntMax
Instance details

Defined in Foreign.C.Types

Ord WordPtr
Instance details

Defined in Foreign.Ptr

Ord IntPtr
Instance details

Defined in Foreign.Ptr

Ord IOMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.IOMode

Ord Fingerprint

Since: base-4.4.0.0

Instance details

Defined in GHC.Fingerprint.Type

Ord GeneralCategory

Since: base-2.1

Instance details

Defined in GHC.Unicode

Ord ShortByteString
Instance details

Defined in Data.ByteString.Short.Internal

Ord ByteString
Instance details

Defined in Data.ByteString.Lazy.Internal

Ord ByteString
Instance details

Defined in Data.ByteString.Internal

Ord IntSet
Instance details

Defined in Data.IntSet.Internal

Ord FileType
Instance details

Defined in System.Directory.Internal.Common

Ord Permissions
Instance details

Defined in System.Directory.Internal.Common

Ord XdgDirectory
Instance details

Defined in System.Directory.Internal.Common

Ord XdgDirectoryList
Instance details

Defined in System.Directory.Internal.Common

Ord BigNat
Instance details

Defined in GHC.Integer.Type

Ord Message
Instance details

Defined in Text.Parsec.Error

Ord SourcePos
Instance details

Defined in Text.Parsec.Pos

Ord ModName
Instance details

Defined in Language.Haskell.TH.Syntax

Ord PkgName
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Module
Instance details

Defined in Language.Haskell.TH.Syntax

Ord OccName
Instance details

Defined in Language.Haskell.TH.Syntax

Ord NameFlavour
Instance details

Defined in Language.Haskell.TH.Syntax

Ord NameSpace
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Loc
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Info
Instance details

Defined in Language.Haskell.TH.Syntax

Ord ModuleInfo
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Fixity
Instance details

Defined in Language.Haskell.TH.Syntax

Ord FixityDirection
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Lit
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Bytes
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Body
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Guard
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Stmt
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Range
Instance details

Defined in Language.Haskell.TH.Syntax

Ord DerivClause
Instance details

Defined in Language.Haskell.TH.Syntax

Ord DerivStrategy
Instance details

Defined in Language.Haskell.TH.Syntax

Ord TypeFamilyHead
Instance details

Defined in Language.Haskell.TH.Syntax

Ord TySynEqn
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Foreign
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Callconv
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Safety
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Pragma
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Inline
Instance details

Defined in Language.Haskell.TH.Syntax

Ord RuleMatch
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Phases
Instance details

Defined in Language.Haskell.TH.Syntax

Ord RuleBndr
Instance details

Defined in Language.Haskell.TH.Syntax

Ord AnnTarget
Instance details

Defined in Language.Haskell.TH.Syntax

Ord SourceUnpackedness
Instance details

Defined in Language.Haskell.TH.Syntax

Ord SourceStrictness
Instance details

Defined in Language.Haskell.TH.Syntax

Ord DecidedStrictness
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Con
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Bang
Instance details

Defined in Language.Haskell.TH.Syntax

Ord PatSynDir
Instance details

Defined in Language.Haskell.TH.Syntax

Ord PatSynArgs
Instance details

Defined in Language.Haskell.TH.Syntax

Ord TyVarBndr
Instance details

Defined in Language.Haskell.TH.Syntax

Ord FamilyResultSig
Instance details

Defined in Language.Haskell.TH.Syntax

Ord TyLit
Instance details

Defined in Language.Haskell.TH.Syntax

Ord Role
Instance details

Defined in Language.Haskell.TH.Syntax

Ord AnnLookup
Instance details

Defined in Language.Haskell.TH.Syntax

Ord LocalTime
Instance details

Defined in Data.Time.LocalTime.Internal.LocalTime

Ord TimeOfDay
Instance details

Defined in Data.Time.LocalTime.Internal.TimeOfDay

Ord TimeZone
Instance details

Defined in Data.Time.LocalTime.Internal.TimeZone

Ord UniversalTime
Instance details

Defined in Data.Time.Clock.Internal.UniversalTime

Ord UTCTime
Instance details

Defined in Data.Time.Clock.Internal.UTCTime

Ord NominalDiffTime
Instance details

Defined in Data.Time.Clock.Internal.NominalDiffTime

Ord DiffTime
Instance details

Defined in Data.Time.Clock.Internal.DiffTime

Ord Day
Instance details

Defined in Data.Time.Calendar.Days

Ord Structure Source #
Instance details

Defined in Distribution.Utils.Structured

Ord ShortText Source #
Instance details

Defined in Distribution.Utils.ShortText

Ord PathTemplateVariable Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Ord PathComponent Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Ord Position Source #
Instance details

Defined in Distribution.Parsec.Position

Ord PWarnType Source #
Instance details

Defined in Distribution.Parsec.Warning

Ord LexWarningType Source #
Instance details

Defined in Distribution.Fields.LexerMonad

Ord CabalSpecVersion Source #
Instance details

Defined in Distribution.CabalSpecVersion

Ord LicenseListVersion Source #
Instance details

Defined in Distribution.SPDX.LicenseListVersion

Ord Version Source #
Instance details

Defined in Distribution.Types.Version

Ord UpperBound Source #
Instance details

Defined in Distribution.Types.VersionInterval

Ord LowerBound Source #
Instance details

Defined in Distribution.Types.VersionInterval

Ord RepoType Source #
Instance details

Defined in Distribution.Types.SourceRepo

Ord RepoKind Source #
Instance details

Defined in Distribution.Types.SourceRepo

Ord SourceRepo Source #
Instance details

Defined in Distribution.Types.SourceRepo

Ord PkgconfigVersion Source #
Instance details

Defined in Distribution.Types.PkgconfigVersion

Ord PkgconfigName Source #
Instance details

Defined in Distribution.Types.PkgconfigName

Ord PackageName Source #
Instance details

Defined in Distribution.Types.PackageName

Ord UnqualComponentName Source #
Instance details

Defined in Distribution.Types.UnqualComponentName

Ord LibraryName Source #
Instance details

Defined in Distribution.Types.LibraryName

Ord MungedPackageName Source #
Instance details

Defined in Distribution.Types.MungedPackageName

Ord FlagAssignment Source #
Instance details

Defined in Distribution.Types.Flag

Ord FlagName Source #
Instance details

Defined in Distribution.Types.Flag

Ord ComponentName Source #
Instance details

Defined in Distribution.Types.ComponentName

Ord ComponentId Source #
Instance details

Defined in Distribution.Types.ComponentId

Ord Platform Source #
Instance details

Defined in Distribution.System

Ord Arch Source #
Instance details

Defined in Distribution.System

Ord OS Source #
Instance details

Defined in Distribution.System

Ord LicenseRef Source #
Instance details

Defined in Distribution.SPDX.LicenseReference

Ord LicenseId Source #
Instance details

Defined in Distribution.SPDX.LicenseId

Ord LicenseExceptionId Source #
Instance details

Defined in Distribution.SPDX.LicenseExceptionId

Ord SimpleLicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Ord LicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Ord License Source #
Instance details

Defined in Distribution.SPDX.License

Ord ModuleName Source #
Instance details

Defined in Distribution.ModuleName

Ord ModuleRenaming Source #
Instance details

Defined in Distribution.Types.ModuleRenaming

Ord IncludeRenaming Source #
Instance details

Defined in Distribution.Types.IncludeRenaming

Ord Mixin Source #
Instance details

Defined in Distribution.Types.Mixin

Ord VerbosityFlag Source #
Instance details

Defined in Distribution.Verbosity.Internal

Ord VerbosityLevel Source #
Instance details

Defined in Distribution.Verbosity.Internal

Ord Verbosity Source #
Instance details

Defined in Distribution.Verbosity

Ord PackageIdentifier Source #
Instance details

Defined in Distribution.Types.PackageId

Ord DefUnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Ord UnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Ord Module Source #
Instance details

Defined in Distribution.Types.Module

Ord OpenModule Source #
Instance details

Defined in Distribution.Backpack

Ord OpenUnitId Source #
Instance details

Defined in Distribution.Backpack

Ord MungedPackageId Source #
Instance details

Defined in Distribution.Types.MungedPackageId

Ord KnownExtension Source #
Instance details

Defined in Language.Haskell.Extension

Ord Extension Source #
Instance details

Defined in Language.Haskell.Extension

Ord CompilerId Source #
Instance details

Defined in Distribution.Compiler

Ord CompilerFlavor Source #
Instance details

Defined in Distribution.Compiler

Ord LibVersionInfo Source #
Instance details

Defined in Distribution.Types.ForeignLib

Ord PathTemplate Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Ord PackageDB Source #
Instance details

Defined in Distribution.Simple.Compiler

Ord TestShowDetails Source #
Instance details

Defined in Distribution.Simple.Setup

Ord UserBuildTarget Source #
Instance details

Defined in Distribution.Simple.BuildTarget

Ord PackageCheck Source #
Instance details

Defined in Distribution.PackageDescription.Check

Ord GhcEnvironmentFileEntry Source #
Instance details

Defined in Distribution.Simple.GHC.Internal

Ord ModTime Source #
Instance details

Defined in Distribution.Compat.Time

Ord a => Ord [a]
Instance details

Defined in GHC.Classes

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 #

Ord a => Ord ( Maybe a)

Since: base-2.1

Instance details

Defined in GHC.Maybe

Integral a => Ord ( Ratio a)

Since: base-2.0.1

Instance details

Defined in GHC.Real

Ord ( Ptr a)

Since: base-2.1

Instance details

Defined in GHC.Ptr

Ord ( FunPtr a)
Instance details

Defined in GHC.Ptr

Ord p => Ord ( Par1 p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Ord ( ForeignPtr a)

Since: base-2.1

Instance details

Defined in GHC.ForeignPtr

Ord a => Ord ( Min a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Ord a => Ord ( Max a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Ord a => Ord ( First a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Ord a => Ord ( Last a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Ord m => Ord ( WrappedMonoid m)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Ord a => Ord ( Option a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Ord a => Ord ( ZipList a)

Since: base-4.7.0.0

Instance details

Defined in Control.Applicative

Ord a => Ord ( Identity a)

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Ord a => Ord ( First a)

Since: base-2.1

Instance details

Defined in Data.Monoid

Ord a => Ord ( Last a)

Since: base-2.1

Instance details

Defined in Data.Monoid

Ord a => Ord ( Dual a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Ord a => Ord ( Sum a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Ord a => Ord ( Product a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Ord a => Ord ( Down a)

Since: base-4.6.0.0

Instance details

Defined in Data.Ord

Ord a => Ord ( NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Ord a => Ord ( IntMap a)
Instance details

Defined in Data.IntMap.Internal

Ord a => Ord ( Tree a)

Since: containers-0.6.5

Instance details

Defined in Data.Tree

Ord a => Ord ( Seq a)
Instance details

Defined in Data.Sequence.Internal

Ord a => Ord ( ViewL a)
Instance details

Defined in Data.Sequence.Internal

Ord a => Ord ( ViewR a)
Instance details

Defined in Data.Sequence.Internal

Ord a => Ord ( Set a)
Instance details

Defined in Data.Set.Internal

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

Defined in Distribution.Compat.Semigroup

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

Defined in Distribution.Compat.Semigroup

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

Defined in Distribution.Compat.Semigroup

Ord id => Ord ( AnnotatedId id) Source #
Instance details

Defined in Distribution.Types.AnnotatedId

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

Defined in Distribution.Simple.Glob

( Ord a, Ord b) => Ord ( Either a b)

Since: base-2.1

Instance details

Defined in Data.Either

Ord ( V1 p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Ord ( U1 p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Ord ( TypeRep a)

Since: base-4.4.0.0

Instance details

Defined in Data.Typeable.Internal

( Ord a, Ord b) => Ord (a, b)
Instance details

Defined in GHC.Classes

Methods

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

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

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

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

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

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

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

( Ix ix, Ord e, IArray UArray e) => Ord ( UArray ix e)
Instance details

Defined in Data.Array.Base

( Ix i, Ord e) => Ord ( Array i e)

Since: base-2.1

Instance details

Defined in GHC.Arr

Ord ( Fixed a)

Since: base-2.1

Instance details

Defined in Data.Fixed

Ord a => Ord ( Arg a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Ord ( Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

( Ord k, Ord v) => Ord ( Map k v)
Instance details

Defined in Data.Map.Internal

( Ord1 m, Ord a) => Ord ( ListT m a)
Instance details

Defined in Control.Monad.Trans.List

( Ord1 m, Ord a) => Ord ( MaybeT m a)
Instance details

Defined in Control.Monad.Trans.Maybe

Ord (f p) => Ord ( Rec1 f p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Ord ( URec ( Ptr ()) p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Ord ( URec Char p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Ord ( URec Double p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Ord ( URec Float p)
Instance details

Defined in GHC.Generics

Ord ( URec Int p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Ord ( URec Word p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

( Ord a, Ord b, Ord c) => Ord (a, b, c)
Instance details

Defined in GHC.Classes

Methods

compare :: (a, b, c) -> (a, b, c) -> Ordering Source #

(<) :: (a, b, c) -> (a, b, c) -> Bool Source #

(<=) :: (a, b, c) -> (a, b, c) -> Bool Source #

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

(>=) :: (a, b, c) -> (a, b, c) -> Bool Source #

max :: (a, b, c) -> (a, b, c) -> (a, b, c) Source #

min :: (a, b, c) -> (a, b, c) -> (a, b, c) Source #

Ord a => Ord ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Ord (f a) => Ord ( Ap f a)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Ord (f a) => Ord ( Alt f a)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Ord ( Coercion a b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Coercion

Ord (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Equality

( Ord1 f, Ord a) => Ord ( IdentityT f a)
Instance details

Defined in Control.Monad.Trans.Identity

( Ord e, Ord1 m, Ord a) => Ord ( ErrorT e m a)
Instance details

Defined in Control.Monad.Trans.Error

( Ord e, Ord1 m, Ord a) => Ord ( ExceptT e m a)
Instance details

Defined in Control.Monad.Trans.Except

( Ord w, Ord1 m, Ord a) => Ord ( WriterT w m a)
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

( Ord w, Ord1 m, Ord a) => Ord ( WriterT w m a)
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Ord c => Ord ( K1 i c p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

( Ord (f p), Ord (g p)) => Ord ((f :+: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Methods

compare :: (f :+: g) p -> (f :+: g) p -> Ordering Source #

(<) :: (f :+: g) p -> (f :+: g) p -> Bool Source #

(<=) :: (f :+: g) p -> (f :+: g) p -> Bool Source #

(>) :: (f :+: g) p -> (f :+: g) p -> Bool Source #

(>=) :: (f :+: g) p -> (f :+: g) p -> Bool Source #

max :: (f :+: g) p -> (f :+: g) p -> (f :+: g) p Source #

min :: (f :+: g) p -> (f :+: g) p -> (f :+: g) p Source #

( Ord (f p), Ord (g p)) => Ord ((f :*: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Methods

compare :: (f :*: g) p -> (f :*: g) p -> Ordering Source #

(<) :: (f :*: g) p -> (f :*: g) p -> Bool Source #

(<=) :: (f :*: g) p -> (f :*: g) p -> Bool Source #

(>) :: (f :*: g) p -> (f :*: g) p -> Bool Source #

(>=) :: (f :*: g) p -> (f :*: g) p -> Bool Source #

max :: (f :*: g) p -> (f :*: g) p -> (f :*: g) p Source #

min :: (f :*: g) p -> (f :*: g) p -> (f :*: g) p Source #

( Ord a, Ord b, Ord c, Ord d) => Ord (a, b, c, d)
Instance details

Defined in GHC.Classes

Methods

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

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

(<=) :: (a, b, c, d) -> (a, b, c, d) -> Bool Source #

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

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

max :: (a, b, c, d) -> (a, b, c, d) -> (a, b, c, d) Source #

min :: (a, b, c, d) -> (a, b, c, d) -> (a, b, c, d) Source #

( Ord1 f, Ord1 g, Ord a) => Ord ( Product f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

( Ord1 f, Ord1 g, Ord a) => Ord ( Sum f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Sum

Ord (a :~~: b)

Since: base-4.10.0.0

Instance details

Defined in Data.Type.Equality

Ord (f p) => Ord ( M1 i c f p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Methods

compare :: M1 i c f p -> M1 i c f p -> Ordering Source #

(<) :: M1 i c f p -> M1 i c f p -> Bool Source #

(<=) :: M1 i c f p -> M1 i c f p -> Bool Source #

(>) :: M1 i c f p -> M1 i c f p -> Bool Source #

(>=) :: M1 i c f p -> M1 i c f p -> Bool Source #

max :: M1 i c f p -> M1 i c f p -> M1 i c f p Source #

min :: M1 i c f p -> M1 i c f p -> M1 i c f p Source #

Ord (f (g p)) => Ord ((f :.: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Methods

compare :: (f :.: g) p -> (f :.: g) p -> Ordering Source #

(<) :: (f :.: g) p -> (f :.: g) p -> Bool Source #

(<=) :: (f :.: g) p -> (f :.: g) p -> Bool Source #

(>) :: (f :.: g) p -> (f :.: g) p -> Bool Source #

(>=) :: (f :.: g) p -> (f :.: g) p -> Bool Source #

max :: (f :.: g) p -> (f :.: g) p -> (f :.: g) p Source #

min :: (f :.: g) p -> (f :.: g) p -> (f :.: g) p Source #

( Ord a, Ord b, Ord c, Ord d, Ord e) => Ord (a, b, c, d, e)
Instance details

Defined in GHC.Classes

Methods

compare :: (a, b, c, d, e) -> (a, b, c, d, e) -> Ordering Source #

(<) :: (a, b, c, d, e) -> (a, b, c, d, e) -> Bool Source #

(<=) :: (a, b, c, d, e) -> (a, b, c, d, e) -> Bool Source #

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

(>=) :: (a, b, c, d, e) -> (a, b, c, d, e) -> Bool Source #

max :: (a, b, c, d, e) -> (a, b, c, d, e) -> (a, b, c, d, e) Source #

min :: (a, b, c, d, e) -> (a, b, c, d, e) -> (a, b, c, d, e) Source #

( Ord1 f, Ord1 g, Ord a) => Ord ( Compose f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Compose

( Ord a, Ord b, Ord c, Ord d, Ord e, Ord f) => Ord (a, b, c, d, e, f)
Instance details

Defined in GHC.Classes

Methods

compare :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> Ordering Source #

(<) :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> Bool Source #

(<=) :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> Bool Source #

(>) :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> Bool Source #

(>=) :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> Bool Source #

max :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

min :: (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

( Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g) => Ord (a, b, c, d, e, f, g)
Instance details

Defined in GHC.Classes

Methods

compare :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> Ordering Source #

(<) :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> Bool Source #

(<=) :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> Bool Source #

(>) :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> Bool Source #

(>=) :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> Bool Source #

max :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

min :: (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

( Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h) => Ord (a, b, c, d, e, f, g, h)
Instance details

Defined in GHC.Classes

Methods

compare :: (a, b, c, d, e, f, g, h) -> (a, b, c, d, e, f, g, h) -> Ordering Source #

(<) :: (a, b, c, d, e, f, g, h) -> (a, b, c, d, e, f, g, h) -> Bool Source #

(<=) :: (a, b, c, d, e, f, g, h) -> (a, b, c, d, e, f, g, h) -> Bool Source #

(>) :: (a, b, c, d, e, f, g, h) -> (a, b, c, d, e, f, g, h) -> Bool Source #

(>=) :: (a, b, c, d, e, f, g, h) -> (a, b, c, d, e, f, g, h) -> Bool Source #

max :: (a, b, c, d, e, f, g, h) -> (a, b, c, d, e, f, g, h) -> (a, b, c, d, e, f, g, h) Source #

min :: (a, b, c, d, e, f, g, h) -> (a, b, c, d, e, f, g, h) -> (a, b, c, d, e, f, g, h) Source #

( Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i) => Ord (a, b, c, d, e, f, g, h, i)
Instance details

Defined in GHC.Classes

Methods

compare :: (a, b, c, d, e, f, g, h, i) -> (a, b, c, d, e, f, g, h, i) -> Ordering Source #

(<) :: (a, b, c, d, e, f, g, h, i) -> (a, b, c, d, e, f, g, h, i) -> Bool Source #

(<=) :: (a, b, c, d, e, f, g, h, i) -> (a, b, c, d, e, f, g, h, i) -> Bool Source #

(>) :: (a, b, c, d, e, f, g, h, i) -> (a, b, c, d, e, f, g, h, i) -> Bool Source #

(>=) :: (a, b, c, d, e, f, g, h, i) -> (a, b, c, d, e, f, g, h, i) -> Bool Source #

max :: (a, b, c, d, e, f, g, h, i) -> (a, b, c, d, e, f, g, h, i) -> (a, b, c, d, e, f, g, h, i) Source #

min :: (a, b, c, d, e, f, g, h, i) -> (a, b, c, d, e, f, g, h, i) -> (a, b, c, d, e, f, g, h, i) Source #

( Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i, Ord j) => Ord (a, b, c, d, e, f, g, h, i, j)
Instance details

Defined in GHC.Classes

Methods

compare :: (a, b, c, d, e, f, g, h, i, j) -> (a, b, c, d, e, f, g, h, i, j) -> Ordering Source #

(<) :: (a, b, c, d, e, f, g, h, i, j) -> (a, b, c, d, e, f, g, h, i, j) -> Bool Source #

(<=) :: (a, b, c, d, e, f, g, h, i, j) -> (a, b, c, d, e, f, g, h, i, j) -> Bool Source #

(>) :: (a, b, c, d, e, f, g, h, i, j) -> (a, b, c, d, e, f, g, h, i, j) -> Bool Source #

(>=) :: (a, b, c, d, e, f, g, h, i, j) -> (a, b, c, d, e, f, g, h, i, j) -> Bool Source #

max :: (a, b, c, d, e, f, g, h, i, j) -> (a, b, c, d, e, f, g, h, i, j) -> (a, b, c, d, e, f, g, h, i, j) Source #

min :: (a, b, c, d, e, f, g, h, i, j) -> (a, b, c, d, e, f, g, h, i, j) -> (a, b, c, d, e, f, g, h, i, j) Source #

( Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i, Ord j, Ord k) => Ord (a, b, c, d, e, f, g, h, i, j, k)
Instance details

Defined in GHC.Classes

Methods

compare :: (a, b, c, d, e, f, g, h, i, j, k) -> (a, b, c, d, e, f, g, h, i, j, k) -> Ordering Source #

(<) :: (a, b, c, d, e, f, g, h, i, j, k) -> (a, b, c, d, e, f, g, h, i, j, k) -> Bool Source #

(<=) :: (a, b, c, d, e, f, g, h, i, j, k) -> (a, b, c, d, e, f, g, h, i, j, k) -> Bool Source #

(>) :: (a, b, c, d, e, f, g, h, i, j, k) -> (a, b, c, d, e, f, g, h, i, j, k) -> Bool Source #

(>=) :: (a, b, c, d, e, f, g, h, i, j, k) -> (a, b, c, d, e, f, g, h, i, j, k) -> Bool Source #

max :: (a, b, c, d, e, f, g, h, i, j, k) -> (a, b, c, d, e, f, g, h, i, j, k) -> (a, b, c, d, e, f, g, h, i, j, k) Source #

min :: (a, b, c, d, e, f, g, h, i, j, k) -> (a, b, c, d, e, f, g, h, i, j, k) -> (a, b, c, d, e, f, g, h, i, j, k) Source #

( Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i, Ord j, Ord k, Ord l) => Ord (a, b, c, d, e, f, g, h, i, j, k, l)
Instance details

Defined in GHC.Classes

Methods

compare :: (a, b, c, d, e, f, g, h, i, j, k, l) -> (a, b, c, d, e, f, g, h, i, j, k, l) -> Ordering Source #

(<) :: (a, b, c, d, e, f, g, h, i, j, k, l) -> (a, b, c, d, e, f, g, h, i, j, k, l) -> Bool Source #

(<=) :: (a, b, c, d, e, f, g, h, i, j, k, l) -> (a, b, c, d, e, f, g, h, i, j, k, l) -> Bool Source #

(>) :: (a, b, c, d, e, f, g, h, i, j, k, l) -> (a, b, c, d, e, f, g, h, i, j, k, l) -> Bool Source #

(>=) :: (a, b, c, d, e, f, g, h, i, j, k, l) -> (a, b, c, d, e, f, g, h, i, j, k, l) -> Bool Source #

max :: (a, b, c, d, e, f, g, h, i, j, k, l) -> (a, b, c, d, e, f, g, h, i, j, k, l) -> (a, b, c, d, e, f, g, h, i, j, k, l) Source #

min :: (a, b, c, d, e, f, g, h, i, j, k, l) -> (a, b, c, d, e, f, g, h, i, j, k, l) -> (a, b, c, d, e, f, g, h, i, j, k, l) Source #

( Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i, Ord j, Ord k, Ord l, Ord m) => Ord (a, b, c, d, e, f, g, h, i, j, k, l, m)
Instance details

Defined in GHC.Classes

Methods

compare :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Ordering Source #

(<) :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Bool Source #

(<=) :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Bool Source #

(>) :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Bool Source #

(>=) :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Bool Source #

max :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> (a, b, c, d, e, f, g, h, i, j, k, l, m) -> (a, b, c, d, e, f, g, h, i, j, k, l, m) Source #

min :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> (a, b, c, d, e, f, g, h, i, j, k, l, m) -> (a, b, c, d, e, f, g, h, i, j, k, l, m) Source #

( Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i, Ord j, Ord k, Ord l, Ord m, Ord n) => Ord (a, b, c, d, e, f, g, h, i, j, k, l, m, n)
Instance details

Defined in GHC.Classes

Methods

compare :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Ordering Source #

(<) :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Bool Source #

(<=) :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Bool Source #

(>) :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Bool Source #

(>=) :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Bool Source #

max :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source #

min :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source #

( Ord a, Ord b, Ord c, Ord d, Ord e, Ord f, Ord g, Ord h, Ord i, Ord j, Ord k, Ord l, Ord m, Ord n, Ord o) => Ord (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)
Instance details

Defined in GHC.Classes

Methods

compare :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Ordering Source #

(<) :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Bool Source #

(<=) :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Bool Source #

(>) :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Bool Source #

(>=) :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Bool Source #

max :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source #

min :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source #

class Read a where Source #

Parsing of String s, producing values.

Derived instances of Read make the following assumptions, which derived instances of Show obey:

  • If the constructor is defined to be an infix operator, then the derived Read instance will parse only infix applications of the constructor (not the prefix form).
  • Associativity is not used to reduce the occurrence of parentheses, although precedence may be.
  • If the constructor is defined using record syntax, the derived Read will parse only the record-syntax form, and furthermore, the fields must be given in the same order as the original declaration.
  • The derived Read instance allows arbitrary Haskell whitespace between tokens of the input string. Extra parentheses are also allowed.

For example, given the declarations

infixr 5 :^:
data Tree a =  Leaf a  |  Tree a :^: Tree a

the derived instance of Read in Haskell 2010 is equivalent to

instance (Read a) => Read (Tree a) where

        readsPrec d r =  readParen (d > app_prec)
                         (\r -> [(Leaf m,t) |
                                 ("Leaf",s) <- lex r,
                                 (m,t) <- readsPrec (app_prec+1) s]) r

                      ++ readParen (d > up_prec)
                         (\r -> [(u:^:v,w) |
                                 (u,s) <- readsPrec (up_prec+1) r,
                                 (":^:",t) <- lex s,
                                 (v,w) <- readsPrec (up_prec+1) t]) r

          where app_prec = 10
                up_prec = 5

Note that right-associativity of :^: is unused.

The derived instance in GHC is equivalent to

instance (Read a) => Read (Tree a) where

        readPrec = parens $ (prec app_prec $ do
                                 Ident "Leaf" <- lexP
                                 m <- step readPrec
                                 return (Leaf m))

                     +++ (prec up_prec $ do
                                 u <- step readPrec
                                 Symbol ":^:" <- lexP
                                 v <- step readPrec
                                 return (u :^: v))

          where app_prec = 10
                up_prec = 5

        readListPrec = readListPrecDefault

Why do both readsPrec and readPrec exist, and why does GHC opt to implement readPrec in derived Read instances instead of readsPrec ? The reason is that readsPrec is based on the ReadS type, and although ReadS is mentioned in the Haskell 2010 Report, it is not a very efficient parser data structure.

readPrec , on the other hand, is based on a much more efficient ReadPrec datatype (a.k.a "new-style parsers"), but its definition relies on the use of the RankNTypes language extension. Therefore, readPrec (and its cousin, readListPrec ) are marked as GHC-only. Nevertheless, it is recommended to use readPrec instead of readsPrec whenever possible for the efficiency improvements it brings.

As mentioned above, derived Read instances in GHC will implement readPrec instead of readsPrec . The default implementations of readsPrec (and its cousin, readList ) will simply use readPrec under the hood. If you are writing a Read instance by hand, it is recommended to write it like so:

instance Read T where
  readPrec     = ...
  readListPrec = readListPrecDefault

Minimal complete definition

readsPrec | readPrec

Methods

readsPrec Source #

Arguments

:: Int

the operator precedence of the enclosing context (a number from 0 to 11 ). Function application has precedence 10 .

-> ReadS a

attempts to parse a value from the front of the string, returning a list of (parsed value, remaining string) pairs. If there is no successful parse, the returned list is empty.

Derived instances of Read and Show satisfy the following:

That is, readsPrec parses the string produced by showsPrec , and delivers the value that showsPrec started with.

readList :: ReadS [a] Source #

The method readList is provided to allow the programmer to give a specialised way of parsing lists of values. For example, this is used by the predefined Read instance of the Char type, where values of type String should be are expected to use double quotes, rather than square brackets.

Instances

Instances details
Read Bool

Since: base-2.1

Instance details

Defined in GHC.Read

Read Char

Since: base-2.1

Instance details

Defined in GHC.Read

Read Double

Since: base-2.1

Instance details

Defined in GHC.Read

Read Float

Since: base-2.1

Instance details

Defined in GHC.Read

Read Int

Since: base-2.1

Instance details

Defined in GHC.Read

Read Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Read Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Read Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Read Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Read Integer

Since: base-2.1

Instance details

Defined in GHC.Read

Read Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Read

Read Ordering

Since: base-2.1

Instance details

Defined in GHC.Read

Read Word

Since: base-4.5.0.0

Instance details

Defined in GHC.Read

Read Word8

Since: base-2.1

Instance details

Defined in GHC.Read

Read Word16

Since: base-2.1

Instance details

Defined in GHC.Read

Read Word32

Since: base-2.1

Instance details

Defined in GHC.Read

Read Word64

Since: base-2.1

Instance details

Defined in GHC.Read

Read ()

Since: base-2.1

Instance details

Defined in GHC.Read

Read Void

Reading a Void value is always a parse error, considering Void as a data type with no constructors.

Since: base-4.8.0.0

Instance details

Defined in Data.Void

Read Version

Since: base-2.1

Instance details

Defined in Data.Version

Read CDev
Instance details

Defined in System.Posix.Types

Read CIno
Instance details

Defined in System.Posix.Types

Read CMode
Instance details

Defined in System.Posix.Types

Read COff
Instance details

Defined in System.Posix.Types

Read CPid
Instance details

Defined in System.Posix.Types

Read CSsize
Instance details

Defined in System.Posix.Types

Read CGid
Instance details

Defined in System.Posix.Types

Read CNlink
Instance details

Defined in System.Posix.Types

Read CUid
Instance details

Defined in System.Posix.Types

Read CCc
Instance details

Defined in System.Posix.Types

Read CSpeed
Instance details

Defined in System.Posix.Types

Read CTcflag
Instance details

Defined in System.Posix.Types

Read CRLim
Instance details

Defined in System.Posix.Types

Read CBlkSize
Instance details

Defined in System.Posix.Types

Read CBlkCnt
Instance details

Defined in System.Posix.Types

Read CClockId
Instance details

Defined in System.Posix.Types

Read CFsBlkCnt
Instance details

Defined in System.Posix.Types

Read CFsFilCnt
Instance details

Defined in System.Posix.Types

Read CId
Instance details

Defined in System.Posix.Types

Read CKey
Instance details

Defined in System.Posix.Types

Read CSocklen
Instance details

Defined in System.Posix.Types

Read CNfds
Instance details

Defined in System.Posix.Types

Read Fd
Instance details

Defined in System.Posix.Types

Read ExitCode
Instance details

Defined in GHC.IO.Exception

Read BufferMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Handle.Types

Read Newline

Since: base-4.3.0.0

Instance details

Defined in GHC.IO.Handle.Types

Read NewlineMode

Since: base-4.3.0.0

Instance details

Defined in GHC.IO.Handle.Types

Read SeekMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Device

Read All

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Read Any

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Read Fixity

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Read Associativity

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Read SourceUnpackedness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Read SourceStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Read DecidedStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Read SomeSymbol

Since: base-4.7.0.0

Instance details

Defined in GHC.TypeLits

Read CChar
Instance details

Defined in Foreign.C.Types

Read CSChar
Instance details

Defined in Foreign.C.Types

Read CUChar
Instance details

Defined in Foreign.C.Types

Read CShort
Instance details

Defined in Foreign.C.Types

Read CUShort
Instance details

Defined in Foreign.C.Types

Read CInt
Instance details

Defined in Foreign.C.Types

Read CUInt
Instance details

Defined in Foreign.C.Types

Read CLong
Instance details

Defined in Foreign.C.Types

Read CULong
Instance details

Defined in Foreign.C.Types

Read CLLong
Instance details

Defined in Foreign.C.Types

Read CULLong
Instance details

Defined in Foreign.C.Types

Read CBool
Instance details

Defined in Foreign.C.Types

Read CFloat
Instance details

Defined in Foreign.C.Types

Read CDouble
Instance details

Defined in Foreign.C.Types

Read CPtrdiff
Instance details

Defined in Foreign.C.Types

Read CSize
Instance details

Defined in Foreign.C.Types

Read CWchar
Instance details

Defined in Foreign.C.Types

Read CSigAtomic
Instance details

Defined in Foreign.C.Types

Read CClock
Instance details

Defined in Foreign.C.Types

Read CTime
Instance details

Defined in Foreign.C.Types

Read CUSeconds
Instance details

Defined in Foreign.C.Types

Read CSUSeconds
Instance details

Defined in Foreign.C.Types

Read CIntPtr
Instance details

Defined in Foreign.C.Types

Read CUIntPtr
Instance details

Defined in Foreign.C.Types

Read CIntMax
Instance details

Defined in Foreign.C.Types

Read CUIntMax
Instance details

Defined in Foreign.C.Types

Read WordPtr
Instance details

Defined in Foreign.Ptr

Read IntPtr
Instance details

Defined in Foreign.Ptr

Read IOMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.IOMode

Read Lexeme

Since: base-2.1

Instance details

Defined in GHC.Read

Read GeneralCategory

Since: base-2.1

Instance details

Defined in GHC.Read

Read ShortByteString
Instance details

Defined in Data.ByteString.Short.Internal

Read ByteString
Instance details

Defined in Data.ByteString.Lazy.Internal

Read ByteString
Instance details

Defined in Data.ByteString.Internal

Read IntSet
Instance details

Defined in Data.IntSet.Internal

Read FileType
Instance details

Defined in System.Directory.Internal.Common

Read Permissions
Instance details

Defined in System.Directory.Internal.Common

Read XdgDirectory
Instance details

Defined in System.Directory.Internal.Common

Read XdgDirectoryList
Instance details

Defined in System.Directory.Internal.Common

Read ShortText Source #
Instance details

Defined in Distribution.Utils.ShortText

Read Result Source #
Instance details

Defined in Distribution.TestSuite

Read OptionType Source #
Instance details

Defined in Distribution.TestSuite

Read OptionDescr Source #
Instance details

Defined in Distribution.TestSuite

Read PathTemplateVariable Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Read PathComponent Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Read CabalSpecVersion Source #
Instance details

Defined in Distribution.CabalSpecVersion

Read Version Source #
Instance details

Defined in Distribution.Types.Version

Read VersionRange Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

Read RepoType Source #
Instance details

Defined in Distribution.Types.SourceRepo

Read RepoKind Source #
Instance details

Defined in Distribution.Types.SourceRepo

Read SourceRepo Source #
Instance details

Defined in Distribution.Types.SourceRepo

Read PkgconfigVersion Source #
Instance details

Defined in Distribution.Types.PkgconfigVersion

Read PkgconfigVersionRange Source #
Instance details

Defined in Distribution.Types.PkgconfigVersionRange

Read PkgconfigName Source #
Instance details

Defined in Distribution.Types.PkgconfigName

Read PkgconfigDependency Source #
Instance details

Defined in Distribution.Types.PkgconfigDependency

Read PackageName Source #
Instance details

Defined in Distribution.Types.PackageName

Read UnqualComponentName Source #
Instance details

Defined in Distribution.Types.UnqualComponentName

Read PackageVersionConstraint Source #
Instance details

Defined in Distribution.Types.PackageVersionConstraint

Read LibraryVisibility Source #
Instance details

Defined in Distribution.Types.LibraryVisibility

Read LibraryName Source #
Instance details

Defined in Distribution.Types.LibraryName

Read MungedPackageName Source #
Instance details

Defined in Distribution.Types.MungedPackageName

Read ForeignLibType Source #
Instance details

Defined in Distribution.Types.ForeignLibType

Read ForeignLibOption Source #
Instance details

Defined in Distribution.Types.ForeignLibOption

Read FlagAssignment Source #

Since: 2.2.0

Instance details

Defined in Distribution.Types.Flag

Read FlagName Source #
Instance details

Defined in Distribution.Types.Flag

Read ExecutableScope Source #
Instance details

Defined in Distribution.Types.ExecutableScope

Read ComponentName Source #
Instance details

Defined in Distribution.Types.ComponentName

Read ComponentId Source #
Instance details

Defined in Distribution.Types.ComponentId

Read GivenComponent Source #
Instance details

Defined in Distribution.Types.GivenComponent

Read BuildType Source #
Instance details

Defined in Distribution.Types.BuildType

Read AbiHash Source #
Instance details

Defined in Distribution.Types.AbiHash

Read Platform Source #
Instance details

Defined in Distribution.System

Read Arch Source #
Instance details

Defined in Distribution.System

Read OS Source #
Instance details

Defined in Distribution.System

Read LicenseRef Source #
Instance details

Defined in Distribution.SPDX.LicenseReference

Read LicenseId Source #
Instance details

Defined in Distribution.SPDX.LicenseId

Read LicenseExceptionId Source #
Instance details

Defined in Distribution.SPDX.LicenseExceptionId

Read SimpleLicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Read LicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Read License Source #
Instance details

Defined in Distribution.SPDX.License

Read ModuleName Source #
Instance details

Defined in Distribution.ModuleName

Read ModuleRenaming Source #
Instance details

Defined in Distribution.Types.ModuleRenaming

Read IncludeRenaming Source #
Instance details

Defined in Distribution.Types.IncludeRenaming

Read Mixin Source #
Instance details

Defined in Distribution.Types.Mixin

Read ModuleReexport Source #
Instance details

Defined in Distribution.Types.ModuleReexport

Read VerbosityFlag Source #
Instance details

Defined in Distribution.Verbosity.Internal

Read VerbosityLevel Source #
Instance details

Defined in Distribution.Verbosity.Internal

Read Verbosity Source #
Instance details

Defined in Distribution.Verbosity

Read TestType Source #
Instance details

Defined in Distribution.Types.TestType

Read TestSuiteInterface Source #
Instance details

Defined in Distribution.Types.TestSuiteInterface

Read PackageIdentifier Source #
Instance details

Defined in Distribution.Types.PackageId

Read DefUnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Read UnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Read Module Source #
Instance details

Defined in Distribution.Types.Module

Read OpenModule Source #
Instance details

Defined in Distribution.Backpack

Read OpenUnitId Source #
Instance details

Defined in Distribution.Backpack

Read ExposedModule Source #
Instance details

Defined in Distribution.Types.ExposedModule

Read MungedPackageId Source #
Instance details

Defined in Distribution.Types.MungedPackageId

Read LegacyExeDependency Source #
Instance details

Defined in Distribution.Types.LegacyExeDependency

Read ExeDependency Source #
Instance details

Defined in Distribution.Types.ExeDependency

Read Dependency Source #
Instance details

Defined in Distribution.Types.Dependency

Read SetupBuildInfo Source #
Instance details

Defined in Distribution.Types.SetupBuildInfo

Read DependencyMap Source #
Instance details

Defined in Distribution.Types.DependencyMap

Read BenchmarkType Source #
Instance details

Defined in Distribution.Types.BenchmarkType

Read BenchmarkInterface Source #
Instance details

Defined in Distribution.Types.BenchmarkInterface

Read AbiDependency Source #
Instance details

Defined in Distribution.Types.AbiDependency

Read License Source #
Instance details

Defined in Distribution.License

Read InstalledPackageInfo Source #
Instance details

Defined in Distribution.Types.InstalledPackageInfo

Read KnownExtension Source #
Instance details

Defined in Language.Haskell.Extension

Read Extension Source #
Instance details

Defined in Language.Haskell.Extension

Read Language Source #
Instance details

Defined in Language.Haskell.Extension

Read AbiTag Source #
Instance details

Defined in Distribution.Compiler

Read CompilerInfo Source #
Instance details

Defined in Distribution.Compiler

Read CompilerId Source #
Instance details

Defined in Distribution.Compiler

Read CompilerFlavor Source #
Instance details

Defined in Distribution.Compiler

Read BuildInfo Source #
Instance details

Defined in Distribution.Types.BuildInfo

Read TestSuite Source #
Instance details

Defined in Distribution.Types.TestSuite

Read Library Source #
Instance details

Defined in Distribution.Types.Library

Read LibVersionInfo Source #
Instance details

Defined in Distribution.Types.ForeignLib

Read ForeignLib Source #
Instance details

Defined in Distribution.Types.ForeignLib

Read Executable Source #
Instance details

Defined in Distribution.Types.Executable

Read Benchmark Source #
Instance details

Defined in Distribution.Types.Benchmark

Read Component Source #
Instance details

Defined in Distribution.Types.Component

Read ComponentRequestedSpec Source #
Instance details

Defined in Distribution.Types.ComponentRequestedSpec

Read PackageDescription Source #
Instance details

Defined in Distribution.Types.PackageDescription

Read PathTemplate Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Read ProgramLocation Source #
Instance details

Defined in Distribution.Simple.Program.Types

Read ConfiguredProgram Source #
Instance details

Defined in Distribution.Simple.Program.Types

Read ProfDetailLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Read DebugInfoLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Read OptimisationLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Read PackageDB Source #
Instance details

Defined in Distribution.Simple.Compiler

Read Compiler Source #
Instance details

Defined in Distribution.Simple.Compiler

Read ProgramDb Source #

Note that this instance does not preserve the known Program s. See restoreProgramDb for details.

Instance details

Defined in Distribution.Simple.Program.Db

Read BuildFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Read ConfigFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Read ComponentLocalBuildInfo Source #
Instance details

Defined in Distribution.Types.ComponentLocalBuildInfo

Read LocalBuildInfo Source #
Instance details

Defined in Distribution.Types.LocalBuildInfo

Read TestLogs Source #
Instance details

Defined in Distribution.Simple.Test.Log

Read TestSuiteLog Source #
Instance details

Defined in Distribution.Simple.Test.Log

Read PackageLog Source #
Instance details

Defined in Distribution.Simple.Test.Log

Read Way Source #
Instance details

Defined in Distribution.Simple.Hpc

Read ModTime Source #
Instance details

Defined in Distribution.Compat.Time

Read a => Read [a]

Since: base-2.1

Instance details

Defined in GHC.Read

Read a => Read ( Maybe a)

Since: base-2.1

Instance details

Defined in GHC.Read

( Integral a, Read a) => Read ( Ratio a)

Since: base-2.1

Instance details

Defined in GHC.Read

Read p => Read ( Par1 p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Read a => Read ( Complex a)

Since: base-2.1

Instance details

Defined in Data.Complex

Read a => Read ( Min a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Read a => Read ( Max a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Read a => Read ( First a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Read a => Read ( Last a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Read m => Read ( WrappedMonoid m)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Read a => Read ( Option a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Read a => Read ( ZipList a)

Since: base-4.7.0.0

Instance details

Defined in Control.Applicative

Read a => Read ( Identity a)

This instance would be equivalent to the derived instances of the Identity newtype if the runIdentity field were removed

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Read a => Read ( First a)

Since: base-2.1

Instance details

Defined in Data.Monoid

Read a => Read ( Last a)

Since: base-2.1

Instance details

Defined in Data.Monoid

Read a => Read ( Dual a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Read a => Read ( Sum a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Read a => Read ( Product a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Read a => Read ( Down a)

This instance would be equivalent to the derived instances of the Down newtype if the getDown field were removed

Since: base-4.7.0.0

Instance details

Defined in Data.Ord

Read a => Read ( NonEmpty a)

Since: base-4.11.0.0

Instance details

Defined in GHC.Read

Read e => Read ( IntMap e)
Instance details

Defined in Data.IntMap.Internal

Read vertex => Read ( SCC vertex)

Since: containers-0.5.9

Instance details

Defined in Data.Graph

Read a => Read ( Tree a)
Instance details

Defined in Data.Tree

Read a => Read ( Seq a)
Instance details

Defined in Data.Sequence.Internal

Read a => Read ( ViewL a)
Instance details

Defined in Data.Sequence.Internal

Read a => Read ( ViewR a)
Instance details

Defined in Data.Sequence.Internal

( Read a, Ord a) => Read ( Set a)
Instance details

Defined in Data.Set.Internal

Read a => Read ( Option' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Read a => Read ( Last' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Read a => Read ( Flag a) Source #
Instance details

Defined in Distribution.Simple.Flag

Read a => Read ( VersionRangeF a) Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

( IsNode a, Read a, Show ( Key a)) => Read ( Graph a) Source #
Instance details

Defined in Distribution.Compat.Graph

Read v => Read ( PerCompilerFlavor v) Source #
Instance details

Defined in Distribution.Compiler

Read dir => Read ( InstallDirs dir) Source #
Instance details

Defined in Distribution.Simple.InstallDirs

( Ord a, Read a) => Read ( NubListR a) Source #
Instance details

Defined in Distribution.Utils.NubList

( Ord a, Read a) => Read ( NubList a) Source #
Instance details

Defined in Distribution.Utils.NubList

Read a => Read ( PackageIndex a) Source #
Instance details

Defined in Distribution.Simple.PackageIndex

( Read a, Read b) => Read ( Either a b)

Since: base-3.0

Instance details

Defined in Data.Either

Read ( V1 p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Read ( U1 p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

( Read a, Read b) => Read (a, b)

Since: base-2.1

Instance details

Defined in GHC.Read

( Ix ix, Read ix, Read e, IArray UArray e) => Read ( UArray ix e)
Instance details

Defined in Data.Array.Base

( Ix a, Read a, Read b) => Read ( Array a b)

Since: base-2.1

Instance details

Defined in GHC.Read

HasResolution a => Read ( Fixed a)

Since: base-4.3.0.0

Instance details

Defined in Data.Fixed

( Read a, Read b) => Read ( Arg a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Read ( Proxy t)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

( Ord k, Read k, Read e) => Read ( Map k e)
Instance details

Defined in Data.Map.Internal

( Read1 m, Read a) => Read ( ListT m a)
Instance details

Defined in Control.Monad.Trans.List

( Read1 m, Read a) => Read ( MaybeT m a)
Instance details

Defined in Control.Monad.Trans.Maybe

Read (f p) => Read ( Rec1 f p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

( Read a, Read b, Read c) => Read (a, b, c)

Since: base-2.1

Instance details

Defined in GHC.Read

Read a => Read ( Const a b)

This instance would be equivalent to the derived instances of the Const newtype if the getConst field were removed

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Const

Read (f a) => Read ( Ap f a)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Read (f a) => Read ( Alt f a)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Coercible a b => Read ( Coercion a b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Coercion

a ~ b => Read (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Equality

( Read1 f, Read a) => Read ( IdentityT f a)
Instance details

Defined in Control.Monad.Trans.Identity

( Read e, Read1 m, Read a) => Read ( ErrorT e m a)
Instance details

Defined in Control.Monad.Trans.Error

( Read e, Read1 m, Read a) => Read ( ExceptT e m a)
Instance details

Defined in Control.Monad.Trans.Except

( Read w, Read1 m, Read a) => Read ( WriterT w m a)
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

( Read w, Read1 m, Read a) => Read ( WriterT w m a)
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Read c => Read ( K1 i c p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

( Read (f p), Read (g p)) => Read ((f :+: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

( Read (f p), Read (g p)) => Read ((f :*: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

( Read a, Read b, Read c, Read d) => Read (a, b, c, d)

Since: base-2.1

Instance details

Defined in GHC.Read

( Read1 f, Read1 g, Read a) => Read ( Product f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

( Read1 f, Read1 g, Read a) => Read ( Sum f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Sum

a ~~ b => Read (a :~~: b)

Since: base-4.10.0.0

Instance details

Defined in Data.Type.Equality

Read (f p) => Read ( M1 i c f p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Read (f (g p)) => Read ((f :.: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

( Read a, Read b, Read c, Read d, Read e) => Read (a, b, c, d, e)

Since: base-2.1

Instance details

Defined in GHC.Read

( Read1 f, Read1 g, Read a) => Read ( Compose f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Compose

( Read a, Read b, Read c, Read d, Read e, Read f) => Read (a, b, c, d, e, f)

Since: base-2.1

Instance details

Defined in GHC.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f) Source #

readList :: ReadS [(a, b, c, d, e, f)] Source #

readPrec :: ReadPrec (a, b, c, d, e, f) Source #

readListPrec :: ReadPrec [(a, b, c, d, e, f)] Source #

( Read a, Read b, Read c, Read d, Read e, Read f, Read g) => Read (a, b, c, d, e, f, g)

Since: base-2.1

Instance details

Defined in GHC.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g) Source #

readList :: ReadS [(a, b, c, d, e, f, g)] Source #

readPrec :: ReadPrec (a, b, c, d, e, f, g) Source #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g)] Source #

( Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h) => Read (a, b, c, d, e, f, g, h)

Since: base-2.1

Instance details

Defined in GHC.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h) Source #

readList :: ReadS [(a, b, c, d, e, f, g, h)] Source #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h) Source #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h)] Source #

( Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i) => Read (a, b, c, d, e, f, g, h, i)

Since: base-2.1

Instance details

Defined in GHC.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i) Source #

readList :: ReadS [(a, b, c, d, e, f, g, h, i)] Source #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i) Source #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i)] Source #

( Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i, Read j) => Read (a, b, c, d, e, f, g, h, i, j)

Since: base-2.1

Instance details

Defined in GHC.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i, j) Source #

readList :: ReadS [(a, b, c, d, e, f, g, h, i, j)] Source #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i, j) Source #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i, j)] Source #

( Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i, Read j, Read k) => Read (a, b, c, d, e, f, g, h, i, j, k)

Since: base-2.1

Instance details

Defined in GHC.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i, j, k) Source #

readList :: ReadS [(a, b, c, d, e, f, g, h, i, j, k)] Source #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i, j, k) Source #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i, j, k)] Source #

( Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i, Read j, Read k, Read l) => Read (a, b, c, d, e, f, g, h, i, j, k, l)

Since: base-2.1

Instance details

Defined in GHC.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i, j, k, l) Source #

readList :: ReadS [(a, b, c, d, e, f, g, h, i, j, k, l)] Source #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i, j, k, l) Source #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i, j, k, l)] Source #

( Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i, Read j, Read k, Read l, Read m) => Read (a, b, c, d, e, f, g, h, i, j, k, l, m)

Since: base-2.1

Instance details

Defined in GHC.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i, j, k, l, m) Source #

readList :: ReadS [(a, b, c, d, e, f, g, h, i, j, k, l, m)] Source #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i, j, k, l, m) Source #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i, j, k, l, m)] Source #

( Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i, Read j, Read k, Read l, Read m, Read n) => Read (a, b, c, d, e, f, g, h, i, j, k, l, m, n)

Since: base-2.1

Instance details

Defined in GHC.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source #

readList :: ReadS [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] Source #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] Source #

( Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h, Read i, Read j, Read k, Read l, Read m, Read n, Read o) => Read (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)

Since: base-2.1

Instance details

Defined in GHC.Read

Methods

readsPrec :: Int -> ReadS (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source #

readList :: ReadS [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] Source #

readPrec :: ReadPrec (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source #

readListPrec :: ReadPrec [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] Source #

class ( Num a, Ord a) => Real a where Source #

Methods

toRational :: a -> Rational Source #

the rational equivalent of its real argument with full precision

Instances

Instances details
Real Int

Since: base-2.0.1

Instance details

Defined in GHC.Real

Real Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Real Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Real Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Real Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Real Integer

Since: base-2.0.1

Instance details

Defined in GHC.Real

Real Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Real

Real Word

Since: base-2.1

Instance details

Defined in GHC.Real

Real Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Real Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Real Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Real Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Real CDev
Instance details

Defined in System.Posix.Types

Real CIno
Instance details

Defined in System.Posix.Types

Real CMode
Instance details

Defined in System.Posix.Types

Real COff
Instance details

Defined in System.Posix.Types

Real CPid
Instance details

Defined in System.Posix.Types

Real CSsize
Instance details

Defined in System.Posix.Types

Real CGid
Instance details

Defined in System.Posix.Types

Real CNlink
Instance details

Defined in System.Posix.Types

Real CUid
Instance details

Defined in System.Posix.Types

Real CCc
Instance details

Defined in System.Posix.Types

Real CSpeed
Instance details

Defined in System.Posix.Types

Real CTcflag
Instance details

Defined in System.Posix.Types

Real CRLim
Instance details

Defined in System.Posix.Types

Real CBlkSize
Instance details

Defined in System.Posix.Types

Real CBlkCnt
Instance details

Defined in System.Posix.Types

Real CClockId
Instance details

Defined in System.Posix.Types

Real CFsBlkCnt
Instance details

Defined in System.Posix.Types

Real CFsFilCnt
Instance details

Defined in System.Posix.Types

Real CId
Instance details

Defined in System.Posix.Types

Real CKey
Instance details

Defined in System.Posix.Types

Real CSocklen
Instance details

Defined in System.Posix.Types

Real CNfds
Instance details

Defined in System.Posix.Types

Real Fd
Instance details

Defined in System.Posix.Types

Real CChar
Instance details

Defined in Foreign.C.Types

Real CSChar
Instance details

Defined in Foreign.C.Types

Real CUChar
Instance details

Defined in Foreign.C.Types

Real CShort
Instance details

Defined in Foreign.C.Types

Real CUShort
Instance details

Defined in Foreign.C.Types

Real CInt
Instance details

Defined in Foreign.C.Types

Real CUInt
Instance details

Defined in Foreign.C.Types

Real CLong
Instance details

Defined in Foreign.C.Types

Real CULong
Instance details

Defined in Foreign.C.Types

Real CLLong
Instance details

Defined in Foreign.C.Types

Real CULLong
Instance details

Defined in Foreign.C.Types

Real CBool
Instance details

Defined in Foreign.C.Types

Real CFloat
Instance details

Defined in Foreign.C.Types

Real CDouble
Instance details

Defined in Foreign.C.Types

Real CPtrdiff
Instance details

Defined in Foreign.C.Types

Real CSize
Instance details

Defined in Foreign.C.Types

Real CWchar
Instance details

Defined in Foreign.C.Types

Real CSigAtomic
Instance details

Defined in Foreign.C.Types

Real CClock
Instance details

Defined in Foreign.C.Types

Real CTime
Instance details

Defined in Foreign.C.Types

Real CUSeconds
Instance details

Defined in Foreign.C.Types

Real CSUSeconds
Instance details

Defined in Foreign.C.Types

Real CIntPtr
Instance details

Defined in Foreign.C.Types

Real CUIntPtr
Instance details

Defined in Foreign.C.Types

Real CIntMax
Instance details

Defined in Foreign.C.Types

Real CUIntMax
Instance details

Defined in Foreign.C.Types

Real WordPtr
Instance details

Defined in Foreign.Ptr

Real IntPtr
Instance details

Defined in Foreign.Ptr

Real NominalDiffTime
Instance details

Defined in Data.Time.Clock.Internal.NominalDiffTime

Real DiffTime
Instance details

Defined in Data.Time.Clock.Internal.DiffTime

Integral a => Real ( Ratio a)

Since: base-2.0.1

Instance details

Defined in GHC.Real

Real a => Real ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Real a => Real ( Down a)

Since: base-4.14.0.0

Instance details

Defined in Data.Ord

HasResolution a => Real ( Fixed a)

Since: base-2.1

Instance details

Defined in Data.Fixed

Real a => Real ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

class ( RealFrac a, Floating a) => RealFloat a where Source #

Efficient, machine-independent access to the components of a floating-point number.

Methods

floatRadix :: a -> Integer Source #

a constant function, returning the radix of the representation (often 2 )

floatDigits :: a -> Int Source #

a constant function, returning the number of digits of floatRadix in the significand

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

a constant function, returning the lowest and highest values the exponent may assume

decodeFloat :: a -> ( Integer , Int ) Source #

The function decodeFloat applied to a real floating-point number returns the significand expressed as an Integer and an appropriately scaled exponent (an Int ). If decodeFloat x yields (m,n) , then x is equal in value to m*b^^n , where b is the floating-point radix, and furthermore, either m and n are both zero or else b^(d-1) <= abs m < b^d , where d is the value of floatDigits x . In particular, decodeFloat 0 = (0,0) . If the type contains a negative zero, also decodeFloat (-0.0) = (0,0) . The result of decodeFloat x is unspecified if either of isNaN x or isInfinite x is True .

encodeFloat :: Integer -> Int -> a Source #

encodeFloat performs the inverse of decodeFloat in the sense that for finite x with the exception of -0.0 , uncurry encodeFloat ( decodeFloat x) = x . encodeFloat m n is one of the two closest representable floating-point numbers to m*b^^n (or ±Infinity if overflow occurs); usually the closer, but if m contains too many bits, the result may be rounded in the wrong direction.

exponent :: a -> Int Source #

exponent corresponds to the second component of decodeFloat . exponent 0 = 0 and for finite nonzero x , exponent x = snd ( decodeFloat x) + floatDigits x . If x is a finite floating-point number, it is equal in value to significand x * b ^^ exponent x , where b is the floating-point radix. The behaviour is unspecified on infinite or NaN values.

significand :: a -> a Source #

The first component of decodeFloat , scaled to lie in the open interval ( -1 , 1 ), either 0.0 or of absolute value >= 1/b , where b is the floating-point radix. The behaviour is unspecified on infinite or NaN values.

scaleFloat :: Int -> a -> a Source #

multiplies a floating-point number by an integer power of the radix

isNaN :: a -> Bool Source #

True if the argument is an IEEE "not-a-number" (NaN) value

isInfinite :: a -> Bool Source #

True if the argument is an IEEE infinity or negative infinity

isDenormalized :: a -> Bool Source #

True if the argument is too small to be represented in normalized format

isNegativeZero :: a -> Bool Source #

True if the argument is an IEEE negative zero

isIEEE :: a -> Bool Source #

True if the argument is an IEEE floating point number

atan2 :: a -> a -> a Source #

a version of arctangent taking two real floating-point arguments. For real floating x and y , atan2 y x computes the angle (from the positive x-axis) of the vector from the origin to the point (x,y) . atan2 y x returns a value in the range [ -pi , pi ]. It follows the Common Lisp semantics for the origin when signed zeroes are supported. atan2 y 1 , with y in a type that is RealFloat , should return the same value as atan y . A default definition of atan2 is provided, but implementors can provide a more accurate implementation.

Instances

Instances details
RealFloat Double

Since: base-2.1

Instance details

Defined in GHC.Float

RealFloat Float

Since: base-2.1

Instance details

Defined in GHC.Float

RealFloat CFloat
Instance details

Defined in Foreign.C.Types

RealFloat CDouble
Instance details

Defined in Foreign.C.Types

RealFloat a => RealFloat ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

RealFloat a => RealFloat ( Down a)

Since: base-4.14.0.0

Instance details

Defined in Data.Ord

RealFloat a => RealFloat ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

class ( Real a, Fractional a) => RealFrac a where Source #

Extracting components of fractions.

Minimal complete definition

properFraction

Methods

properFraction :: Integral b => a -> (b, a) Source #

The function properFraction takes a real fractional number x and returns a pair (n,f) such that x = n+f , and:

  • n is an integral number with the same sign as x ; and
  • f is a fraction with the same type and sign as x , and with absolute value less than 1 .

The default definitions of the ceiling , floor , truncate and round functions are in terms of properFraction .

truncate :: Integral b => a -> b Source #

truncate x returns the integer nearest x between zero and x

round :: Integral b => a -> b Source #

round x returns the nearest integer to x ; the even integer if x is equidistant between two integers

ceiling :: Integral b => a -> b Source #

ceiling x returns the least integer not less than x

floor :: Integral b => a -> b Source #

floor x returns the greatest integer not greater than x

Instances

Instances details
RealFrac CFloat
Instance details

Defined in Foreign.C.Types

RealFrac CDouble
Instance details

Defined in Foreign.C.Types

RealFrac NominalDiffTime
Instance details

Defined in Data.Time.Clock.Internal.NominalDiffTime

RealFrac DiffTime
Instance details

Defined in Data.Time.Clock.Internal.DiffTime

Integral a => RealFrac ( Ratio a)

Since: base-2.0.1

Instance details

Defined in GHC.Real

RealFrac a => RealFrac ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

RealFrac a => RealFrac ( Down a)

Since: base-4.14.0.0

Instance details

Defined in Data.Ord

HasResolution a => RealFrac ( Fixed a)

Since: base-2.1

Instance details

Defined in Data.Fixed

RealFrac a => RealFrac ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

class Show a where Source #

Conversion of values to readable String s.

Derived instances of Show have the following properties, which are compatible with derived instances of Read :

  • The result of show is a syntactically correct Haskell expression containing only constants, given the fixity declarations in force at the point where the type is declared. It contains only the constructor names defined in the data type, parentheses, and spaces. When labelled constructor fields are used, braces, commas, field names, and equal signs are also used.
  • If the constructor is defined to be an infix operator, then showsPrec will produce infix applications of the constructor.
  • the representation will be enclosed in parentheses if the precedence of the top-level constructor in x is less than d (associativity is ignored). Thus, if d is 0 then the result is never surrounded in parentheses; if d is 11 it is always surrounded in parentheses, unless it is an atomic expression.
  • If the constructor is defined using record syntax, then show will produce the record-syntax form, with the fields given in the same order as the original declaration.

For example, given the declarations

infixr 5 :^:
data Tree a =  Leaf a  |  Tree a :^: Tree a

the derived instance of Show is equivalent to

instance (Show a) => Show (Tree a) where

       showsPrec d (Leaf m) = showParen (d > app_prec) $
            showString "Leaf " . showsPrec (app_prec+1) m
         where app_prec = 10

       showsPrec d (u :^: v) = showParen (d > up_prec) $
            showsPrec (up_prec+1) u .
            showString " :^: "      .
            showsPrec (up_prec+1) v
         where up_prec = 5

Note that right-associativity of :^: is ignored. For example,

  • show (Leaf 1 :^: Leaf 2 :^: Leaf 3) produces the string "Leaf 1 :^: (Leaf 2 :^: Leaf 3)" .

Minimal complete definition

showsPrec | show

Methods

showsPrec Source #

Arguments

:: Int

the operator precedence of the enclosing context (a number from 0 to 11 ). Function application has precedence 10 .

-> a

the value to be converted to a String

-> ShowS

Convert a value to a readable String .

showsPrec should satisfy the law

showsPrec d x r ++ s  ==  showsPrec d x (r ++ s)

Derived instances of Read and Show satisfy the following:

That is, readsPrec parses the string produced by showsPrec , and delivers the value that showsPrec started with.

show :: a -> String Source #

A specialised variant of showsPrec , using precedence context zero, and returning an ordinary String .

showList :: [a] -> ShowS Source #

The method showList is provided to allow the programmer to give a specialised way of showing lists of values. For example, this is used by the predefined Show instance of the Char type, where values of type String should be shown in double quotes, rather than between square brackets.

Instances

Instances details
Show Bool

Since: base-2.1

Instance details

Defined in GHC.Show

Show Char

Since: base-2.1

Instance details

Defined in GHC.Show

Show Int

Since: base-2.1

Instance details

Defined in GHC.Show

Show Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Show Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Show Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Show Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Show Integer

Since: base-2.1

Instance details

Defined in GHC.Show

Show Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Show

Show Ordering

Since: base-2.1

Instance details

Defined in GHC.Show

Show Word

Since: base-2.1

Instance details

Defined in GHC.Show

Show Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Show Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Show Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Show Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Show RuntimeRep

Since: base-4.11.0.0

Instance details

Defined in GHC.Show

Show VecCount

Since: base-4.11.0.0

Instance details

Defined in GHC.Show

Show VecElem

Since: base-4.11.0.0

Instance details

Defined in GHC.Show

Show CallStack

Since: base-4.9.0.0

Instance details

Defined in GHC.Show

Show SomeTypeRep

Since: base-4.10.0.0

Instance details

Defined in Data.Typeable.Internal

Show Exp
Instance details

Defined in Language.Haskell.TH.Syntax

Show Match
Instance details

Defined in Language.Haskell.TH.Syntax

Show Clause
Instance details

Defined in Language.Haskell.TH.Syntax

Show Pat
Instance details

Defined in Language.Haskell.TH.Syntax

Show Type
Instance details

Defined in Language.Haskell.TH.Syntax

Show Dec
Instance details

Defined in Language.Haskell.TH.Syntax

Show Name
Instance details

Defined in Language.Haskell.TH.Syntax

Show FunDep
Instance details

Defined in Language.Haskell.TH.Syntax

Show InjectivityAnn
Instance details

Defined in Language.Haskell.TH.Syntax

Show Overlap
Instance details

Defined in Language.Haskell.TH.Syntax

Show ()

Since: base-2.1

Instance details

Defined in GHC.Show

Show TyCon

Since: base-2.1

Instance details

Defined in GHC.Show

Show Module

Since: base-4.9.0.0

Instance details

Defined in GHC.Show

Show TrName

Since: base-4.9.0.0

Instance details

Defined in GHC.Show

Show KindRep
Instance details

Defined in GHC.Show

Show TypeLitSort

Since: base-4.11.0.0

Instance details

Defined in GHC.Show

Show Handle

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Handle.Types

Show Void

Since: base-4.8.0.0

Instance details

Defined in Data.Void

Show DataType

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Show Constr

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Show DataRep

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Show ConstrRep

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Show Fixity

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Show Version

Since: base-2.1

Instance details

Defined in Data.Version

Show HandlePosn

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Handle

Show PatternMatchFail

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Show RecSelError

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Show RecConError

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Show RecUpdError

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Show NoMethodError

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Show TypeError

Since: base-4.9.0.0

Instance details

Defined in Control.Exception.Base

Show NonTermination

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Show NestedAtomically

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Show ThreadId

Since: base-4.2.0.0

Instance details

Defined in GHC.Conc.Sync

Show BlockReason

Since: base-4.3.0.0

Instance details

Defined in GHC.Conc.Sync

Show ThreadStatus

Since: base-4.3.0.0

Instance details

Defined in GHC.Conc.Sync

Show CDev
Instance details

Defined in System.Posix.Types

Show CIno
Instance details

Defined in System.Posix.Types

Show CMode
Instance details

Defined in System.Posix.Types

Show COff
Instance details

Defined in System.Posix.Types

Show CPid
Instance details

Defined in System.Posix.Types

Show CSsize
Instance details

Defined in System.Posix.Types

Show CGid
Instance details

Defined in System.Posix.Types

Show CNlink
Instance details

Defined in System.Posix.Types

Show CUid
Instance details

Defined in System.Posix.Types

Show CCc
Instance details

Defined in System.Posix.Types

Show CSpeed
Instance details

Defined in System.Posix.Types

Show CTcflag
Instance details

Defined in System.Posix.Types

Show CRLim
Instance details

Defined in System.Posix.Types

Show CBlkSize
Instance details

Defined in System.Posix.Types

Show CBlkCnt
Instance details

Defined in System.Posix.Types

Show CClockId
Instance details

Defined in System.Posix.Types

Show CFsBlkCnt
Instance details

Defined in System.Posix.Types

Show CFsFilCnt
Instance details

Defined in System.Posix.Types

Show CId
Instance details

Defined in System.Posix.Types

Show CKey
Instance details

Defined in System.Posix.Types

Show CSocklen
Instance details

Defined in System.Posix.Types

Show CNfds
Instance details

Defined in System.Posix.Types

Show Fd
Instance details

Defined in System.Posix.Types

Show BlockedIndefinitelyOnMVar

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Show BlockedIndefinitelyOnSTM

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Show Deadlock

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Show AllocationLimitExceeded

Since: base-4.7.1.0

Instance details

Defined in GHC.IO.Exception

Show CompactionFailed

Since: base-4.10.0.0

Instance details

Defined in GHC.IO.Exception

Show AssertionFailed

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Show SomeAsyncException

Since: base-4.7.0.0

Instance details

Defined in GHC.IO.Exception

Show AsyncException

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Show ArrayException

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Show FixIOException

Since: base-4.11.0.0

Instance details

Defined in GHC.IO.Exception

Show ExitCode
Instance details

Defined in GHC.IO.Exception

Show IOErrorType

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Show HandleType

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Handle.Types

Show BufferMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Handle.Types

Show Newline

Since: base-4.3.0.0

Instance details

Defined in GHC.IO.Handle.Types

Show NewlineMode

Since: base-4.3.0.0

Instance details

Defined in GHC.IO.Handle.Types

Show SeekMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.Device

Show TextEncoding

Since: base-4.3.0.0

Instance details

Defined in GHC.IO.Encoding.Types

Show CodingProgress

Since: base-4.4.0.0

Instance details

Defined in GHC.IO.Encoding.Types

Show MaskingState

Since: base-4.3.0.0

Instance details

Defined in GHC.IO

Show IOException

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Show ErrorCall

Since: base-4.0.0.0

Instance details

Defined in GHC.Exception

Show ArithException

Since: base-4.0.0.0

Instance details

Defined in GHC.Exception.Type

Show All

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Show Any

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Show Fixity

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Show Associativity

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Show SourceUnpackedness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Show SourceStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Show DecidedStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Show SomeSymbol

Since: base-4.7.0.0

Instance details

Defined in GHC.TypeLits

Show CChar
Instance details

Defined in Foreign.C.Types

Show CSChar
Instance details

Defined in Foreign.C.Types

Show CUChar
Instance details

Defined in Foreign.C.Types

Show CShort
Instance details

Defined in Foreign.C.Types

Show CUShort
Instance details

Defined in Foreign.C.Types

Show CInt
Instance details

Defined in Foreign.C.Types

Show CUInt
Instance details

Defined in Foreign.C.Types

Show CLong
Instance details

Defined in Foreign.C.Types

Show CULong
Instance details

Defined in Foreign.C.Types

Show CLLong
Instance details

Defined in Foreign.C.Types

Show CULLong
Instance details

Defined in Foreign.C.Types

Show CBool
Instance details

Defined in Foreign.C.Types

Show CFloat
Instance details

Defined in Foreign.C.Types

Show CDouble
Instance details

Defined in Foreign.C.Types

Show CPtrdiff
Instance details

Defined in Foreign.C.Types

Show CSize
Instance details

Defined in Foreign.C.Types

Show CWchar
Instance details

Defined in Foreign.C.Types

Show CSigAtomic
Instance details

Defined in Foreign.C.Types

Show CClock
Instance details

Defined in Foreign.C.Types

Show CTime
Instance details

Defined in Foreign.C.Types

Show CUSeconds
Instance details

Defined in Foreign.C.Types

Show CSUSeconds
Instance details

Defined in Foreign.C.Types

Show CIntPtr
Instance details

Defined in Foreign.C.Types

Show CUIntPtr
Instance details

Defined in Foreign.C.Types

Show CIntMax
Instance details

Defined in Foreign.C.Types

Show CUIntMax
Instance details

Defined in Foreign.C.Types

Show WordPtr
Instance details

Defined in Foreign.Ptr

Show IntPtr
Instance details

Defined in Foreign.Ptr

Show IOMode

Since: base-4.2.0.0

Instance details

Defined in GHC.IO.IOMode

Show Fingerprint

Since: base-4.7.0.0

Instance details

Defined in GHC.Fingerprint.Type

Show Lexeme

Since: base-2.1

Instance details

Defined in Text.Read.Lex

Show Number

Since: base-4.6.0.0

Instance details

Defined in Text.Read.Lex

Show GeneralCategory

Since: base-2.1

Instance details

Defined in GHC.Unicode

Show SrcLoc

Since: base-4.9.0.0

Instance details

Defined in GHC.Show

Show SomeException

Since: base-3.0

Instance details

Defined in GHC.Exception.Type

Show ShortByteString
Instance details

Defined in Data.ByteString.Short.Internal

Show ByteString
Instance details

Defined in Data.ByteString.Lazy.Internal

Show ByteString
Instance details

Defined in Data.ByteString.Internal

Show IntSet
Instance details

Defined in Data.IntSet.Internal

Show FileType
Instance details

Defined in System.Directory.Internal.Common

Show Permissions
Instance details

Defined in System.Directory.Internal.Common

Show XdgDirectory
Instance details

Defined in System.Directory.Internal.Common

Show XdgDirectoryList
Instance details

Defined in System.Directory.Internal.Common

Show Extension
Instance details

Defined in GHC.LanguageExtensions.Type

Show ForeignSrcLang
Instance details

Defined in GHC.ForeignSrcLang.Type

Show ParseError
Instance details

Defined in Text.Parsec.Error

Show SourcePos
Instance details

Defined in Text.Parsec.Pos

Show Doc
Instance details

Defined in Text.PrettyPrint.HughesPJ

Show TextDetails
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Show Style
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Show Mode
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Show CreateProcess
Instance details

Defined in System.Process.Common

Show CmdSpec
Instance details

Defined in System.Process.Common

Show StdStream
Instance details

Defined in System.Process.Common

Show ModName
Instance details

Defined in Language.Haskell.TH.Syntax

Show PkgName
Instance details

Defined in Language.Haskell.TH.Syntax

Show Module
Instance details

Defined in Language.Haskell.TH.Syntax

Show OccName
Instance details

Defined in Language.Haskell.TH.Syntax

Show NameFlavour
Instance details

Defined in Language.Haskell.TH.Syntax

Show NameSpace
Instance details

Defined in Language.Haskell.TH.Syntax

Show Loc
Instance details

Defined in Language.Haskell.TH.Syntax

Show Info
Instance details

Defined in Language.Haskell.TH.Syntax

Show ModuleInfo
Instance details

Defined in Language.Haskell.TH.Syntax

Show Fixity
Instance details

Defined in Language.Haskell.TH.Syntax

Show FixityDirection
Instance details

Defined in Language.Haskell.TH.Syntax

Show Lit
Instance details

Defined in Language.Haskell.TH.Syntax

Show Bytes
Instance details

Defined in Language.Haskell.TH.Syntax

Show Body
Instance details

Defined in Language.Haskell.TH.Syntax

Show Guard
Instance details

Defined in Language.Haskell.TH.Syntax

Show Stmt
Instance details

Defined in Language.Haskell.TH.Syntax

Show Range
Instance details

Defined in Language.Haskell.TH.Syntax

Show DerivClause
Instance details

Defined in Language.Haskell.TH.Syntax

Show DerivStrategy
Instance details

Defined in Language.Haskell.TH.Syntax

Show TypeFamilyHead
Instance details

Defined in Language.Haskell.TH.Syntax

Show TySynEqn
Instance details

Defined in Language.Haskell.TH.Syntax

Show Foreign
Instance details

Defined in Language.Haskell.TH.Syntax

Show Callconv
Instance details

Defined in Language.Haskell.TH.Syntax

Show Safety
Instance details

Defined in Language.Haskell.TH.Syntax

Show Pragma
Instance details

Defined in Language.Haskell.TH.Syntax

Show Inline
Instance details

Defined in Language.Haskell.TH.Syntax

Show RuleMatch
Instance details

Defined in Language.Haskell.TH.Syntax

Show Phases
Instance details

Defined in Language.Haskell.TH.Syntax

Show RuleBndr
Instance details

Defined in Language.Haskell.TH.Syntax

Show AnnTarget
Instance details

Defined in Language.Haskell.TH.Syntax

Show SourceUnpackedness
Instance details

Defined in Language.Haskell.TH.Syntax

Show SourceStrictness
Instance details

Defined in Language.Haskell.TH.Syntax

Show DecidedStrictness
Instance details

Defined in Language.Haskell.TH.Syntax

Show Con
Instance details

Defined in Language.Haskell.TH.Syntax

Show Bang
Instance details

Defined in Language.Haskell.TH.Syntax

Show PatSynDir
Instance details

Defined in Language.Haskell.TH.Syntax

Show PatSynArgs
Instance details

Defined in Language.Haskell.TH.Syntax

Show TyVarBndr
Instance details

Defined in Language.Haskell.TH.Syntax

Show FamilyResultSig
Instance details

Defined in Language.Haskell.TH.Syntax

Show TyLit
Instance details

Defined in Language.Haskell.TH.Syntax

Show Role
Instance details

Defined in Language.Haskell.TH.Syntax

Show AnnLookup
Instance details

Defined in Language.Haskell.TH.Syntax

Show ZonedTime
Instance details

Defined in Data.Time.LocalTime.Internal.ZonedTime

Show LocalTime
Instance details

Defined in Data.Time.LocalTime.Internal.LocalTime

Show TimeOfDay
Instance details

Defined in Data.Time.LocalTime.Internal.TimeOfDay

Show TimeZone

This only shows the time zone name, or offset if the name is empty.

Instance details

Defined in Data.Time.LocalTime.Internal.TimeZone

Show NominalDiffTime
Instance details

Defined in Data.Time.Clock.Internal.NominalDiffTime

Show DiffTime
Instance details

Defined in Data.Time.Clock.Internal.DiffTime

Show Structure Source #
Instance details

Defined in Distribution.Utils.Structured

Show ShortText Source #
Instance details

Defined in Distribution.Utils.ShortText

Show Result Source #
Instance details

Defined in Distribution.TestSuite

Show OptionType Source #
Instance details

Defined in Distribution.TestSuite

Show OptionDescr Source #
Instance details

Defined in Distribution.TestSuite

Show PathTemplateVariable Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Show PathComponent Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Show CDialect Source #
Instance details

Defined in Distribution.Simple.CCompiler

Show Position Source #
Instance details

Defined in Distribution.Parsec.Position

Show PWarning Source #
Instance details

Defined in Distribution.Parsec.Warning

Show PWarnType Source #
Instance details

Defined in Distribution.Parsec.Warning

Show FieldLineStream Source #
Instance details

Defined in Distribution.Parsec.FieldLineStream

Show PError Source #
Instance details

Defined in Distribution.Parsec.Error

Show LexWarning Source #
Instance details

Defined in Distribution.Fields.LexerMonad

Show LexWarningType Source #
Instance details

Defined in Distribution.Fields.LexerMonad

Show LToken Source #
Instance details

Defined in Distribution.Fields.Lexer

Show Token Source #
Instance details

Defined in Distribution.Fields.Lexer

Show HasCommonStanzas Source #
Instance details

Defined in Distribution.CabalSpecVersion

Show HasElif Source #
Instance details

Defined in Distribution.CabalSpecVersion

Show CabalSpecVersion Source #
Instance details

Defined in Distribution.CabalSpecVersion

Show LicenseListVersion Source #
Instance details

Defined in Distribution.SPDX.LicenseListVersion

Show Version Source #
Instance details

Defined in Distribution.Types.Version

Show VersionRange Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

Show Bound Source #
Instance details

Defined in Distribution.Types.VersionInterval

Show UpperBound Source #
Instance details

Defined in Distribution.Types.VersionInterval

Show LowerBound Source #
Instance details

Defined in Distribution.Types.VersionInterval

Show VersionIntervals Source #
Instance details

Defined in Distribution.Types.VersionInterval

Show RepoType Source #
Instance details

Defined in Distribution.Types.SourceRepo

Show RepoKind Source #
Instance details

Defined in Distribution.Types.SourceRepo

Show SourceRepo Source #
Instance details

Defined in Distribution.Types.SourceRepo

Show PkgconfigVersion Source #
Instance details

Defined in Distribution.Types.PkgconfigVersion

Show PkgconfigVersionRange Source #
Instance details

Defined in Distribution.Types.PkgconfigVersionRange

Show PkgconfigName Source #
Instance details

Defined in Distribution.Types.PkgconfigName

Show PkgconfigDependency Source #
Instance details

Defined in Distribution.Types.PkgconfigDependency

Show PackageName Source #
Instance details

Defined in Distribution.Types.PackageName

Show UnqualComponentName Source #
Instance details

Defined in Distribution.Types.UnqualComponentName

Show PackageVersionConstraint Source #
Instance details

Defined in Distribution.Types.PackageVersionConstraint

Show LibraryVisibility Source #
Instance details

Defined in Distribution.Types.LibraryVisibility

Show LibraryName Source #
Instance details

Defined in Distribution.Types.LibraryName

Show MungedPackageName Source #
Instance details

Defined in Distribution.Types.MungedPackageName

Show ForeignLibType Source #
Instance details

Defined in Distribution.Types.ForeignLibType

Show ForeignLibOption Source #
Instance details

Defined in Distribution.Types.ForeignLibOption

Show FlagAssignment Source #

Since: 2.2.0

Instance details

Defined in Distribution.Types.Flag

Show FlagName Source #
Instance details

Defined in Distribution.Types.Flag

Show Flag Source #
Instance details

Defined in Distribution.Types.Flag

Show ExecutableScope Source #
Instance details

Defined in Distribution.Types.ExecutableScope

Show ComponentName Source #
Instance details

Defined in Distribution.Types.ComponentName

Show ComponentId Source #
Instance details

Defined in Distribution.Types.ComponentId

Show GivenComponent Source #
Instance details

Defined in Distribution.Types.GivenComponent

Show BuildType Source #
Instance details

Defined in Distribution.Types.BuildType

Show AbiHash Source #
Instance details

Defined in Distribution.Types.AbiHash

Show Platform Source #
Instance details

Defined in Distribution.System

Show Arch Source #
Instance details

Defined in Distribution.System

Show OS Source #
Instance details

Defined in Distribution.System

Show LicenseRef Source #
Instance details

Defined in Distribution.SPDX.LicenseReference

Show LicenseId Source #
Instance details

Defined in Distribution.SPDX.LicenseId

Show LicenseExceptionId Source #
Instance details

Defined in Distribution.SPDX.LicenseExceptionId

Show SimpleLicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Show LicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Show License Source #
Instance details

Defined in Distribution.SPDX.License

Show ModuleName Source #
Instance details

Defined in Distribution.ModuleName

Show ModuleRenaming Source #
Instance details

Defined in Distribution.Types.ModuleRenaming

Show IncludeRenaming Source #
Instance details

Defined in Distribution.Types.IncludeRenaming

Show Mixin Source #
Instance details

Defined in Distribution.Types.Mixin

Show ModuleReexport Source #
Instance details

Defined in Distribution.Types.ModuleReexport

Show VerbosityFlag Source #
Instance details

Defined in Distribution.Verbosity.Internal

Show VerbosityLevel Source #
Instance details

Defined in Distribution.Verbosity.Internal

Show Verbosity Source #
Instance details

Defined in Distribution.Verbosity

Show TestType Source #
Instance details

Defined in Distribution.Types.TestType

Show TestSuiteInterface Source #
Instance details

Defined in Distribution.Types.TestSuiteInterface

Show PackageIdentifier Source #
Instance details

Defined in Distribution.Types.PackageId

Show DefUnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Show UnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Show Module Source #
Instance details

Defined in Distribution.Types.Module

Show OpenModule Source #
Instance details

Defined in Distribution.Backpack

Show OpenUnitId Source #
Instance details

Defined in Distribution.Backpack

Show ExposedModule Source #
Instance details

Defined in Distribution.Types.ExposedModule

Show FullUnitId Source #
Instance details

Defined in Distribution.Backpack.FullUnitId

Show MungedPackageId Source #
Instance details

Defined in Distribution.Types.MungedPackageId

Show LegacyExeDependency Source #
Instance details

Defined in Distribution.Types.LegacyExeDependency

Show ExeDependency Source #
Instance details

Defined in Distribution.Types.ExeDependency

Show Dependency Source #
Instance details

Defined in Distribution.Types.Dependency

Show SetupBuildInfo Source #
Instance details

Defined in Distribution.Types.SetupBuildInfo

Show DependencyMap Source #
Instance details

Defined in Distribution.Types.DependencyMap

Show BenchmarkType Source #
Instance details

Defined in Distribution.Types.BenchmarkType

Show BenchmarkInterface Source #
Instance details

Defined in Distribution.Types.BenchmarkInterface

Show AbiDependency Source #
Instance details

Defined in Distribution.Types.AbiDependency

Show License Source #
Instance details

Defined in Distribution.License

Show InstalledPackageInfo Source #
Instance details

Defined in Distribution.Types.InstalledPackageInfo

Show KnownExtension Source #
Instance details

Defined in Language.Haskell.Extension

Show Extension Source #
Instance details

Defined in Language.Haskell.Extension

Show Language Source #
Instance details

Defined in Language.Haskell.Extension

Show AbiTag Source #
Instance details

Defined in Distribution.Compiler

Show CompilerInfo Source #
Instance details

Defined in Distribution.Compiler

Show CompilerId Source #
Instance details

Defined in Distribution.Compiler

Show CompilerFlavor Source #
Instance details

Defined in Distribution.Compiler

Show ConfVar Source #
Instance details

Defined in Distribution.Types.ConfVar

Show BuildInfo Source #
Instance details

Defined in Distribution.Types.BuildInfo

Show TestSuite Source #
Instance details

Defined in Distribution.Types.TestSuite

Show Library Source #
Instance details

Defined in Distribution.Types.Library

Show LibVersionInfo Source #
Instance details

Defined in Distribution.Types.ForeignLib

Show ForeignLib Source #
Instance details

Defined in Distribution.Types.ForeignLib

Show Executable Source #
Instance details

Defined in Distribution.Types.Executable

Show Benchmark Source #
Instance details

Defined in Distribution.Types.Benchmark

Show Component Source #
Instance details

Defined in Distribution.Types.Component

Show ComponentRequestedSpec Source #
Instance details

Defined in Distribution.Types.ComponentRequestedSpec

Show PackageDescription Source #
Instance details

Defined in Distribution.Types.PackageDescription

Show GenericPackageDescription Source #
Instance details

Defined in Distribution.Types.GenericPackageDescription

Show PathTemplate Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Show CopyDest Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Show ProgramLocation Source #
Instance details

Defined in Distribution.Simple.Program.Types

Show ConfiguredProgram Source #
Instance details

Defined in Distribution.Simple.Program.Types

Show Program Source #
Instance details

Defined in Distribution.Simple.Program.Types

Show GlobSyntaxError Source #
Instance details

Defined in Distribution.Simple.Glob

Show ProfDetailLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Show DebugInfoLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Show OptimisationLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Show PackageDB Source #
Instance details

Defined in Distribution.Simple.Compiler

Show Compiler Source #
Instance details

Defined in Distribution.Simple.Compiler

Show GhcProfAuto Source #
Instance details

Defined in Distribution.Simple.Program.GHC

Show GhcDynLinkMode Source #
Instance details

Defined in Distribution.Simple.Program.GHC

Show GhcOptimisation Source #
Instance details

Defined in Distribution.Simple.Program.GHC

Show GhcMode Source #
Instance details

Defined in Distribution.Simple.Program.GHC

Show GhcOptions Source #
Instance details

Defined in Distribution.Simple.Program.GHC

Show ProgramDb Source #

Note that this instance does not preserve the known Program s. See restoreProgramDb for details.

Instance details

Defined in Distribution.Simple.Program.Db

Show ShowBuildInfoFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Show TestShowDetails Source #
Instance details

Defined in Distribution.Simple.Setup

Show ReplFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Show BuildFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Show CleanFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Show HaddockFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Show HaddockTarget Source #
Instance details

Defined in Distribution.Simple.Setup

Show DoctestFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Show HscolourFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Show RegisterFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Show SDistFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Show InstallFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Show CopyFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Show ConfigFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Show ComponentLocalBuildInfo Source #
Instance details

Defined in Distribution.Types.ComponentLocalBuildInfo

Show LocalBuildInfo Source #
Instance details

Defined in Distribution.Types.LocalBuildInfo

Show TestLogs Source #
Instance details

Defined in Distribution.Simple.Test.Log

Show TestSuiteLog Source #
Instance details

Defined in Distribution.Simple.Test.Log

Show PackageLog Source #
Instance details

Defined in Distribution.Simple.Test.Log

Show Way Source #
Instance details

Defined in Distribution.Simple.Hpc

Show QualLevel Source #
Instance details

Defined in Distribution.Simple.BuildTarget

Show BuildTargetProblem Source #
Instance details

Defined in Distribution.Simple.BuildTarget

Show UserBuildTargetProblem Source #
Instance details

Defined in Distribution.Simple.BuildTarget

Show BuildTarget Source #
Instance details

Defined in Distribution.Simple.BuildTarget

Show UserBuildTarget Source #
Instance details

Defined in Distribution.Simple.BuildTarget

Show PackageCheck Source #
Instance details

Defined in Distribution.PackageDescription.Check

Show GhcEnvironmentFileEntry Source #
Instance details

Defined in Distribution.Simple.GHC.Internal

Show ParseErrorExc Source #
Instance details

Defined in Distribution.Simple.GHC.EnvironmentParser

Show ModuleShape Source #
Instance details

Defined in Distribution.Backpack.ModuleShape

Show PreModuleShape Source #
Instance details

Defined in Distribution.Backpack.PreModuleShape

Show ModTime Source #
Instance details

Defined in Distribution.Compat.Time

Show ConfigStateFileError Source #
Instance details

Defined in Distribution.Simple.Configure

Show a => Show [a]

Since: base-2.1

Instance details

Defined in GHC.Show

Show a => Show ( Maybe a)

Since: base-2.1

Instance details

Defined in GHC.Show

Show a => Show ( Ratio a)

Since: base-2.0.1

Instance details

Defined in GHC.Real

Show ( Ptr a)

Since: base-2.1

Instance details

Defined in GHC.Ptr

Show ( FunPtr a)

Since: base-2.1

Instance details

Defined in GHC.Ptr

Show p => Show ( Par1 p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Show ( ForeignPtr a)

Since: base-2.1

Instance details

Defined in GHC.ForeignPtr

Show a => Show ( Complex a)

Since: base-2.1

Instance details

Defined in Data.Complex

Show a => Show ( Min a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Show a => Show ( Max a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Show a => Show ( First a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Show a => Show ( Last a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Show m => Show ( WrappedMonoid m)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Show a => Show ( Option a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Show a => Show ( ZipList a)

Since: base-4.7.0.0

Instance details

Defined in Control.Applicative

Show a => Show ( Identity a)

This instance would be equivalent to the derived instances of the Identity newtype if the runIdentity field were removed

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Show a => Show ( First a)

Since: base-2.1

Instance details

Defined in Data.Monoid

Show a => Show ( Last a)

Since: base-2.1

Instance details

Defined in Data.Monoid

Show a => Show ( Dual a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Show a => Show ( Sum a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Show a => Show ( Product a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Show a => Show ( Down a)

This instance would be equivalent to the derived instances of the Down newtype if the getDown field were removed

Since: base-4.7.0.0

Instance details

Defined in Data.Ord

Show a => Show ( NonEmpty a)

Since: base-4.11.0.0

Instance details

Defined in GHC.Show

Show a => Show ( Decoder a)
Instance details

Defined in Data.Binary.Get.Internal

Show a => Show ( IntMap a)
Instance details

Defined in Data.IntMap.Internal

Show vertex => Show ( SCC vertex)

Since: containers-0.5.9

Instance details

Defined in Data.Graph

Show a => Show ( Tree a)
Instance details

Defined in Data.Tree

Show a => Show ( Seq a)
Instance details

Defined in Data.Sequence.Internal

Show a => Show ( ViewL a)
Instance details

Defined in Data.Sequence.Internal

Show a => Show ( ViewR a)
Instance details

Defined in Data.Sequence.Internal

Show a => Show ( Set a)
Instance details

Defined in Data.Set.Internal

Show ( Doc a)
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Show a => Show ( AnnotDetails a)
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Show a => Show ( Span a)
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Show a => Show ( Option' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Show a => Show ( Last' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Show a => Show ( First' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Show c => Show ( Condition c) Source #
Instance details

Defined in Distribution.Types.Condition

Show a => Show ( Flag a) Source #
Instance details

Defined in Distribution.Simple.Flag

Show ann => Show ( Name ann) Source #
Instance details

Defined in Distribution.Fields.Field

Show ann => Show ( SectionArg ann) Source #
Instance details

Defined in Distribution.Fields.Field

Show ann => Show ( FieldLine ann) Source #
Instance details

Defined in Distribution.Fields.Field

Show ann => Show ( Field ann) Source #
Instance details

Defined in Distribution.Fields.Field

Show a => Show ( VersionRangeF a) Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

Show a => Show ( Graph a) Source #
Instance details

Defined in Distribution.Compat.Graph

Show id => Show ( AnnotatedId id) Source #
Instance details

Defined in Distribution.Types.AnnotatedId

Show v => Show ( PerCompilerFlavor v) Source #
Instance details

Defined in Distribution.Compiler

Show dir => Show ( InstallDirs dir) Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Show a => Show ( NubListR a) Source #
Instance details

Defined in Distribution.Utils.NubList

Show a => Show ( NubList a) Source #
Instance details

Defined in Distribution.Utils.NubList

Show a => Show ( GlobResult a) Source #
Instance details

Defined in Distribution.Simple.Glob

Show ann => Show ( Section ann) Source #
Instance details

Defined in Distribution.FieldGrammar.Parsec

Show ann => Show ( NamelessField ann) Source #
Instance details

Defined in Distribution.FieldGrammar.Parsec

Show a => Show ( PackageIndex a) Source #
Instance details

Defined in Distribution.Simple.PackageIndex

( Show a, Show b) => Show ( Either a b)

Since: base-3.0

Instance details

Defined in Data.Either

Show ( V1 p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Show ( U1 p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Show ( TypeRep a)
Instance details

Defined in Data.Typeable.Internal

( Show a, Show b) => Show (a, b)

Since: base-2.1

Instance details

Defined in GHC.Show

Show ( ST s a)

Since: base-2.1

Instance details

Defined in GHC.ST

( Ix ix, Show ix, Show e, IArray UArray e) => Show ( UArray ix e)
Instance details

Defined in Data.Array.Base

( Ix a, Show a, Show b) => Show ( Array a b)

Since: base-2.1

Instance details

Defined in GHC.Arr

HasResolution a => Show ( Fixed a)

Since: base-2.1

Instance details

Defined in Data.Fixed

( Show a, Show b) => Show ( Arg a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Show ( Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

( Show k, Show a) => Show ( Map k a)
Instance details

Defined in Data.Map.Internal

( Show1 m, Show a) => Show ( ListT m a)
Instance details

Defined in Control.Monad.Trans.List

( Show1 m, Show a) => Show ( MaybeT m a)
Instance details

Defined in Control.Monad.Trans.Maybe

( Show a, Show k) => Show ( Node k a) Source #
Instance details

Defined in Distribution.Compat.Graph

Show (f p) => Show ( Rec1 f p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Show ( URec Char p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Show ( URec Double p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Show ( URec Float p)
Instance details

Defined in GHC.Generics

Show ( URec Int p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Show ( URec Word p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

( Show a, Show b, Show c) => Show (a, b, c)

Since: base-2.1

Instance details

Defined in GHC.Show

Show a => Show ( Const a b)

This instance would be equivalent to the derived instances of the Const newtype if the getConst field were removed

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Const

Show (f a) => Show ( Ap f a)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Show (f a) => Show ( Alt f a)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Show ( Coercion a b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Coercion

Show (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Equality

( Show1 f, Show a) => Show ( IdentityT f a)
Instance details

Defined in Control.Monad.Trans.Identity

( Show e, Show1 m, Show a) => Show ( ErrorT e m a)
Instance details

Defined in Control.Monad.Trans.Error

( Show e, Show1 m, Show a) => Show ( ExceptT e m a)
Instance details

Defined in Control.Monad.Trans.Except

( Show w, Show1 m, Show a) => Show ( WriterT w m a)
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

( Show w, Show1 m, Show a) => Show ( WriterT w m a)
Instance details

Defined in Control.Monad.Trans.Writer.Strict

( Show v, Show a, Show c) => Show ( CondBranch v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

( Show a, Show c, Show v) => Show ( CondTree v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

Show c => Show ( K1 i c p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

( Show (f p), Show (g p)) => Show ((f :+: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

( Show (f p), Show (g p)) => Show ((f :*: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

( Show a, Show b, Show c, Show d) => Show (a, b, c, d)

Since: base-2.1

Instance details

Defined in GHC.Show

Methods

showsPrec :: Int -> (a, b, c, d) -> ShowS Source #

show :: (a, b, c, d) -> String Source #

showList :: [(a, b, c, d)] -> ShowS Source #

( Show1 f, Show1 g, Show a) => Show ( Product f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

( Show1 f, Show1 g, Show a) => Show ( Sum f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Sum

Show (a :~~: b)

Since: base-4.10.0.0

Instance details

Defined in Data.Type.Equality

Show (f p) => Show ( M1 i c f p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Show (f (g p)) => Show ((f :.: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

( Show a, Show b, Show c, Show d, Show e) => Show (a, b, c, d, e)

Since: base-2.1

Instance details

Defined in GHC.Show

Methods

showsPrec :: Int -> (a, b, c, d, e) -> ShowS Source #

show :: (a, b, c, d, e) -> String Source #

showList :: [(a, b, c, d, e)] -> ShowS Source #

( Show1 f, Show1 g, Show a) => Show ( Compose f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Compose

( Show a, Show b, Show c, Show d, Show e, Show f) => Show (a, b, c, d, e, f)

Since: base-2.1

Instance details

Defined in GHC.Show

Methods

showsPrec :: Int -> (a, b, c, d, e, f) -> ShowS Source #

show :: (a, b, c, d, e, f) -> String Source #

showList :: [(a, b, c, d, e, f)] -> ShowS Source #

( Show a, Show b, Show c, Show d, Show e, Show f, Show g) => Show (a, b, c, d, e, f, g)

Since: base-2.1

Instance details

Defined in GHC.Show

Methods

showsPrec :: Int -> (a, b, c, d, e, f, g) -> ShowS Source #

show :: (a, b, c, d, e, f, g) -> String Source #

showList :: [(a, b, c, d, e, f, g)] -> ShowS Source #

( Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h) => Show (a, b, c, d, e, f, g, h)

Since: base-2.1

Instance details

Defined in GHC.Show

Methods

showsPrec :: Int -> (a, b, c, d, e, f, g, h) -> ShowS Source #

show :: (a, b, c, d, e, f, g, h) -> String Source #

showList :: [(a, b, c, d, e, f, g, h)] -> ShowS Source #

( Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i) => Show (a, b, c, d, e, f, g, h, i)

Since: base-2.1

Instance details

Defined in GHC.Show

Methods

showsPrec :: Int -> (a, b, c, d, e, f, g, h, i) -> ShowS Source #

show :: (a, b, c, d, e, f, g, h, i) -> String Source #

showList :: [(a, b, c, d, e, f, g, h, i)] -> ShowS Source #

( Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j) => Show (a, b, c, d, e, f, g, h, i, j)

Since: base-2.1

Instance details

Defined in GHC.Show

Methods

showsPrec :: Int -> (a, b, c, d, e, f, g, h, i, j) -> ShowS Source #

show :: (a, b, c, d, e, f, g, h, i, j) -> String Source #

showList :: [(a, b, c, d, e, f, g, h, i, j)] -> ShowS Source #

( Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k) => Show (a, b, c, d, e, f, g, h, i, j, k)

Since: base-2.1

Instance details

Defined in GHC.Show

Methods

showsPrec :: Int -> (a, b, c, d, e, f, g, h, i, j, k) -> ShowS Source #

show :: (a, b, c, d, e, f, g, h, i, j, k) -> String Source #

showList :: [(a, b, c, d, e, f, g, h, i, j, k)] -> ShowS Source #

( Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k, Show l) => Show (a, b, c, d, e, f, g, h, i, j, k, l)

Since: base-2.1

Instance details

Defined in GHC.Show

Methods

showsPrec :: Int -> (a, b, c, d, e, f, g, h, i, j, k, l) -> ShowS Source #

show :: (a, b, c, d, e, f, g, h, i, j, k, l) -> String Source #

showList :: [(a, b, c, d, e, f, g, h, i, j, k, l)] -> ShowS Source #

( Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k, Show l, Show m) => Show (a, b, c, d, e, f, g, h, i, j, k, l, m)

Since: base-2.1

Instance details

Defined in GHC.Show

Methods

showsPrec :: Int -> (a, b, c, d, e, f, g, h, i, j, k, l, m) -> ShowS Source #

show :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> String Source #

showList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m)] -> ShowS Source #

( Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k, Show l, Show m, Show n) => Show (a, b, c, d, e, f, g, h, i, j, k, l, m, n)

Since: base-2.1

Instance details

Defined in GHC.Show

Methods

showsPrec :: Int -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> ShowS Source #

show :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> String Source #

showList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] -> ShowS Source #

( Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k, Show l, Show m, Show n, Show o) => Show (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)

Since: base-2.1

Instance details

Defined in GHC.Show

Methods

showsPrec :: Int -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> ShowS Source #

show :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> String Source #

showList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] -> ShowS Source #

class Monad m => MonadFail (m :: Type -> Type ) where Source #

When a value is bound in do -notation, the pattern on the left hand side of <- might not match. In this case, this class provides a function to recover.

A Monad without a MonadFail instance may only be used in conjunction with pattern that always match, such as newtypes, tuples, data types with only a single data constructor, and irrefutable patterns ( ~pat ).

Instances of MonadFail should satisfy the following law: fail s should be a left zero for >>= ,

fail s >>= f  =  fail s

If your Monad is also MonadPlus , a popular definition is

fail _ = mzero

Since: base-4.9.0.0

Instances

Instances details
MonadFail []

Since: base-4.9.0.0

Instance details

Defined in Control.Monad.Fail

MonadFail Maybe

Since: base-4.9.0.0

Instance details

Defined in Control.Monad.Fail

MonadFail IO

Since: base-4.9.0.0

Instance details

Defined in Control.Monad.Fail

MonadFail Q
Instance details

Defined in Language.Haskell.TH.Syntax

MonadFail ReadPrec

Since: base-4.9.0.0

Instance details

Defined in Text.ParserCombinators.ReadPrec

MonadFail ReadP

Since: base-4.9.0.0

Instance details

Defined in Text.ParserCombinators.ReadP

MonadFail Get
Instance details

Defined in Data.Binary.Get.Internal

MonadFail P

Since: base-4.9.0.0

Instance details

Defined in Text.ParserCombinators.ReadP

MonadFail ParsecParser Source #
Instance details

Defined in Distribution.Parsec

MonadFail ( ST s)

Since: base-4.11.0.0

Instance details

Defined in GHC.ST

Monad m => MonadFail ( ListT m)
Instance details

Defined in Control.Monad.Trans.List

Monad m => MonadFail ( MaybeT m)
Instance details

Defined in Control.Monad.Trans.Maybe

MonadFail f => MonadFail ( Ap f)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

MonadFail m => MonadFail ( IdentityT m)
Instance details

Defined in Control.Monad.Trans.Identity

( Monad m, Error e) => MonadFail ( ErrorT e m)
Instance details

Defined in Control.Monad.Trans.Error

MonadFail m => MonadFail ( ExceptT e m)
Instance details

Defined in Control.Monad.Trans.Except

MonadFail m => MonadFail ( ReaderT r m)
Instance details

Defined in Control.Monad.Trans.Reader

MonadFail m => MonadFail ( StateT s m)
Instance details

Defined in Control.Monad.Trans.State.Lazy

MonadFail m => MonadFail ( StateT s m)
Instance details

Defined in Control.Monad.Trans.State.Strict

( Monoid w, MonadFail m) => MonadFail ( WriterT w m)
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

( Monoid w, MonadFail m) => MonadFail ( WriterT w m)
Instance details

Defined in Control.Monad.Trans.Writer.Strict

MonadFail m => MonadFail ( ContT r m)
Instance details

Defined in Control.Monad.Trans.Cont

MonadFail ( ParsecT s u m)

Since: parsec-3.1.12.0

Instance details

Defined in Text.Parsec.Prim

( Monoid w, MonadFail m) => MonadFail ( RWST r w s m)
Instance details

Defined in Control.Monad.Trans.RWS.Lazy

( Monoid w, MonadFail m) => MonadFail ( RWST r w s m)
Instance details

Defined in Control.Monad.Trans.RWS.Strict

class Functor f => Applicative (f :: Type -> Type ) where Source #

A functor with application, providing operations to

  • embed pure expressions ( pure ), and
  • sequence computations and combine their results ( <*> and liftA2 ).

A minimal complete definition must include implementations of pure and of either <*> or liftA2 . If it defines both, then they must behave the same as their default definitions:

(<*>) = liftA2 id
liftA2 f x y = f <$> x <*> y

Further, any definition must satisfy the following:

Identity
pure id <*> v = v
Composition
pure (.) <*> u <*> v <*> w = u <*> (v <*> w)
Homomorphism
pure f <*> pure x = pure (f x)
Interchange
u <*> pure y = pure ($ y) <*> u

The other methods have the following default definitions, which may be overridden with equivalent specialized implementations:

As a consequence of these laws, the Functor instance for f will satisfy

It may be useful to note that supposing

forall x y. p (q x y) = f x . g y

it follows from the above that

liftA2 p (liftA2 q u v) = liftA2 f u . liftA2 g v

If f is also a Monad , it should satisfy

(which implies that pure and <*> satisfy the applicative functor laws).

Minimal complete definition

pure , ( (<*>) | liftA2 )

Methods

pure :: a -> f a Source #

Lift a value.

(<*>) :: f (a -> b) -> f a -> f b infixl 4 Source #

Sequential application.

A few functors support an implementation of <*> that is more efficient than the default one.

Using ApplicativeDo : ' fs <*> as ' can be understood as the do expression

do f <- fs
   a <- as
   pure (f a)

(*>) :: f a -> f b -> f b infixl 4 Source #

Sequence actions, discarding the value of the first argument.

' as *> bs ' can be understood as the do expression

do as
   bs

This is a tad complicated for our ApplicativeDo extension which will give it a Monad constraint. For an Applicative constraint we write it of the form

do _ <- as
   b <- bs
   pure b

(<*) :: f a -> f b -> f a infixl 4 Source #

Sequence actions, discarding the value of the second argument.

Using ApplicativeDo : ' as <* bs ' can be understood as the do expression

do a <- as
   bs
   pure a

Instances

Instances details
Applicative []

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

pure :: a -> [a] Source #

(<*>) :: [a -> b] -> [a] -> [b] Source #

liftA2 :: (a -> b -> c) -> [a] -> [b] -> [c] Source #

(*>) :: [a] -> [b] -> [b] Source #

(<*) :: [a] -> [b] -> [a] Source #

Applicative Maybe

Since: base-2.1

Instance details

Defined in GHC.Base

Applicative IO

Since: base-2.1

Instance details

Defined in GHC.Base

Applicative Par1

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Applicative Q
Instance details

Defined in Language.Haskell.TH.Syntax

Applicative Complex

Since: base-4.9.0.0

Instance details

Defined in Data.Complex

Applicative Min

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Applicative Max

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Applicative First

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Applicative Last

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Applicative Option

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Applicative ZipList
f <$> ZipList xs1 <*> ... <*> ZipList xsN
    = ZipList (zipWithN f xs1 ... xsN)

where zipWithN refers to the zipWith function of the appropriate arity ( zipWith , zipWith3 , zipWith4 , ...). For example:

(\a b c -> stimes c [a, b]) <$> ZipList "abcd" <*> ZipList "567" <*> ZipList [1..]
    = ZipList (zipWith3 (\a b c -> stimes c [a, b]) "abcd" "567" [1..])
    = ZipList {getZipList = ["a5","b6b6","c7c7c7"]}

Since: base-2.1

Instance details

Defined in Control.Applicative

Applicative Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Applicative STM

Since: base-4.8.0.0

Instance details

Defined in GHC.Conc.Sync

Applicative First

Since: base-4.8.0.0

Instance details

Defined in Data.Monoid

Applicative Last

Since: base-4.8.0.0

Instance details

Defined in Data.Monoid

Applicative Dual

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Applicative Sum

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Applicative Product

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Applicative Down

Since: base-4.11.0.0

Instance details

Defined in Data.Ord

Applicative ReadPrec

Since: base-4.6.0.0

Instance details

Defined in Text.ParserCombinators.ReadPrec

Applicative ReadP

Since: base-4.6.0.0

Instance details

Defined in Text.ParserCombinators.ReadP

Applicative NonEmpty

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Applicative PutM
Instance details

Defined in Data.Binary.Put

Applicative Get
Instance details

Defined in Data.Binary.Get.Internal

Applicative Put
Instance details

Defined in Data.ByteString.Builder.Internal

Applicative Tree
Instance details

Defined in Data.Tree

Applicative Seq

Since: containers-0.5.4

Instance details

Defined in Data.Sequence.Internal

Applicative P

Since: base-4.5.0.0

Instance details

Defined in Text.ParserCombinators.ReadP

Methods

pure :: a -> P a Source #

(<*>) :: P (a -> b) -> P a -> P b Source #

liftA2 :: (a -> b -> c) -> P a -> P b -> P c Source #

(*>) :: P a -> P b -> P b Source #

(<*) :: P a -> P b -> P a Source #

Applicative Condition Source #
Instance details

Defined in Distribution.Types.Condition

Applicative Flag Source #
Instance details

Defined in Distribution.Simple.Flag

Applicative Lex Source #
Instance details

Defined in Distribution.Fields.LexerMonad

Applicative ParsecParser Source #
Instance details

Defined in Distribution.Parsec

Applicative LogProgress Source #
Instance details

Defined in Distribution.Utils.LogProgress

Applicative ParseResult Source #
Instance details

Defined in Distribution.Fields.ParseResult

Applicative ( Either e)

Since: base-3.0

Instance details

Defined in Data.Either

Applicative ( U1 :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Monoid a => Applicative ( (,) a)

For tuples, the Monoid constraint on a determines how the first values merge. For example, String s concatenate:

("hello ", (+15)) <*> ("world!", 2002)
("hello world!",2017)

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

pure :: a0 -> (a, a0) Source #

(<*>) :: (a, a0 -> b) -> (a, a0) -> (a, b) Source #

liftA2 :: (a0 -> b -> c) -> (a, a0) -> (a, b) -> (a, c) Source #

(*>) :: (a, a0) -> (a, b) -> (a, b) Source #

(<*) :: (a, a0) -> (a, b) -> (a, a0) Source #

Applicative ( ST s)

Since: base-4.4.0.0

Instance details

Defined in GHC.ST

Methods

pure :: a -> ST s a Source #

(<*>) :: ST s (a -> b) -> ST s a -> ST s b Source #

liftA2 :: (a -> b -> c) -> ST s a -> ST s b -> ST s c Source #

(*>) :: ST s a -> ST s b -> ST s b Source #

(<*) :: ST s a -> ST s b -> ST s a Source #

Monad m => Applicative ( WrappedMonad m)

Since: base-2.1

Instance details

Defined in Control.Applicative

Arrow a => Applicative ( ArrowMonad a)

Since: base-4.6.0.0

Instance details

Defined in Control.Arrow

Applicative ( Proxy :: Type -> Type )

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Applicative m => Applicative ( ListT m)
Instance details

Defined in Control.Monad.Trans.List

( Functor m, Monad m) => Applicative ( MaybeT m)
Instance details

Defined in Control.Monad.Trans.Maybe

Applicative (SetM s)
Instance details

Defined in Data.Graph

Methods

pure :: a -> SetM s a Source #

(<*>) :: SetM s (a -> b) -> SetM s a -> SetM s b Source #

liftA2 :: (a -> b -> c) -> SetM s a -> SetM s b -> SetM s c Source #

(*>) :: SetM s a -> SetM s b -> SetM s b Source #

(<*) :: SetM s a -> SetM s b -> SetM s a Source #

Applicative ( PrettyFieldGrammar s) Source #
Instance details

Defined in Distribution.FieldGrammar.Pretty

Applicative ( ParsecFieldGrammar s) Source #
Instance details

Defined in Distribution.FieldGrammar.Parsec

Applicative ( FieldDescrs s) Source #
Instance details

Defined in Distribution.FieldGrammar.FieldDescrs

Applicative f => Applicative ( Rec1 f)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

( Monoid a, Monoid b) => Applicative ( (,,) a b)

Since: base-4.14.0.0

Instance details

Defined in GHC.Base

Methods

pure :: a0 -> (a, b, a0) Source #

(<*>) :: (a, b, a0 -> b0) -> (a, b, a0) -> (a, b, b0) Source #

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

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

(<*) :: (a, b, a0) -> (a, b, b0) -> (a, b, a0) Source #

Arrow a => Applicative ( WrappedArrow a b)

Since: base-2.1

Instance details

Defined in Control.Applicative

Applicative m => Applicative ( Kleisli m a)

Since: base-4.14.0.0

Instance details

Defined in Control.Arrow

Monoid m => Applicative ( Const m :: Type -> Type )

Since: base-2.0.1

Instance details

Defined in Data.Functor.Const

Applicative f => Applicative ( Ap f)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Methods

pure :: a -> Ap f a Source #

(<*>) :: Ap f (a -> b) -> Ap f a -> Ap f b Source #

liftA2 :: (a -> b -> c) -> Ap f a -> Ap f b -> Ap f c Source #

(*>) :: Ap f a -> Ap f b -> Ap f b Source #

(<*) :: Ap f a -> Ap f b -> Ap f a Source #

Applicative f => Applicative ( Alt f)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

( Applicative f, Monad f) => Applicative ( WhenMissing f x)

Equivalent to ReaderT k (ReaderT x (MaybeT f)) .

Since: containers-0.5.9

Instance details

Defined in Data.IntMap.Internal

Applicative m => Applicative ( IdentityT m)
Instance details

Defined in Control.Monad.Trans.Identity

( Functor m, Monad m) => Applicative ( ErrorT e m)
Instance details

Defined in Control.Monad.Trans.Error

( Functor m, Monad m) => Applicative ( ExceptT e m)
Instance details

Defined in Control.Monad.Trans.Except

Applicative m => Applicative ( ReaderT r m)
Instance details

Defined in Control.Monad.Trans.Reader

( Functor m, Monad m) => Applicative ( StateT s m)
Instance details

Defined in Control.Monad.Trans.State.Lazy

( Functor m, Monad m) => Applicative ( StateT s m)
Instance details

Defined in Control.Monad.Trans.State.Strict

( Monoid w, Applicative m) => Applicative ( WriterT w m)
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

( Monoid w, Applicative m) => Applicative ( WriterT w m)
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Applicative ( Progress step fail) Source #
Instance details

Defined in Distribution.Utils.Progress

Methods

pure :: a -> Progress step fail a Source #

(<*>) :: Progress step fail (a -> b) -> Progress step fail a -> Progress step fail b Source #

liftA2 :: (a -> b -> c) -> Progress step fail a -> Progress step fail b -> Progress step fail c Source #

(*>) :: Progress step fail a -> Progress step fail b -> Progress step fail b Source #

(<*) :: Progress step fail a -> Progress step fail b -> Progress step fail a Source #

Applicative ((->) r :: Type -> Type )

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

pure :: a -> r -> a Source #

(<*>) :: (r -> (a -> b)) -> (r -> a) -> r -> b Source #

liftA2 :: (a -> b -> c) -> (r -> a) -> (r -> b) -> r -> c Source #

(*>) :: (r -> a) -> (r -> b) -> r -> b Source #

(<*) :: (r -> a) -> (r -> b) -> r -> a Source #

Monoid c => Applicative ( K1 i c :: Type -> Type )

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

Methods

pure :: a -> K1 i c a Source #

(<*>) :: K1 i c (a -> b) -> K1 i c a -> K1 i c b Source #

liftA2 :: (a -> b -> c0) -> K1 i c a -> K1 i c b -> K1 i c c0 Source #

(*>) :: K1 i c a -> K1 i c b -> K1 i c b Source #

(<*) :: K1 i c a -> K1 i c b -> K1 i c a Source #

( Applicative f, Applicative g) => Applicative (f :*: g)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

pure :: a -> (f :*: g) a Source #

(<*>) :: (f :*: g) (a -> b) -> (f :*: g) a -> (f :*: g) b Source #

liftA2 :: (a -> b -> c) -> (f :*: g) a -> (f :*: g) b -> (f :*: g) c Source #

(*>) :: (f :*: g) a -> (f :*: g) b -> (f :*: g) b Source #

(<*) :: (f :*: g) a -> (f :*: g) b -> (f :*: g) a Source #

( Monoid a, Monoid b, Monoid c) => Applicative ( (,,,) a b c)

Since: base-4.14.0.0

Instance details

Defined in GHC.Base

Methods

pure :: a0 -> (a, b, c, a0) Source #

(<*>) :: (a, b, c, a0 -> b0) -> (a, b, c, a0) -> (a, b, c, b0) Source #

liftA2 :: (a0 -> b0 -> c0) -> (a, b, c, a0) -> (a, b, c, b0) -> (a, b, c, c0) Source #

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

(<*) :: (a, b, c, a0) -> (a, b, c, b0) -> (a, b, c, a0) Source #

( Applicative f, Applicative g) => Applicative ( Product f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

( Monad f, Applicative f) => Applicative ( WhenMatched f x y)

Equivalent to ReaderT Key (ReaderT x (ReaderT y (MaybeT f)))

Since: containers-0.5.9

Instance details

Defined in Data.IntMap.Internal

( Applicative f, Monad f) => Applicative ( WhenMissing f k x)

Equivalent to ReaderT k (ReaderT x (MaybeT f)) .

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Applicative ( ContT r m)
Instance details

Defined in Control.Monad.Trans.Cont

Methods

pure :: a -> ContT r m a Source #

(<*>) :: ContT r m (a -> b) -> ContT r m a -> ContT r m b Source #

liftA2 :: (a -> b -> c) -> ContT r m a -> ContT r m b -> ContT r m c Source #

(*>) :: ContT r m a -> ContT r m b -> ContT r m b Source #

(<*) :: ContT r m a -> ContT r m b -> ContT r m a Source #

Applicative ( ParsecT s u m)
Instance details

Defined in Text.Parsec.Prim

Methods

pure :: a -> ParsecT s u m a Source #

(<*>) :: ParsecT s u m (a -> b) -> ParsecT s u m a -> ParsecT s u m b Source #

liftA2 :: (a -> b -> c) -> ParsecT s u m a -> ParsecT s u m b -> ParsecT s u m c Source #

(*>) :: ParsecT s u m a -> ParsecT s u m b -> ParsecT s u m b Source #

(<*) :: ParsecT s u m a -> ParsecT s u m b -> ParsecT s u m a Source #

Applicative f => Applicative ( M1 i c f)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

pure :: a -> M1 i c f a Source #

(<*>) :: M1 i c f (a -> b) -> M1 i c f a -> M1 i c f b Source #

liftA2 :: (a -> b -> c0) -> M1 i c f a -> M1 i c f b -> M1 i c f c0 Source #

(*>) :: M1 i c f a -> M1 i c f b -> M1 i c f b Source #

(<*) :: M1 i c f a -> M1 i c f b -> M1 i c f a Source #

( Applicative f, Applicative g) => Applicative (f :.: g)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

pure :: a -> (f :.: g) a Source #

(<*>) :: (f :.: g) (a -> b) -> (f :.: g) a -> (f :.: g) b Source #

liftA2 :: (a -> b -> c) -> (f :.: g) a -> (f :.: g) b -> (f :.: g) c Source #

(*>) :: (f :.: g) a -> (f :.: g) b -> (f :.: g) b Source #

(<*) :: (f :.: g) a -> (f :.: g) b -> (f :.: g) a Source #

( Applicative f, Applicative g) => Applicative ( Compose f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Compose

( Monad f, Applicative f) => Applicative ( WhenMatched f k x y)

Equivalent to ReaderT k (ReaderT x (ReaderT y (MaybeT f)))

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

pure :: a -> WhenMatched f k x y a Source #

(<*>) :: WhenMatched f k x y (a -> b) -> WhenMatched f k x y a -> WhenMatched f k x y b Source #

liftA2 :: (a -> b -> c) -> WhenMatched f k x y a -> WhenMatched f k x y b -> WhenMatched f k x y c Source #

(*>) :: WhenMatched f k x y a -> WhenMatched f k x y b -> WhenMatched f k x y b Source #

(<*) :: WhenMatched f k x y a -> WhenMatched f k x y b -> WhenMatched f k x y a Source #

( Monoid w, Functor m, Monad m) => Applicative ( RWST r w s m)
Instance details

Defined in Control.Monad.Trans.RWS.Lazy

Methods

pure :: a -> RWST r w s m a Source #

(<*>) :: RWST r w s m (a -> b) -> RWST r w s m a -> RWST r w s m b Source #

liftA2 :: (a -> b -> c) -> RWST r w s m a -> RWST r w s m b -> RWST r w s m c Source #

(*>) :: RWST r w s m a -> RWST r w s m b -> RWST r w s m b Source #

(<*) :: RWST r w s m a -> RWST r w s m b -> RWST r w s m a Source #

( Monoid w, Functor m, Monad m) => Applicative ( RWST r w s m)
Instance details

Defined in Control.Monad.Trans.RWS.Strict

Methods

pure :: a -> RWST r w s m a Source #

(<*>) :: RWST r w s m (a -> b) -> RWST r w s m a -> RWST r w s m b Source #

liftA2 :: (a -> b -> c) -> RWST r w s m a -> RWST r w s m b -> RWST r w s m c Source #

(*>) :: RWST r w s m a -> RWST r w s m b -> RWST r w s m b Source #

(<*) :: RWST r w s m a -> RWST r w s m b -> RWST r w s m a Source #

elem :: ( Foldable t, Eq a) => a -> t a -> Bool infix 4 Source #

Does the element occur in the structure?

Since: base-4.8.0.0

minimum :: ( Foldable t, Ord a) => t a -> a Source #

The least element of a non-empty structure.

Since: base-4.8.0.0

maximum :: ( Foldable t, Ord a) => t a -> a Source #

The largest element of a non-empty structure.

Since: base-4.8.0.0

product :: ( Foldable t, Num a) => t a -> a Source #

The product function computes the product of the numbers of a structure.

Since: base-4.8.0.0

foldl :: Foldable t => (b -> a -> b) -> b -> t a -> b Source #

Left-associative fold of a structure.

In the case of lists, foldl , when applied to a binary operator, a starting value (typically the left-identity of the operator), and a list, reduces the list using the binary operator, from left to right:

foldl f z [x1, x2, ..., xn] == (...((z `f` x1) `f` x2) `f`...) `f` xn

Note that to produce the outermost application of the operator the entire input list must be traversed. This means that foldl' will diverge if given an infinite list.

Also note that if you want an efficient left-fold, you probably want to use foldl' instead of foldl . The reason for this is that latter does not force the "inner" results (e.g. z `f` x1 in the above example) before applying them to the operator (e.g. to (`f` x2) ). This results in a thunk chain \(\mathcal{O}(n)\) elements long, which then must be evaluated from the outside-in.

For a general Foldable structure this should be semantically identical to,

foldl f z = foldl f z . toList

sum :: ( Foldable t, Num a) => t a -> a Source #

The sum function computes the sum of the numbers of a structure.

Since: base-4.8.0.0

class Semigroup a => Monoid a where Source #

The class of monoids (types with an associative binary operation that has an identity). Instances should satisfy the following:

Right identity
x <> mempty = x
Left identity
mempty <> x = x
Associativity
x <> (y <> z) = (x <> y) <> z ( Semigroup law)
Concatenation
mconcat = foldr ( <> ) mempty

The method names refer to the monoid of lists under concatenation, but there are many other instances.

Some types can be viewed as a monoid in more than one way, e.g. both addition and multiplication on numbers. In such cases we often define newtype s and make those instances of Monoid , e.g. Sum and Product .

NOTE : Semigroup is a superclass of Monoid since base-4.11.0.0 .

Minimal complete definition

mempty

Methods

mempty :: a Source #

Identity of mappend

>>> "Hello world" <> mempty
"Hello world"

mappend :: a -> a -> a Source #

An associative operation

NOTE : This method is redundant and has the default implementation mappend = ( <> ) since base-4.11.0.0 . Should it be implemented manually, since mappend is a synonym for ( <> ), it is expected that the two functions are defined the same way. In a future GHC release mappend will be removed from Monoid .

mconcat :: [a] -> a Source #

Fold a list using the monoid.

For most types, the default definition for mconcat will be used, but the function is included in the class definition so that an optimized version can be provided for specific types.

>>> mconcat ["Hello", " ", "Haskell", "!"]
"Hello Haskell!"

Instances

Instances details
Monoid Ordering

Since: base-2.1

Instance details

Defined in GHC.Base

Monoid ()

Since: base-2.1

Instance details

Defined in GHC.Base

Monoid All

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Monoid Any

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Monoid ShortByteString
Instance details

Defined in Data.ByteString.Short.Internal

Monoid ByteString
Instance details

Defined in Data.ByteString.Lazy.Internal

Monoid ByteString
Instance details

Defined in Data.ByteString.Internal

Monoid Builder
Instance details

Defined in Data.ByteString.Builder.Internal

Monoid IntSet
Instance details

Defined in Data.IntSet.Internal

Monoid Doc
Instance details

Defined in Text.PrettyPrint.HughesPJ

Monoid ShortText Source #
Instance details

Defined in Distribution.Utils.ShortText

Monoid CDialect Source #
Instance details

Defined in Distribution.Simple.CCompiler

Monoid UnqualComponentName Source #
Instance details

Defined in Distribution.Types.UnqualComponentName

Monoid LibraryVisibility Source #
Instance details

Defined in Distribution.Types.LibraryVisibility

Monoid ForeignLibType Source #
Instance details

Defined in Distribution.Types.ForeignLibType

Monoid FlagAssignment Source #
Instance details

Defined in Distribution.Types.Flag

Monoid ExecutableScope Source #

mempty = ExecutablePublic

Instance details

Defined in Distribution.Types.ExecutableScope

Monoid TestSuiteInterface Source #
Instance details

Defined in Distribution.Types.TestSuiteInterface

Monoid SetupBuildInfo Source #
Instance details

Defined in Distribution.Types.SetupBuildInfo

Monoid DependencyMap Source #
Instance details

Defined in Distribution.Types.DependencyMap

Monoid BenchmarkInterface Source #
Instance details

Defined in Distribution.Types.BenchmarkInterface

Monoid BuildInfo Source #
Instance details

Defined in Distribution.Types.BuildInfo

Monoid TestSuite Source #
Instance details

Defined in Distribution.Types.TestSuite

Monoid Library Source #

This instance is not good.

We need it for addBuildableCondition . More correct method would be some kind of "create empty clone".

More concretely, addBuildableCondition will make `libVisibility = False` libraries when `buildable: false`. This may cause problems.

Instance details

Defined in Distribution.Types.Library

Monoid ForeignLib Source #
Instance details

Defined in Distribution.Types.ForeignLib

Monoid Executable Source #
Instance details

Defined in Distribution.Types.Executable

Monoid Benchmark Source #
Instance details

Defined in Distribution.Types.Benchmark

Monoid GhcOptions Source #
Instance details

Defined in Distribution.Simple.Program.GHC

Monoid BenchmarkFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid TestFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid TestShowDetails Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid ReplFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid BuildFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid CleanFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid HaddockFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid DoctestFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid HscolourFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid RegisterFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid SDistFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid InstallFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid CopyFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid ConfigFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid GlobalFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Monoid [a]

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

mempty :: [a] Source #

mappend :: [a] -> [a] -> [a] Source #

mconcat :: [[a]] -> [a] Source #

Semigroup a => Monoid ( Maybe a)

Lift a semigroup into Maybe forming a Monoid according to http://en.wikipedia.org/wiki/Monoid : "Any semigroup S may be turned into a monoid simply by adjoining an element e not in S and defining e*e = e and e*s = s = s*e for all s ∈ S ."

Since 4.11.0 : constraint on inner a value generalised from Monoid to Semigroup .

Since: base-2.1

Instance details

Defined in GHC.Base

Monoid a => Monoid ( IO a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Monoid p => Monoid ( Par1 p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

( Ord a, Bounded a) => Monoid ( Min a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

( Ord a, Bounded a) => Monoid ( Max a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Monoid m => Monoid ( WrappedMonoid m)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Semigroup a => Monoid ( Option a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Monoid a => Monoid ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Monoid ( First a)

Since: base-2.1

Instance details

Defined in Data.Monoid

Monoid ( Last a)

Since: base-2.1

Instance details

Defined in Data.Monoid

Monoid a => Monoid ( Dual a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Monoid ( Endo a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Num a => Monoid ( Sum a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Num a => Monoid ( Product a)

Since: base-2.1

Instance details

Defined in Data.Semigroup.Internal

Monoid a => Monoid ( Down a)

Since: base-4.11.0.0

Instance details

Defined in Data.Ord

Monoid ( PutM ())
Instance details

Defined in Data.Binary.Put

Monoid ( IntMap a)
Instance details

Defined in Data.IntMap.Internal

Monoid ( Seq a)
Instance details

Defined in Data.Sequence.Internal

Ord a => Monoid ( Set a)
Instance details

Defined in Data.Set.Internal

Monoid ( Doc a)
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Monoid (MergeSet a)
Instance details

Defined in Data.Set.Internal

Methods

mempty :: MergeSet a Source #

mappend :: MergeSet a -> MergeSet a -> MergeSet a Source #

mconcat :: [MergeSet a] -> MergeSet a Source #

Semigroup a => Monoid ( Option' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Monoid ( Condition a) Source #
Instance details

Defined in Distribution.Types.Condition

Monoid ( Flag a) Source #
Instance details

Defined in Distribution.Simple.Flag

Monoid ( DList a) Source #
Instance details

Defined in Distribution.Compat.DList

( Semigroup a, Monoid a) => Monoid ( PerCompilerFlavor a) Source #
Instance details

Defined in Distribution.Compiler

( Semigroup dir, Monoid dir) => Monoid ( InstallDirs dir) Source #
Instance details

Defined in Distribution.Simple.InstallDirs

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

Defined in Distribution.Utils.NubList

Ord a => Monoid ( NubList a) Source #

Monoid operations on NubLists. For a valid Monoid instance we need to satistfy the required monoid laws; identity, associativity and closure.

Identity : by inspection: mempty mappend NubList xs == NubList xs mappend mempty

Associativity : by inspection: (NubList xs mappend NubList ys) mappend NubList zs == NubList xs mappend (NubList ys mappend NubList zs)

Closure : appending two lists of type a and removing duplicates obviously does not change the type.

Instance details

Defined in Distribution.Utils.NubList

Monoid ( PackageIndex InstalledPackageInfo ) Source #
Instance details

Defined in Distribution.Simple.PackageIndex

Monoid b => Monoid (a -> b)

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

mempty :: a -> b Source #

mappend :: (a -> b) -> (a -> b) -> a -> b Source #

mconcat :: [a -> b] -> a -> b Source #

Monoid ( U1 p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

( Monoid a, Monoid b) => Monoid (a, b)

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

mempty :: (a, b) Source #

mappend :: (a, b) -> (a, b) -> (a, b) Source #

mconcat :: [(a, b)] -> (a, b) Source #

Monoid a => Monoid ( ST s a)

Since: base-4.11.0.0

Instance details

Defined in GHC.ST

Monoid ( Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Ord k => Monoid ( Map k v)
Instance details

Defined in Data.Map.Internal

Monoid (f p) => Monoid ( Rec1 f p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

( Monoid a, Monoid b, Monoid c) => Monoid (a, b, c)

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

mempty :: (a, b, c) Source #

mappend :: (a, b, c) -> (a, b, c) -> (a, b, c) Source #

mconcat :: [(a, b, c)] -> (a, b, c) Source #

Monoid a => Monoid ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

( Applicative f, Monoid a) => Monoid ( Ap f a)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Alternative f => Monoid ( Alt f a)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Monoid c => Monoid ( K1 i c p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

( Monoid (f p), Monoid (g p)) => Monoid ((f :*: g) p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

Methods

mempty :: (f :*: g) p Source #

mappend :: (f :*: g) p -> (f :*: g) p -> (f :*: g) p Source #

mconcat :: [(f :*: g) p] -> (f :*: g) p Source #

( Monoid a, Monoid b, Monoid c, Monoid d) => Monoid (a, b, c, d)

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

mempty :: (a, b, c, d) Source #

mappend :: (a, b, c, d) -> (a, b, c, d) -> (a, b, c, d) Source #

mconcat :: [(a, b, c, d)] -> (a, b, c, d) Source #

( Monoid a, Semigroup ( ParsecT s u m a)) => Monoid ( ParsecT s u m a)

The Monoid instance for ParsecT is used for the same purposes as the Semigroup instance.

Since: parsec-3.1.12

Instance details

Defined in Text.Parsec.Prim

Monoid (f p) => Monoid ( M1 i c f p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

Methods

mempty :: M1 i c f p Source #

mappend :: M1 i c f p -> M1 i c f p -> M1 i c f p Source #

mconcat :: [ M1 i c f p] -> M1 i c f p Source #

Monoid (f (g p)) => Monoid ((f :.: g) p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

Methods

mempty :: (f :.: g) p Source #

mappend :: (f :.: g) p -> (f :.: g) p -> (f :.: g) p Source #

mconcat :: [(f :.: g) p] -> (f :.: g) p Source #

( Monoid a, Monoid b, Monoid c, Monoid d, Monoid e) => Monoid (a, b, c, d, e)

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

mempty :: (a, b, c, d, e) Source #

mappend :: (a, b, c, d, e) -> (a, b, c, d, e) -> (a, b, c, d, e) Source #

mconcat :: [(a, b, c, d, e)] -> (a, b, c, d, e) Source #

data Bool Source #

Constructors

False
True

Instances

Instances details
Bounded Bool

Since: base-2.1

Instance details

Defined in GHC.Enum

Enum Bool

Since: base-2.1

Instance details

Defined in GHC.Enum

Eq Bool
Instance details

Defined in GHC.Classes

Data Bool

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Bool -> c Bool Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Bool Source #

toConstr :: Bool -> Constr Source #

dataTypeOf :: Bool -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Bool ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Bool ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Bool -> Bool Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Bool -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Bool -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Bool -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Bool -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Bool -> m Bool Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Bool -> m Bool Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Bool -> m Bool Source #

Ord Bool
Instance details

Defined in GHC.Classes

Read Bool

Since: base-2.1

Instance details

Defined in GHC.Read

Show Bool

Since: base-2.1

Instance details

Defined in GHC.Show

Ix Bool

Since: base-2.1

Instance details

Defined in GHC.Ix

Generic Bool

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep Bool :: Type -> Type Source #

Bits Bool

Interpret Bool as 1-bit bit-field

Since: base-4.7.0.0

Instance details

Defined in Data.Bits

FiniteBits Bool

Since: base-4.7.0.0

Instance details

Defined in Data.Bits

Binary Bool
Instance details

Defined in Data.Binary.Class

NFData Bool
Instance details

Defined in Control.DeepSeq

SingKind Bool

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type DemoteRep Bool

Methods

fromSing :: forall (a :: Bool ). Sing a -> DemoteRep Bool

Structured Bool Source #
Instance details

Defined in Distribution.Utils.Structured

BooleanFlag Bool Source #
Instance details

Defined in Distribution.Simple.Flag

Pretty Bool Source #
Instance details

Defined in Distribution.Pretty

Parsec Bool Source #
Instance details

Defined in Distribution.Parsec

Lift Bool
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Bool
Instance details

Defined in Data.Array.Base

SingI ' False

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

sing :: Sing ' False

SingI ' True

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

sing :: Sing ' True

MArray ( STUArray s) Bool ( ST s)
Instance details

Defined in Data.Array.Base

type Rep Bool
Instance details

Defined in GHC.Generics

type DemoteRep Bool
Instance details

Defined in GHC.Generics

type DemoteRep Bool = Bool
data Sing (a :: Bool )
Instance details

Defined in GHC.Generics

data Sing (a :: Bool ) where

data Char Source #

The character type Char is an enumeration whose values represent Unicode (or equivalently ISO/IEC 10646) code points (i.e. characters, see http://www.unicode.org/ for details). This set extends the ISO 8859-1 (Latin-1) character set (the first 256 characters), which is itself an extension of the ASCII character set (the first 128 characters). A character literal in Haskell has type Char .

To convert a Char to or from the corresponding Int value defined by Unicode, use toEnum and fromEnum from the Enum class respectively (or equivalently ord and chr ).

Instances

Instances details
Bounded Char

Since: base-2.1

Instance details

Defined in GHC.Enum

Enum Char

Since: base-2.1

Instance details

Defined in GHC.Enum

Eq Char
Instance details

Defined in GHC.Classes

Data Char

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Char -> c Char Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Char Source #

toConstr :: Char -> Constr Source #

dataTypeOf :: Char -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Char ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Char ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Char -> Char Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Char -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Char -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Char -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Char -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Char -> m Char Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Char -> m Char Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Char -> m Char Source #

Ord Char
Instance details

Defined in GHC.Classes

Read Char

Since: base-2.1

Instance details

Defined in GHC.Read

Show Char

Since: base-2.1

Instance details

Defined in GHC.Show

Ix Char

Since: base-2.1

Instance details

Defined in GHC.Ix

Binary Char
Instance details

Defined in Data.Binary.Class

NFData Char
Instance details

Defined in Control.DeepSeq

ErrorList Char
Instance details

Defined in Control.Monad.Trans.Error

Structured Char Source #
Instance details

Defined in Distribution.Utils.Structured

Lift Char
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Char
Instance details

Defined in Data.Array.Base

Newtype String FilePathNT Source #
Instance details

Defined in Distribution.Parsec.Newtypes

Newtype String Token' Source #
Instance details

Defined in Distribution.Parsec.Newtypes

Newtype String Token Source #
Instance details

Defined in Distribution.Parsec.Newtypes

Monad m => Stream ByteString m Char
Instance details

Defined in Text.Parsec.Prim

Monad m => Stream ByteString m Char
Instance details

Defined in Text.Parsec.Prim

Monad m => Stream Text m Char
Instance details

Defined in Text.Parsec.Prim

Monad m => Stream Text m Char
Instance details

Defined in Text.Parsec.Prim

Monad m => Stream FieldLineStream m Char Source #
Instance details

Defined in Distribution.Parsec.FieldLineStream

Generic1 ( URec Char :: k -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep1 ( URec Char ) :: k -> Type Source #

Foldable ( UChar :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Traversable ( UChar :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

MArray ( STUArray s) Char ( ST s)
Instance details

Defined in Data.Array.Base

Functor ( URec Char :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq ( URec Char p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Ord ( URec Char p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Show ( URec Char p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Generic ( URec Char p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( URec Char p) :: Type -> Type Source #

data URec Char (p :: k)

Used for marking occurrences of Char#

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

type Rep1 ( URec Char :: k -> Type )
Instance details

Defined in GHC.Generics

type Rep ( URec Char p)
Instance details

Defined in GHC.Generics

data Double Source #

Double-precision floating point numbers. It is desirable that this type be at least equal in range and precision to the IEEE double-precision type.

Instances

Instances details
Eq Double

Note that due to the presence of NaN , Double 's Eq instance does not satisfy reflexivity.

>>> 0/0 == (0/0 :: Double)
False

Also note that Double 's Eq instance does not satisfy substitutivity:

>>> 0 == (-0 :: Double)
True
>>> recip 0 == recip (-0 :: Double)
False
Instance details

Defined in GHC.Classes

Floating Double

Since: base-2.1

Instance details

Defined in GHC.Float

Data Double

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Double -> c Double Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Double Source #

toConstr :: Double -> Constr Source #

dataTypeOf :: Double -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Double ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Double ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Double -> Double Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Double -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Double -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Double -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Double -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Double -> m Double Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Double -> m Double Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Double -> m Double Source #

Ord Double

Note that due to the presence of NaN , Double 's Ord instance does not satisfy reflexivity.

>>> 0/0 <= (0/0 :: Double)
False

Also note that, due to the same, Ord 's operator interactions are not respected by Double 's instance:

>>> (0/0 :: Double) > 1
False
>>> compare (0/0 :: Double) 1
GT
Instance details

Defined in GHC.Classes

Read Double

Since: base-2.1

Instance details

Defined in GHC.Read

RealFloat Double

Since: base-2.1

Instance details

Defined in GHC.Float

Binary Double
Instance details

Defined in Data.Binary.Class

NFData Double
Instance details

Defined in Control.DeepSeq

Structured Double Source #
Instance details

Defined in Distribution.Utils.Structured

Lift Double
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Double
Instance details

Defined in Data.Array.Base

Generic1 ( URec Double :: k -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep1 ( URec Double ) :: k -> Type Source #

Foldable ( UDouble :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Traversable ( UDouble :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

MArray ( STUArray s) Double ( ST s)
Instance details

Defined in Data.Array.Base

Functor ( URec Double :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq ( URec Double p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Ord ( URec Double p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Show ( URec Double p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Generic ( URec Double p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

data URec Double (p :: k)

Used for marking occurrences of Double#

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

type Rep1 ( URec Double :: k -> Type )
Instance details

Defined in GHC.Generics

type Rep ( URec Double p)
Instance details

Defined in GHC.Generics

data Float Source #

Single-precision floating point numbers. It is desirable that this type be at least equal in range and precision to the IEEE single-precision type.

Instances

Instances details
Eq Float

Note that due to the presence of NaN , Float 's Eq instance does not satisfy reflexivity.

>>> 0/0 == (0/0 :: Float)
False

Also note that Float 's Eq instance does not satisfy substitutivity:

>>> 0 == (-0 :: Float)
True
>>> recip 0 == recip (-0 :: Float)
False
Instance details

Defined in GHC.Classes

Floating Float

Since: base-2.1

Instance details

Defined in GHC.Float

Data Float

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Float -> c Float Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Float Source #

toConstr :: Float -> Constr Source #

dataTypeOf :: Float -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Float ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Float ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Float -> Float Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Float -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Float -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Float -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Float -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Float -> m Float Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Float -> m Float Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Float -> m Float Source #

Ord Float

Note that due to the presence of NaN , Float 's Ord instance does not satisfy reflexivity.

>>> 0/0 <= (0/0 :: Float)
False

Also note that, due to the same, Ord 's operator interactions are not respected by Float 's instance:

>>> (0/0 :: Float) > 1
False
>>> compare (0/0 :: Float) 1
GT
Instance details

Defined in GHC.Classes

Read Float

Since: base-2.1

Instance details

Defined in GHC.Read

RealFloat Float

Since: base-2.1

Instance details

Defined in GHC.Float

Binary Float
Instance details

Defined in Data.Binary.Class

NFData Float
Instance details

Defined in Control.DeepSeq

Structured Float Source #
Instance details

Defined in Distribution.Utils.Structured

Lift Float
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Float
Instance details

Defined in Data.Array.Base

Generic1 ( URec Float :: k -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep1 ( URec Float ) :: k -> Type Source #

Foldable ( UFloat :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Traversable ( UFloat :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

MArray ( STUArray s) Float ( ST s)
Instance details

Defined in Data.Array.Base

Functor ( URec Float :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq ( URec Float p)
Instance details

Defined in GHC.Generics

Ord ( URec Float p)
Instance details

Defined in GHC.Generics

Show ( URec Float p)
Instance details

Defined in GHC.Generics

Generic ( URec Float p)
Instance details

Defined in GHC.Generics

data URec Float (p :: k)

Used for marking occurrences of Float#

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

type Rep1 ( URec Float :: k -> Type )
Instance details

Defined in GHC.Generics

type Rep ( URec Float p)
Instance details

Defined in GHC.Generics

data Int Source #

A fixed-precision integer type with at least the range [-2^29 .. 2^29-1] . The exact range for a given implementation can be determined by using minBound and maxBound from the Bounded class.

Instances

Instances details
Bounded Int

Since: base-2.1

Instance details

Defined in GHC.Enum

Enum Int

Since: base-2.1

Instance details

Defined in GHC.Enum

Eq Int
Instance details

Defined in GHC.Classes

Integral Int

Since: base-2.0.1

Instance details

Defined in GHC.Real

Data Int

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Int -> c Int Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Int Source #

toConstr :: Int -> Constr Source #

dataTypeOf :: Int -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Int ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Int ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Int -> Int Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Int -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Int -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Int -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Int -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Int -> m Int Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int -> m Int Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int -> m Int Source #

Num Int

Since: base-2.1

Instance details

Defined in GHC.Num

Ord Int
Instance details

Defined in GHC.Classes

Read Int

Since: base-2.1

Instance details

Defined in GHC.Read

Real Int

Since: base-2.0.1

Instance details

Defined in GHC.Real

Show Int

Since: base-2.1

Instance details

Defined in GHC.Show

Ix Int

Since: base-2.1

Instance details

Defined in GHC.Ix

Bits Int

Since: base-2.1

Instance details

Defined in Data.Bits

FiniteBits Int

Since: base-4.6.0.0

Instance details

Defined in Data.Bits

Binary Int
Instance details

Defined in Data.Binary.Class

NFData Int
Instance details

Defined in Control.DeepSeq

Methods

rnf :: Int -> () Source #

Structured Int Source #
Instance details

Defined in Distribution.Utils.Structured

Pretty Int Source #
Instance details

Defined in Distribution.Pretty

Lift Int
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Int
Instance details

Defined in Data.Array.Base

Generic1 ( URec Int :: k -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep1 ( URec Int ) :: k -> Type Source #

Foldable ( UInt :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Traversable ( UInt :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

MArray ( STUArray s) Int ( ST s)
Instance details

Defined in Data.Array.Base

Functor ( URec Int :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq ( URec Int p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Ord ( URec Int p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Show ( URec Int p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Generic ( URec Int p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( URec Int p) :: Type -> Type Source #

data URec Int (p :: k)

Used for marking occurrences of Int#

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

type Rep1 ( URec Int :: k -> Type )
Instance details

Defined in GHC.Generics

type Rep ( URec Int p)
Instance details

Defined in GHC.Generics

data Integer Source #

Arbitrary precision integers. In contrast with fixed-size integral types such as Int , the Integer type represents the entire infinite range of integers.

For more information about this type's representation, see the comments in its implementation.

Instances

Instances details
Enum Integer

Since: base-2.1

Instance details

Defined in GHC.Enum

Eq Integer
Instance details

Defined in GHC.Integer.Type

Integral Integer

Since: base-2.0.1

Instance details

Defined in GHC.Real

Data Integer

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Integer -> c Integer Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Integer Source #

toConstr :: Integer -> Constr Source #

dataTypeOf :: Integer -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Integer ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Integer ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Integer -> Integer Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Integer -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Integer -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Integer -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Integer -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Integer -> m Integer Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Integer -> m Integer Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Integer -> m Integer Source #

Num Integer

Since: base-2.1

Instance details

Defined in GHC.Num

Ord Integer
Instance details

Defined in GHC.Integer.Type

Read Integer

Since: base-2.1

Instance details

Defined in GHC.Read

Real Integer

Since: base-2.0.1

Instance details

Defined in GHC.Real

Show Integer

Since: base-2.1

Instance details

Defined in GHC.Show

Ix Integer

Since: base-2.1

Instance details

Defined in GHC.Ix

Bits Integer

Since: base-2.1

Instance details

Defined in Data.Bits

Binary Integer
Instance details

Defined in Data.Binary.Class

NFData Integer
Instance details

Defined in Control.DeepSeq

Structured Integer Source #
Instance details

Defined in Distribution.Utils.Structured

Lift Integer
Instance details

Defined in Language.Haskell.TH.Syntax

data Maybe a Source #

The Maybe type encapsulates an optional value. A value of type Maybe a either contains a value of type a (represented as Just a ), or it is empty (represented as Nothing ). Using Maybe is a good way to deal with errors or exceptional cases without resorting to drastic measures such as error .

The Maybe type is also a monad. It is a simple kind of error monad, where all errors are represented by Nothing . A richer error monad can be built using the Either type.

Constructors

Nothing
Just a

Instances

Instances details
Monad Maybe

Since: base-2.1

Instance details

Defined in GHC.Base

Functor Maybe

Since: base-2.1

Instance details

Defined in GHC.Base

MonadFail Maybe

Since: base-4.9.0.0

Instance details

Defined in Control.Monad.Fail

Applicative Maybe

Since: base-2.1

Instance details

Defined in GHC.Base

Foldable Maybe

Since: base-2.1

Instance details

Defined in Data.Foldable

Traversable Maybe

Since: base-2.1

Instance details

Defined in Data.Traversable

Eq1 Maybe

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

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

Ord1 Maybe

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Read1 Maybe

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Show1 Maybe

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Alternative Maybe

Since: base-2.1

Instance details

Defined in GHC.Base

MonadPlus Maybe

Since: base-2.1

Instance details

Defined in GHC.Base

NFData1 Maybe

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf :: (a -> ()) -> Maybe a -> () Source #

Lift a => Lift ( Maybe a :: Type )
Instance details

Defined in Language.Haskell.TH.Syntax

Eq a => Eq ( Maybe a)

Since: base-2.1

Instance details

Defined in GHC.Maybe

Data a => Data ( Maybe a)

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Maybe a -> c ( Maybe a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Maybe a) Source #

toConstr :: Maybe a -> Constr Source #

dataTypeOf :: Maybe a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Maybe a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Maybe a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Maybe a -> Maybe a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Maybe a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Maybe a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Maybe a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Maybe a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Maybe a -> m ( Maybe a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Maybe a -> m ( Maybe a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Maybe a -> m ( Maybe a) Source #

Ord a => Ord ( Maybe a)

Since: base-2.1

Instance details

Defined in GHC.Maybe

Read a => Read ( Maybe a)

Since: base-2.1

Instance details

Defined in GHC.Read

Show a => Show ( Maybe a)

Since: base-2.1

Instance details

Defined in GHC.Show

Generic ( Maybe a)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( Maybe a) :: Type -> Type Source #

Semigroup a => Semigroup ( Maybe a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Semigroup a => Monoid ( Maybe a)

Lift a semigroup into Maybe forming a Monoid according to http://en.wikipedia.org/wiki/Monoid : "Any semigroup S may be turned into a monoid simply by adjoining an element e not in S and defining e*e = e and e*s = s = s*e for all s ∈ S ."

Since 4.11.0 : constraint on inner a value generalised from Monoid to Semigroup .

Since: base-2.1

Instance details

Defined in GHC.Base

Binary a => Binary ( Maybe a)
Instance details

Defined in Data.Binary.Class

NFData a => NFData ( Maybe a)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: Maybe a -> () Source #

SingKind a => SingKind ( Maybe a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type DemoteRep ( Maybe a)

Methods

fromSing :: forall (a0 :: Maybe a). Sing a0 -> DemoteRep ( Maybe a)

Structured a => Structured ( Maybe a) Source #
Instance details

Defined in Distribution.Utils.Structured

Generic1 Maybe

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep1 Maybe :: k -> Type Source #

Methods

from1 :: forall (a :: k). Maybe a -> Rep1 Maybe a Source #

to1 :: forall (a :: k). Rep1 Maybe a -> Maybe a Source #

SingI (' Nothing :: Maybe a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

sing :: Sing ' Nothing

SingI a2 => SingI (' Just a2 :: Maybe a1)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

sing :: Sing (' Just a2)

type Rep ( Maybe a)
Instance details

Defined in GHC.Generics

type DemoteRep ( Maybe a)
Instance details

Defined in GHC.Generics

type DemoteRep ( Maybe a) = Maybe (DemoteRep a)
data Sing (b :: Maybe a)
Instance details

Defined in GHC.Generics

data Sing (b :: Maybe a) where
type Rep1 Maybe
Instance details

Defined in GHC.Generics

data Ordering Source #

Constructors

LT
EQ
GT

Instances

Instances details
Bounded Ordering

Since: base-2.1

Instance details

Defined in GHC.Enum

Enum Ordering

Since: base-2.1

Instance details

Defined in GHC.Enum

Eq Ordering
Instance details

Defined in GHC.Classes

Data Ordering

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Ordering -> c Ordering Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Ordering Source #

toConstr :: Ordering -> Constr Source #

dataTypeOf :: Ordering -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Ordering ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Ordering ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Ordering -> Ordering Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Ordering -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Ordering -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Ordering -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Ordering -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Ordering -> m Ordering Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Ordering -> m Ordering Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Ordering -> m Ordering Source #

Ord Ordering
Instance details

Defined in GHC.Classes

Read Ordering

Since: base-2.1

Instance details

Defined in GHC.Read

Show Ordering

Since: base-2.1

Instance details

Defined in GHC.Show

Ix Ordering

Since: base-2.1

Instance details

Defined in GHC.Ix

Generic Ordering

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Semigroup Ordering

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Monoid Ordering

Since: base-2.1

Instance details

Defined in GHC.Base

Binary Ordering
Instance details

Defined in Data.Binary.Class

NFData Ordering
Instance details

Defined in Control.DeepSeq

Structured Ordering Source #
Instance details

Defined in Distribution.Utils.Structured

type Rep Ordering
Instance details

Defined in GHC.Generics

type Rational = Ratio Integer Source #

Arbitrary-precision rational numbers, represented as a ratio of two Integer values. A rational number may be constructed using the % operator.

data Either a b Source #

The Either type represents values with two possibilities: a value of type Either a b is either Left a or Right b .

The Either type is sometimes used to represent a value which is either correct or an error; by convention, the Left constructor is used to hold an error value and the Right constructor is used to hold a correct value (mnemonic: "right" also means "correct").

Examples

Expand

The type Either String Int is the type of values which can be either a String or an Int . The Left constructor can be used only on String s, and the Right constructor can be used only on Int s:

>>> let s = Left "foo" :: Either String Int
>>> s
Left "foo"
>>> let n = Right 3 :: Either String Int
>>> n
Right 3
>>> :type s
s :: Either String Int
>>> :type n
n :: Either String Int

The fmap from our Functor instance will ignore Left values, but will apply the supplied function to values contained in a Right :

>>> let s = Left "foo" :: Either String Int
>>> let n = Right 3 :: Either String Int
>>> fmap (*2) s
Left "foo"
>>> fmap (*2) n
Right 6

The Monad instance for Either allows us to chain together multiple actions which may fail, and fail overall if any of the individual steps failed. First we'll write a function that can either parse an Int from a Char , or fail.

>>> import Data.Char ( digitToInt, isDigit )
>>> :{
    let parseEither :: Char -> Either String Int
        parseEither c
          | isDigit c = Right (digitToInt c)
          | otherwise = Left "parse error"
>>> :}

The following should work, since both '1' and '2' can be parsed as Int s.

>>> :{
    let parseMultiple :: Either String Int
        parseMultiple = do
          x <- parseEither '1'
          y <- parseEither '2'
          return (x + y)
>>> :}
>>> parseMultiple
Right 3

But the following should fail overall, since the first operation where we attempt to parse 'm' as an Int will fail:

>>> :{
    let parseMultiple :: Either String Int
        parseMultiple = do
          x <- parseEither 'm'
          y <- parseEither '2'
          return (x + y)
>>> :}
>>> parseMultiple
Left "parse error"

Constructors

Left a
Right b

Instances

Instances details
Eq2 Either

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

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

Ord2 Either

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

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

Read2 Either

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Show2 Either

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

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

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

NFData2 Either

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf2 :: (a -> ()) -> (b -> ()) -> Either a b -> () Source #

( Lift a, Lift b) => Lift ( Either a b :: Type )
Instance details

Defined in Language.Haskell.TH.Syntax

Monad ( Either e)

Since: base-4.4.0.0

Instance details

Defined in Data.Either

Functor ( Either a)

Since: base-3.0

Instance details

Defined in Data.Either

Methods

fmap :: (a0 -> b) -> Either a a0 -> Either a b Source #

(<$) :: a0 -> Either a b -> Either a a0 Source #

Applicative ( Either e)

Since: base-3.0

Instance details

Defined in Data.Either

Foldable ( Either a)

Since: base-4.7.0.0

Instance details

Defined in Data.Foldable

Methods

fold :: Monoid m => Either a m -> m Source #

foldMap :: Monoid m => (a0 -> m) -> Either a a0 -> m Source #

foldMap' :: Monoid m => (a0 -> m) -> Either a a0 -> m Source #

foldr :: (a0 -> b -> b) -> b -> Either a a0 -> b Source #

foldr' :: (a0 -> b -> b) -> b -> Either a a0 -> b Source #

foldl :: (b -> a0 -> b) -> b -> Either a a0 -> b Source #

foldl' :: (b -> a0 -> b) -> b -> Either a a0 -> b Source #

foldr1 :: (a0 -> a0 -> a0) -> Either a a0 -> a0 Source #

foldl1 :: (a0 -> a0 -> a0) -> Either a a0 -> a0 Source #

toList :: Either a a0 -> [a0] Source #

null :: Either a a0 -> Bool Source #

length :: Either a a0 -> Int Source #

elem :: Eq a0 => a0 -> Either a a0 -> Bool Source #

maximum :: Ord a0 => Either a a0 -> a0 Source #

minimum :: Ord a0 => Either a a0 -> a0 Source #

sum :: Num a0 => Either a a0 -> a0 Source #

product :: Num a0 => Either a a0 -> a0 Source #

Traversable ( Either a)

Since: base-4.7.0.0

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f => (a0 -> f b) -> Either a a0 -> f ( Either a b) Source #

sequenceA :: Applicative f => Either a (f a0) -> f ( Either a a0) Source #

mapM :: Monad m => (a0 -> m b) -> Either a a0 -> m ( Either a b) Source #

sequence :: Monad m => Either a (m a0) -> m ( Either a a0) Source #

Eq a => Eq1 ( Either a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

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

Ord a => Ord1 ( Either a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Read a => Read1 ( Either a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Show a => Show1 ( Either a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

NFData a => NFData1 ( Either a)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf :: (a0 -> ()) -> Either a a0 -> () Source #

Generic1 ( Either a :: Type -> Type )

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep1 ( Either a) :: k -> Type Source #

Methods

from1 :: forall (a0 :: k). Either a a0 -> Rep1 ( Either a) a0 Source #

to1 :: forall (a0 :: k). Rep1 ( Either a) a0 -> Either a a0 Source #

( Eq a, Eq b) => Eq ( Either a b)

Since: base-2.1

Instance details

Defined in Data.Either

( Data a, Data b) => Data ( Either a b)

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b0. Data d => c (d -> b0) -> d -> c b0) -> ( forall g. g -> c g) -> Either a b -> c ( Either a b) Source #

gunfold :: ( forall b0 r. Data b0 => c (b0 -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Either a b) Source #

toConstr :: Either a b -> Constr Source #

dataTypeOf :: Either a b -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Either a b)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Either a b)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> Either a b -> Either a b Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Either a b -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Either a b -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Either a b -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Either a b -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Either a b -> m ( Either a b) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Either a b -> m ( Either a b) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Either a b -> m ( Either a b) Source #

( Ord a, Ord b) => Ord ( Either a b)

Since: base-2.1

Instance details

Defined in Data.Either

( Read a, Read b) => Read ( Either a b)

Since: base-3.0

Instance details

Defined in Data.Either

( Show a, Show b) => Show ( Either a b)

Since: base-3.0

Instance details

Defined in Data.Either

Generic ( Either a b)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( Either a b) :: Type -> Type Source #

Semigroup ( Either a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Either

( Binary a, Binary b) => Binary ( Either a b)
Instance details

Defined in Data.Binary.Class

( NFData a, NFData b) => NFData ( Either a b)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: Either a b -> () Source #

( Structured a, Structured b) => Structured ( Either a b) Source #
Instance details

Defined in Distribution.Utils.Structured

( IsNode a, IsNode b, Key a ~ Key b) => IsNode ( Either a b) Source #
Instance details

Defined in Distribution.Compat.Graph

Associated Types

type Key ( Either a b) Source #

Newtype ( Either Version VersionRange ) SpecVersion Source #
Instance details

Defined in Distribution.Parsec.Newtypes

Newtype ( Either License License ) SpecLicense Source #
Instance details

Defined in Distribution.Parsec.Newtypes

type Rep1 ( Either a :: Type -> Type )
Instance details

Defined in GHC.Generics

type Rep ( Either a b)
Instance details

Defined in GHC.Generics

type Key ( Either a b) Source #
Instance details

Defined in Distribution.Compat.Graph

type Key ( Either a b) = Key a

readIO :: Read a => String -> IO a Source #

The readIO function is similar to read except that it signals parse failure to the IO monad instead of terminating the program.

appendFile :: FilePath -> String -> IO () Source #

The computation appendFile file str function appends the string str , to the file file .

Note that writeFile and appendFile write a literal string to a file. To write a value of any printable type, as with print , use the show function to convert the value to a string first.

main = appendFile "squares" (show [(x,x*x) | x <- [0,0.1..2]])

writeFile :: FilePath -> String -> IO () Source #

The computation writeFile file str function writes the string str , to the file file .

readFile :: FilePath -> IO String Source #

The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents .

interact :: ( String -> String ) -> IO () Source #

The interact function takes a function of type String->String as its argument. The entire input from the standard input device is passed to this function as its argument, and the resulting string is output on the standard output device.

getContents :: IO String Source #

The getContents operation returns all user input as a single string, which is read lazily as it is needed (same as hGetContents stdin ).

getLine :: IO String Source #

Read a line from the standard input device (same as hGetLine stdin ).

getChar :: IO Char Source #

Read a character from the standard input device (same as hGetChar stdin ).

putStrLn :: String -> IO () Source #

The same as putStr , but adds a newline character.

putStr :: String -> IO () Source #

Write a string to the standard output device (same as hPutStr stdout ).

putChar :: Char -> IO () Source #

Write a character to the standard output device (same as hPutChar stdout ).

type FilePath = String Source #

File and directory names are values of type String , whose precise meaning is operating system dependent. Files can be opened, yielding a handle which can then be used to operate on the contents of that file.

userError :: String -> IOError Source #

Construct an IOError value with a string describing the error. The fail method of the IO instance of the Monad class raises a userError , thus:

instance Monad IO where
  ...
  fail s = ioError (userError s)

type IOError = IOException Source #

The Haskell 2010 type for exceptions in the IO monad. Any I/O operation may raise an IOError instead of returning a result. For a more general type of exception, including also those that arise in pure code, see Exception .

In Haskell 2010, this is an opaque type.

notElem :: ( Foldable t, Eq a) => a -> t a -> Bool infix 4 Source #

notElem is the negation of elem .

or :: Foldable t => t Bool -> Bool Source #

or returns the disjunction of a container of Bools. For the result to be False , the container must be finite; True , however, results from a True value finitely far from the left end.

and :: Foldable t => t Bool -> Bool Source #

and returns the conjunction of a container of Bools. For the result to be True , the container must be finite; False , however, results from a False value finitely far from the left end.

concatMap :: Foldable t => (a -> [b]) -> t a -> [b] Source #

Map a function over all the elements of a container and concatenate the resulting lists.

concat :: Foldable t => t [a] -> [a] Source #

The concatenation of all the elements of a container of lists.

sequence_ :: ( Foldable t, Monad m) => t (m a) -> m () Source #

Evaluate each monadic action in the structure from left to right, and ignore the results. For a version that doesn't ignore the results see sequence .

As of base 4.8.0.0, sequence_ is just sequenceA_ , specialized to Monad .

unwords :: [ String ] -> String Source #

unwords is an inverse operation to words . It joins words with separating spaces.

>>> unwords ["Lorem", "ipsum", "dolor"]
"Lorem ipsum dolor"

words :: String -> [ String ] Source #

words breaks a string up into a list of words, which were delimited by white space.

>>> words "Lorem ipsum\ndolor"
["Lorem","ipsum","dolor"]

unlines :: [ String ] -> String Source #

unlines is an inverse operation to lines . It joins lines, after appending a terminating newline to each.

>>> unlines ["Hello", "World", "!"]
"Hello\nWorld\n!\n"

lines :: String -> [ String ] Source #

lines breaks a string up into a list of strings at newline characters. The resulting strings do not contain newlines.

Note that after splitting the string at newline characters, the last part of the string is considered a line even if it doesn't end with a newline. For example,

>>> lines ""
[]
>>> lines "\n"
[""]
>>> lines "one"
["one"]
>>> lines "one\n"
["one"]
>>> lines "one\n\n"
["one",""]
>>> lines "one\ntwo"
["one","two"]
>>> lines "one\ntwo\n"
["one","two"]

Thus lines s contains at least as many elements as newlines in s .

reads :: Read a => ReadS a Source #

equivalent to readsPrec with a precedence of 0.

either :: (a -> c) -> (b -> c) -> Either a b -> c Source #

Case analysis for the Either type. If the value is Left a , apply the first function to a ; if it is Right b , apply the second function to b .

Examples

Expand

We create two values of type Either String Int , one using the Left constructor and another using the Right constructor. Then we apply "either" the length function (if we have a String ) or the "times-two" function (if we have an Int ):

>>> let s = Left "foo" :: Either String Int
>>> let n = Right 3 :: Either String Int
>>> either length (*2) s
3
>>> either length (*2) n
6

lex :: ReadS String Source #

The lex function reads a single lexeme from the input, discarding initial white space, and returning the characters that constitute the lexeme. If the input string contains only white space, lex returns a single successful `lexeme' consisting of the empty string. (Thus lex "" = [("","")] .) If there is no legal lexeme at the beginning of the input string, lex fails (i.e. returns [] ).

This lexer is not completely faithful to the Haskell lexical syntax in the following respects:

  • Qualified names are not handled properly
  • Octal and hexadecimal numerics are not recognized as a single token
  • Comments are not treated properly

readParen :: Bool -> ReadS a -> ReadS a Source #

readParen True p parses what p parses, but surrounded with parentheses.

readParen False p parses what p parses, but optionally surrounded with parentheses.

type ReadS a = String -> [(a, String )] Source #

A parser for a type a , represented as a function that takes a String and returns a list of possible parses as (a, String ) pairs.

Note that this kind of backtracking parser is very inefficient; reading a large structure may be quite slow (cf ReadP ).

lcm :: Integral a => a -> a -> a Source #

lcm x y is the smallest positive integer that both x and y divide.

gcd :: Integral a => a -> a -> a Source #

gcd x y is the non-negative factor of both x and y of which every common factor of x and y is also a factor; for example gcd 4 2 = 2 , gcd (-4) 6 = 2 , gcd 0 4 = 4 . gcd 0 0 = 0 . (That is, the common divisor that is "greatest" in the divisibility preordering.)

Note: Since for signed fixed-width integer types, abs minBound < 0 , the result may be negative if one of the arguments is minBound (and necessarily is if the other is 0 or minBound ) for such types.

(^^) :: ( Fractional a, Integral b) => a -> b -> a infixr 8 Source #

raise a number to an integral power

(^) :: ( Num a, Integral b) => a -> b -> a infixr 8 Source #

raise a number to a non-negative integral power

showParen :: Bool -> ShowS -> ShowS Source #

utility function that surrounds the inner show function with parentheses when the Bool parameter is True .

showString :: String -> ShowS Source #

utility function converting a String to a show function that simply prepends the string unchanged.

showChar :: Char -> ShowS Source #

utility function converting a Char to a show function that simply prepends the character unchanged.

shows :: Show a => a -> ShowS Source #

equivalent to showsPrec with a precedence of 0.

type ShowS = String -> String Source #

The shows functions return a function that prepends the output String to an existing String . This allows constant-time concatenation of results using function composition.

unzip3 :: [(a, b, c)] -> ([a], [b], [c]) Source #

The unzip3 function takes a list of triples and returns three lists, analogous to unzip .

unzip :: [(a, b)] -> ([a], [b]) Source #

unzip transforms a list of pairs into a list of first components and a list of second components.

zipWith3 :: (a -> b -> c -> d) -> [a] -> [b] -> [c] -> [d] Source #

The zipWith3 function takes a function which combines three elements, as well as three lists and returns a list of their point-wise combination, analogous to zipWith . It is capable of list fusion, but it is restricted to its first list argument and its resulting list.

zipWith :: (a -> b -> c) -> [a] -> [b] -> [c] Source #

\(\mathcal{O}(\min(m,n))\) . zipWith generalises zip by zipping with the function given as the first argument, instead of a tupling function. For example, zipWith (+) is applied to two lists to produce the list of corresponding sums:

>>> zipWith (+) [1, 2, 3] [4, 5, 6]
[5,7,9]

zipWith is right-lazy:

zipWith f [] _|_ = []

zipWith is capable of list fusion, but it is restricted to its first list argument and its resulting list.

zip3 :: [a] -> [b] -> [c] -> [(a, b, c)] Source #

zip3 takes three lists and returns a list of triples, analogous to zip . It is capable of list fusion, but it is restricted to its first list argument and its resulting list.

(!!) :: [a] -> Int -> a infixl 9 Source #

List index (subscript) operator, starting from 0. It is an instance of the more general genericIndex , which takes an index of any integral type.

lookup :: Eq a => a -> [(a, b)] -> Maybe b Source #

\(\mathcal{O}(n)\) . lookup key assocs looks up a key in an association list.

>>> lookup 2 [(1, "first"), (2, "second"), (3, "third")]
Just "second"

reverse :: [a] -> [a] Source #

reverse xs returns the elements of xs in reverse order. xs must be finite.

break :: (a -> Bool ) -> [a] -> ([a], [a]) Source #

break , applied to a predicate p and a list xs , returns a tuple where first element is longest prefix (possibly empty) of xs of elements that do not satisfy p and second element is the remainder of the list:

break (> 3) [1,2,3,4,1,2,3,4] == ([1,2,3],[4,1,2,3,4])
break (< 9) [1,2,3] == ([],[1,2,3])
break (> 9) [1,2,3] == ([1,2,3],[])

break p is equivalent to span ( not . p) .

span :: (a -> Bool ) -> [a] -> ([a], [a]) Source #

span , applied to a predicate p and a list xs , returns a tuple where first element is longest prefix (possibly empty) of xs of elements that satisfy p and second element is the remainder of the list:

span (< 3) [1,2,3,4,1,2,3,4] == ([1,2],[3,4,1,2,3,4])
span (< 9) [1,2,3] == ([1,2,3],[])
span (< 0) [1,2,3] == ([],[1,2,3])

span p xs is equivalent to ( takeWhile p xs, dropWhile p xs)

splitAt :: Int -> [a] -> ([a], [a]) Source #

splitAt n xs returns a tuple where first element is xs prefix of length n and second element is the remainder of the list:

splitAt 6 "Hello World!" == ("Hello ","World!")
splitAt 3 [1,2,3,4,5] == ([1,2,3],[4,5])
splitAt 1 [1,2,3] == ([1],[2,3])
splitAt 3 [1,2,3] == ([1,2,3],[])
splitAt 4 [1,2,3] == ([1,2,3],[])
splitAt 0 [1,2,3] == ([],[1,2,3])
splitAt (-1) [1,2,3] == ([],[1,2,3])

It is equivalent to ( take n xs, drop n xs) when n is not _|_ ( splitAt _|_ xs = _|_ ). splitAt is an instance of the more general genericSplitAt , in which n may be of any integral type.

drop :: Int -> [a] -> [a] Source #

drop n xs returns the suffix of xs after the first n elements, or [] if n > length xs :

drop 6 "Hello World!" == "World!"
drop 3 [1,2,3,4,5] == [4,5]
drop 3 [1,2] == []
drop 3 [] == []
drop (-1) [1,2] == [1,2]
drop 0 [1,2] == [1,2]

It is an instance of the more general genericDrop , in which n may be of any integral type.

take :: Int -> [a] -> [a] Source #

take n , applied to a list xs , returns the prefix of xs of length n , or xs itself if n > length xs :

take 5 "Hello World!" == "Hello"
take 3 [1,2,3,4,5] == [1,2,3]
take 3 [1,2] == [1,2]
take 3 [] == []
take (-1) [1,2] == []
take 0 [1,2] == []

It is an instance of the more general genericTake , in which n may be of any integral type.

dropWhile :: (a -> Bool ) -> [a] -> [a] Source #

dropWhile p xs returns the suffix remaining after takeWhile p xs :

dropWhile (< 3) [1,2,3,4,5,1,2,3] == [3,4,5,1,2,3]
dropWhile (< 9) [1,2,3] == []
dropWhile (< 0) [1,2,3] == [1,2,3]

takeWhile :: (a -> Bool ) -> [a] -> [a] Source #

takeWhile , applied to a predicate p and a list xs , returns the longest prefix (possibly empty) of xs of elements that satisfy p :

takeWhile (< 3) [1,2,3,4,1,2,3,4] == [1,2]
takeWhile (< 9) [1,2,3] == [1,2,3]
takeWhile (< 0) [1,2,3] == []

cycle :: [a] -> [a] Source #

cycle ties a finite list into a circular one, or equivalently, the infinite repetition of the original list. It is the identity on infinite lists.

replicate :: Int -> a -> [a] Source #

replicate n x is a list of length n with x the value of every element. It is an instance of the more general genericReplicate , in which n may be of any integral type.

repeat :: a -> [a] Source #

repeat x is an infinite list, with x the value of every element.

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

iterate f x returns an infinite list of repeated applications of f to x :

iterate f x == [x, f x, f (f x), ...]

Note that iterate is lazy, potentially leading to thunk build-up if the consumer doesn't force each iterate. See iterate' for a strict variant of this function.

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

\(\mathcal{O}(n)\) . scanr1 is a variant of scanr that has no starting value argument.

scanr :: (a -> b -> b) -> b -> [a] -> [b] Source #

\(\mathcal{O}(n)\) . scanr is the right-to-left dual of scanl . Note that

head (scanr f z xs) == foldr f z xs.

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

\(\mathcal{O}(n)\) . scanl1 is a variant of scanl that has no starting value argument:

scanl1 f [x1, x2, ...] == [x1, x1 `f` x2, ...]

scanl :: (b -> a -> b) -> b -> [a] -> [b] Source #

\(\mathcal{O}(n)\) . scanl is similar to foldl , but returns a list of successive reduced values from the left:

scanl f z [x1, x2, ...] == [z, z `f` x1, (z `f` x1) `f` x2, ...]

Note that

last (scanl f z xs) == foldl f z xs.

maybe :: b -> (a -> b) -> Maybe a -> b Source #

The maybe function takes a default value, a function, and a Maybe value. If the Maybe value is Nothing , the function returns the default value. Otherwise, it applies the function to the value inside the Just and returns the result.

Examples

Expand

Basic usage:

>>> maybe False odd (Just 3)
True
>>> maybe False odd Nothing
False

Read an integer from a string using readMaybe . If we succeed, return twice the integer; that is, apply (*2) to it. If instead we fail to parse an integer, return 0 by default:

>>> import Text.Read ( readMaybe )
>>> maybe 0 (*2) (readMaybe "5")
10
>>> maybe 0 (*2) (readMaybe "")
0

Apply show to a Maybe Int . If we have Just n , we want to show the underlying Int n . But if we have Nothing , we return the empty string instead of (for example) "Nothing":

>>> maybe "" show (Just 5)
"5"
>>> maybe "" show Nothing
""

(<$>) :: Functor f => (a -> b) -> f a -> f b infixl 4 Source #

An infix synonym for fmap .

The name of this operator is an allusion to $ . Note the similarities between their types:

 ($)  ::              (a -> b) ->   a ->   b
(<$>) :: Functor f => (a -> b) -> f a -> f b

Whereas $ is function application, <$> is function application lifted over a Functor .

Examples

Expand

Convert from a Maybe Int to a Maybe String using show :

>>> show <$> Nothing
Nothing
>>> show <$> Just 3
Just "3"

Convert from an Either Int Int to an Either Int String using show :

>>> show <$> Left 17
Left 17
>>> show <$> Right 17
Right "17"

Double each element of a list:

>>> (*2) <$> [1,2,3]
[2,4,6]

Apply even to the second element of a pair:

>>> even <$> (2,2)
(2,True)

uncurry :: (a -> b -> c) -> (a, b) -> c Source #

uncurry converts a curried function to a function on pairs.

Examples

Expand
>>> uncurry (+) (1,2)
3
>>> uncurry ($) (show, 1)
"1"
>>> map (uncurry max) [(1,2), (3,4), (6,8)]
[2,4,8]

curry :: ((a, b) -> c) -> a -> b -> c Source #

curry converts an uncurried function to a curried function.

Examples

Expand
>>> curry fst 1 2
1

subtract :: Num a => a -> a -> a Source #

the same as flip ( - ) .

Because - is treated specially in the Haskell grammar, (- e ) is not a section, but an application of prefix negation. However, ( subtract exp ) is equivalent to the disallowed section.

asTypeOf :: a -> a -> a Source #

asTypeOf is a type-restricted version of const . It is usually used as an infix operator, and its typing forces its first argument (which is usually overloaded) to have the same type as the second.

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

until p f yields the result of applying f until p holds.

($!) :: forall (r :: RuntimeRep ) a (b :: TYPE r). (a -> b) -> a -> b infixr 0 Source #

Strict (call-by-value) application operator. It takes a function and an argument, evaluates the argument to weak head normal form (WHNF), then calls the function with that value.

flip :: (a -> b -> c) -> b -> a -> c Source #

flip f takes its (first) two arguments in the reverse order of f .

>>> flip (++) "hello" "world"
"worldhello"

(.) :: (b -> c) -> (a -> b) -> a -> c infixr 9 Source #

Function composition.

const :: a -> b -> a Source #

const x is a unary function which evaluates to x for all inputs.

>>> const 42 "hello"
42
>>> map (const 42) [0..3]
[42,42,42,42]

id :: a -> a Source #

Identity function.

id x = x

(=<<) :: Monad m => (a -> m b) -> m a -> m b infixr 1 Source #

Same as >>= , but with the arguments interchanged.

type String = [ Char ] Source #

A String is a list of characters. String constants in Haskell are values of type String .

See Data.List for operations on lists.

undefined :: forall (r :: RuntimeRep ) (a :: TYPE r). HasCallStack => a Source #

A special case of error . It is expected that compilers will recognize this and insert error messages which are more appropriate to the context in which undefined appears.

errorWithoutStackTrace :: forall (r :: RuntimeRep ) (a :: TYPE r). [ Char ] -> a Source #

A variant of error that does not produce a stack trace.

Since: base-4.9.0.0

error :: forall (r :: RuntimeRep ) (a :: TYPE r). HasCallStack => [ Char ] -> a Source #

error stops execution and displays an error message.

(&&) :: Bool -> Bool -> Bool infixr 3 Source #

Boolean "and", lazy in the second argument

(||) :: Bool -> Bool -> Bool infixr 2 Source #

Boolean "or", lazy in the second argument

Common type-classes

class Semigroup a where Source #

The class of semigroups (types with an associative binary operation).

Instances should satisfy the following:

Associativity
x <> (y <> z) = (x <> y) <> z

Since: base-4.9.0.0

Methods

(<>) :: a -> a -> a infixr 6 Source #

An associative operation.

>>> [1,2,3] <> [4,5,6]
[1,2,3,4,5,6]

Instances

Instances details
Semigroup Ordering

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Semigroup ()

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Semigroup Void

Since: base-4.9.0.0

Instance details

Defined in Data.Void

Semigroup All

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup.Internal

Semigroup Any

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup.Internal

Semigroup ShortByteString
Instance details

Defined in Data.ByteString.Short.Internal

Semigroup ByteString
Instance details

Defined in Data.ByteString.Lazy.Internal

Semigroup ByteString
Instance details

Defined in Data.ByteString.Internal

Semigroup Builder
Instance details

Defined in Data.ByteString.Builder.Internal

Semigroup IntSet

Since: containers-0.5.7

Instance details

Defined in Data.IntSet.Internal

Semigroup Doc
Instance details

Defined in Text.PrettyPrint.HughesPJ

Semigroup ShortText Source #
Instance details

Defined in Distribution.Utils.ShortText

Semigroup CDialect Source #
Instance details

Defined in Distribution.Simple.CCompiler

Semigroup UnqualComponentName Source #
Instance details

Defined in Distribution.Types.UnqualComponentName

Semigroup LibraryVisibility Source #
Instance details

Defined in Distribution.Types.LibraryVisibility

Semigroup ForeignLibType Source #
Instance details

Defined in Distribution.Types.ForeignLibType

Semigroup FlagAssignment Source #
Instance details

Defined in Distribution.Types.Flag

Semigroup ExecutableScope Source #

Any like semigroup, where ExecutablePrivate is 'Any True'

Instance details

Defined in Distribution.Types.ExecutableScope

Semigroup TestSuiteInterface Source #
Instance details

Defined in Distribution.Types.TestSuiteInterface

Semigroup SetupBuildInfo Source #
Instance details

Defined in Distribution.Types.SetupBuildInfo

Semigroup DependencyMap Source #
Instance details

Defined in Distribution.Types.DependencyMap

Semigroup BenchmarkInterface Source #
Instance details

Defined in Distribution.Types.BenchmarkInterface

Semigroup BuildInfo Source #
Instance details

Defined in Distribution.Types.BuildInfo

Semigroup TestSuite Source #
Instance details

Defined in Distribution.Types.TestSuite

Semigroup Library Source #
Instance details

Defined in Distribution.Types.Library

Semigroup ForeignLib Source #
Instance details

Defined in Distribution.Types.ForeignLib

Semigroup Executable Source #
Instance details

Defined in Distribution.Types.Executable

Semigroup Benchmark Source #
Instance details

Defined in Distribution.Types.Benchmark

Semigroup Component Source #
Instance details

Defined in Distribution.Types.Component

Semigroup GhcOptions Source #
Instance details

Defined in Distribution.Simple.Program.GHC

Semigroup BenchmarkFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup TestFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup TestShowDetails Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup ReplFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup BuildFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup CleanFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup HaddockFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup DoctestFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup HscolourFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup RegisterFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup SDistFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup InstallFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup CopyFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup ConfigFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup GlobalFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Semigroup [a]

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

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

sconcat :: NonEmpty [a] -> [a] Source #

stimes :: Integral b => b -> [a] -> [a] Source #

Semigroup a => Semigroup ( Maybe a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Semigroup a => Semigroup ( IO a)

Since: base-4.10.0.0

Instance details

Defined in GHC.Base

Semigroup p => Semigroup ( Par1 p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

Ord a => Semigroup ( Min a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Ord a => Semigroup ( Max a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Semigroup ( First a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Semigroup ( Last a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Monoid m => Semigroup ( WrappedMonoid m)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Semigroup a => Semigroup ( Option a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Semigroup a => Semigroup ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Semigroup ( First a)

Since: base-4.9.0.0

Instance details

Defined in Data.Monoid

Semigroup ( Last a)

Since: base-4.9.0.0

Instance details

Defined in Data.Monoid

Semigroup a => Semigroup ( Dual a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup.Internal

Semigroup ( Endo a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup.Internal

Num a => Semigroup ( Sum a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup.Internal

Num a => Semigroup ( Product a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup.Internal

Semigroup a => Semigroup ( Down a)

Since: base-4.11.0.0

Instance details

Defined in Data.Ord

Semigroup ( NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Semigroup ( PutM ())
Instance details

Defined in Data.Binary.Put

Semigroup ( IntMap a)

Since: containers-0.5.7

Instance details

Defined in Data.IntMap.Internal

Semigroup ( Seq a)

Since: containers-0.5.7

Instance details

Defined in Data.Sequence.Internal

Ord a => Semigroup ( Set a)

Since: containers-0.5.7

Instance details

Defined in Data.Set.Internal

Semigroup ( Doc a)
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Semigroup (MergeSet a)
Instance details

Defined in Data.Set.Internal

Methods

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

sconcat :: NonEmpty (MergeSet a) -> MergeSet a Source #

stimes :: Integral b => b -> MergeSet a -> MergeSet a Source #

Semigroup a => Semigroup ( Option' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Semigroup ( Last' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Semigroup ( First' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Semigroup ( Condition a) Source #
Instance details

Defined in Distribution.Types.Condition

Semigroup ( Flag a) Source #
Instance details

Defined in Distribution.Simple.Flag

Semigroup ( DList a) Source #
Instance details

Defined in Distribution.Compat.DList

Semigroup a => Semigroup ( PerCompilerFlavor a) Source #
Instance details

Defined in Distribution.Compiler

Semigroup dir => Semigroup ( InstallDirs dir) Source #
Instance details

Defined in Distribution.Simple.InstallDirs

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

Defined in Distribution.Utils.NubList

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

Defined in Distribution.Utils.NubList

Semigroup ( PackageIndex InstalledPackageInfo ) Source #
Instance details

Defined in Distribution.Simple.PackageIndex

Semigroup b => Semigroup (a -> b)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

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

sconcat :: NonEmpty (a -> b) -> a -> b Source #

stimes :: Integral b0 => b0 -> (a -> b) -> a -> b Source #

Semigroup ( Either a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Either

Semigroup ( V1 p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

Semigroup ( U1 p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

( Semigroup a, Semigroup b) => Semigroup (a, b)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

(<>) :: (a, b) -> (a, b) -> (a, b) Source #

sconcat :: NonEmpty (a, b) -> (a, b) Source #

stimes :: Integral b0 => b0 -> (a, b) -> (a, b) Source #

Semigroup a => Semigroup ( ST s a)

Since: base-4.11.0.0

Instance details

Defined in GHC.ST

Semigroup ( Proxy s)

Since: base-4.9.0.0

Instance details

Defined in Data.Proxy

Ord k => Semigroup ( Map k v)
Instance details

Defined in Data.Map.Internal

Semigroup (f p) => Semigroup ( Rec1 f p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

( Semigroup a, Semigroup b, Semigroup c) => Semigroup (a, b, c)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

(<>) :: (a, b, c) -> (a, b, c) -> (a, b, c) Source #

sconcat :: NonEmpty (a, b, c) -> (a, b, c) Source #

stimes :: Integral b0 => b0 -> (a, b, c) -> (a, b, c) Source #

Semigroup a => Semigroup ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

( Applicative f, Semigroup a) => Semigroup ( Ap f a)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Alternative f => Semigroup ( Alt f a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup.Internal

Semigroup c => Semigroup ( K1 i c p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

( Semigroup (f p), Semigroup (g p)) => Semigroup ((f :*: g) p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

Methods

(<>) :: (f :*: g) p -> (f :*: g) p -> (f :*: g) p Source #

sconcat :: NonEmpty ((f :*: g) p) -> (f :*: g) p Source #

stimes :: Integral b => b -> (f :*: g) p -> (f :*: g) p Source #

( Semigroup a, Semigroup b, Semigroup c, Semigroup d) => Semigroup (a, b, c, d)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

(<>) :: (a, b, c, d) -> (a, b, c, d) -> (a, b, c, d) Source #

sconcat :: NonEmpty (a, b, c, d) -> (a, b, c, d) Source #

stimes :: Integral b0 => b0 -> (a, b, c, d) -> (a, b, c, d) Source #

Semigroup a => Semigroup ( ParsecT s u m a)

The Semigroup instance for ParsecT is used to append the result of several parsers, for example:

(many $ char a) <> (many $ char b)

The above will parse a string like "aabbb" and return a successful parse result "aabbb" . Compare against the below which will produce a result of "bbb" for the same input:

(many $ char a) >> (many $ char b)
(many $ char a) *> (many $ char b)

Since: parsec-3.1.12

Instance details

Defined in Text.Parsec.Prim

Semigroup (f p) => Semigroup ( M1 i c f p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

Methods

(<>) :: M1 i c f p -> M1 i c f p -> M1 i c f p Source #

sconcat :: NonEmpty ( M1 i c f p) -> M1 i c f p Source #

stimes :: Integral b => b -> M1 i c f p -> M1 i c f p Source #

Semigroup (f (g p)) => Semigroup ((f :.: g) p)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

Methods

(<>) :: (f :.: g) p -> (f :.: g) p -> (f :.: g) p Source #

sconcat :: NonEmpty ((f :.: g) p) -> (f :.: g) p Source #

stimes :: Integral b => b -> (f :.: g) p -> (f :.: g) p Source #

( Semigroup a, Semigroup b, Semigroup c, Semigroup d, Semigroup e) => Semigroup (a, b, c, d, e)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

(<>) :: (a, b, c, d, e) -> (a, b, c, d, e) -> (a, b, c, d, e) Source #

sconcat :: NonEmpty (a, b, c, d, e) -> (a, b, c, d, e) Source #

stimes :: Integral b0 => b0 -> (a, b, c, d, e) -> (a, b, c, d, e) Source #

gmappend :: ( Generic a, GSemigroup ( Rep a)) => a -> a -> a Source #

Generically generate a Semigroup ( <> ) operation for any type implementing Generic . This operation will append two values by point-wise appending their component fields. It is only defined for product types.

gmappend a (gmappend b c) = gmappend (gmappend a b) c

gmempty :: ( Generic a, GMonoid ( Rep a)) => a Source #

Generically generate a Monoid mempty for any product-like type implementing Generic .

It is only defined for product types.

gmappend gmempty a = a = gmappend a gmempty

class Typeable (a :: k) Source #

The class Typeable allows a concrete representation of a type to be calculated.

Minimal complete definition

typeRep#

type TypeRep = SomeTypeRep Source #

A quantified type representation.

typeRep :: forall k proxy (a :: k). Typeable a => proxy a -> TypeRep Source #

Takes a value of type a and returns a concrete representation of that type.

Since: base-4.7.0.0

class Typeable a => Data a Source #

The Data class comprehends a fundamental primitive gfoldl for folding over constructor applications, say terms. This primitive can be instantiated in several ways to map over the immediate subterms of a term; see the gmap combinators later in this class. Indeed, a generic programmer does not necessarily need to use the ingenious gfoldl primitive but rather the intuitive gmap combinators. The gfoldl primitive is completed by means to query top-level constructors, to turn constructor representations into proper terms, and to list all possible datatype constructors. This completion allows us to serve generic programming scenarios like read, show, equality, term generation.

The combinators gmapT , gmapQ , gmapM , etc are all provided with default definitions in terms of gfoldl , leaving open the opportunity to provide datatype-specific definitions. (The inclusion of the gmap combinators as members of class Data allows the programmer or the compiler to derive specialised, and maybe more efficient code per datatype. Note : gfoldl is more higher-order than the gmap combinators. This is subject to ongoing benchmarking experiments. It might turn out that the gmap combinators will be moved out of the class Data .)

Conceptually, the definition of the gmap combinators in terms of the primitive gfoldl requires the identification of the gfoldl function arguments. Technically, we also need to identify the type constructor c for the construction of the result type from the folded term type.

In the definition of gmapQ x combinators, we use phantom type constructors for the c in the type of gfoldl because the result type of a query does not involve the (polymorphic) type of the term argument. In the definition of gmapQl we simply use the plain constant type constructor because gfoldl is left-associative anyway and so it is readily suited to fold a left-associative binary operation over the immediate subterms. In the definition of gmapQr, extra effort is needed. We use a higher-order accumulation trick to mediate between left-associative constructor application vs. right-associative binary operation (e.g., (:) ). When the query is meant to compute a value of type r , then the result type withing generic folding is r -> r . So the result of folding is a function to which we finally pass the right unit.

With the -XDeriveDataTypeable option, GHC can generate instances of the Data class automatically. For example, given the declaration

data T a b = C1 a b | C2 deriving (Typeable, Data)

GHC will generate an instance that is equivalent to

instance (Data a, Data b) => Data (T a b) where
    gfoldl k z (C1 a b) = z C1 `k` a `k` b
    gfoldl k z C2       = z C2

    gunfold k z c = case constrIndex c of
                        1 -> k (k (z C1))
                        2 -> z C2

    toConstr (C1 _ _) = con_C1
    toConstr C2       = con_C2

    dataTypeOf _ = ty_T

con_C1 = mkConstr ty_T "C1" [] Prefix
con_C2 = mkConstr ty_T "C2" [] Prefix
ty_T   = mkDataType "Module.T" [con_C1, con_C2]

This is suitable for datatypes that are exported transparently.

Minimal complete definition

gunfold , toConstr , dataTypeOf

Instances

Instances details
Data Bool

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Bool -> c Bool Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Bool Source #

toConstr :: Bool -> Constr Source #

dataTypeOf :: Bool -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Bool ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Bool ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Bool -> Bool Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Bool -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Bool -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Bool -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Bool -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Bool -> m Bool Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Bool -> m Bool Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Bool -> m Bool Source #

Data Char

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Char -> c Char Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Char Source #

toConstr :: Char -> Constr Source #

dataTypeOf :: Char -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Char ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Char ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Char -> Char Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Char -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Char -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Char -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Char -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Char -> m Char Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Char -> m Char Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Char -> m Char Source #

Data Double

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Double -> c Double Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Double Source #

toConstr :: Double -> Constr Source #

dataTypeOf :: Double -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Double ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Double ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Double -> Double Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Double -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Double -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Double -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Double -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Double -> m Double Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Double -> m Double Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Double -> m Double Source #

Data Float

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Float -> c Float Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Float Source #

toConstr :: Float -> Constr Source #

dataTypeOf :: Float -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Float ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Float ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Float -> Float Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Float -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Float -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Float -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Float -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Float -> m Float Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Float -> m Float Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Float -> m Float Source #

Data Int

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Int -> c Int Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Int Source #

toConstr :: Int -> Constr Source #

dataTypeOf :: Int -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Int ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Int ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Int -> Int Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Int -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Int -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Int -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Int -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Int -> m Int Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int -> m Int Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int -> m Int Source #

Data Int8

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Int8 -> c Int8 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Int8 Source #

toConstr :: Int8 -> Constr Source #

dataTypeOf :: Int8 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Int8 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Int8 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Int8 -> Int8 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Int8 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Int8 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Int8 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Int8 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Int8 -> m Int8 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int8 -> m Int8 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int8 -> m Int8 Source #

Data Int16

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Int16 -> c Int16 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Int16 Source #

toConstr :: Int16 -> Constr Source #

dataTypeOf :: Int16 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Int16 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Int16 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Int16 -> Int16 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Int16 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Int16 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Int16 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Int16 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Int16 -> m Int16 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int16 -> m Int16 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int16 -> m Int16 Source #

Data Int32

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Int32 -> c Int32 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Int32 Source #

toConstr :: Int32 -> Constr Source #

dataTypeOf :: Int32 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Int32 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Int32 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Int32 -> Int32 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Int32 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Int32 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Int32 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Int32 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Int32 -> m Int32 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int32 -> m Int32 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int32 -> m Int32 Source #

Data Int64

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Int64 -> c Int64 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Int64 Source #

toConstr :: Int64 -> Constr Source #

dataTypeOf :: Int64 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Int64 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Int64 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Int64 -> Int64 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Int64 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Int64 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Int64 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Int64 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Int64 -> m Int64 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int64 -> m Int64 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int64 -> m Int64 Source #

Data Integer

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Integer -> c Integer Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Integer Source #

toConstr :: Integer -> Constr Source #

dataTypeOf :: Integer -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Integer ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Integer ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Integer -> Integer Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Integer -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Integer -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Integer -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Integer -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Integer -> m Integer Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Integer -> m Integer Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Integer -> m Integer Source #

Data Natural

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Natural -> c Natural Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Natural Source #

toConstr :: Natural -> Constr Source #

dataTypeOf :: Natural -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Natural ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Natural ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Natural -> Natural Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Natural -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Natural -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Natural -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Natural -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Natural -> m Natural Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Natural -> m Natural Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Natural -> m Natural Source #

Data Ordering

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Ordering -> c Ordering Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Ordering Source #

toConstr :: Ordering -> Constr Source #

dataTypeOf :: Ordering -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Ordering ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Ordering ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Ordering -> Ordering Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Ordering -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Ordering -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Ordering -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Ordering -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Ordering -> m Ordering Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Ordering -> m Ordering Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Ordering -> m Ordering Source #

Data Word

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Word -> c Word Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Word Source #

toConstr :: Word -> Constr Source #

dataTypeOf :: Word -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Word ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Word ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Word -> Word Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Word -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Word -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Word -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Word -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Word -> m Word Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word -> m Word Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word -> m Word Source #

Data Word8

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Word8 -> c Word8 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Word8 Source #

toConstr :: Word8 -> Constr Source #

dataTypeOf :: Word8 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Word8 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Word8 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Word8 -> Word8 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Word8 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Word8 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Word8 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Word8 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Word8 -> m Word8 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word8 -> m Word8 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word8 -> m Word8 Source #

Data Word16

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Word16 -> c Word16 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Word16 Source #

toConstr :: Word16 -> Constr Source #

dataTypeOf :: Word16 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Word16 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Word16 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Word16 -> Word16 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Word16 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Word16 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Word16 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Word16 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Word16 -> m Word16 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word16 -> m Word16 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word16 -> m Word16 Source #

Data Word32

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Word32 -> c Word32 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Word32 Source #

toConstr :: Word32 -> Constr Source #

dataTypeOf :: Word32 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Word32 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Word32 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Word32 -> Word32 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Word32 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Word32 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Word32 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Word32 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Word32 -> m Word32 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word32 -> m Word32 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word32 -> m Word32 Source #

Data Word64

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Word64 -> c Word64 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Word64 Source #

toConstr :: Word64 -> Constr Source #

dataTypeOf :: Word64 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Word64 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Word64 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Word64 -> Word64 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Word64 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Word64 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Word64 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Word64 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Word64 -> m Word64 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word64 -> m Word64 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word64 -> m Word64 Source #

Data Exp
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Exp -> c Exp Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Exp Source #

toConstr :: Exp -> Constr Source #

dataTypeOf :: Exp -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Exp ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Exp ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Exp -> Exp Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Exp -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Exp -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Exp -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Exp -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Exp -> m Exp Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Exp -> m Exp Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Exp -> m Exp Source #

Data Match
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Match -> c Match Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Match Source #

toConstr :: Match -> Constr Source #

dataTypeOf :: Match -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Match ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Match ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Match -> Match Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Match -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Match -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Match -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Match -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Match -> m Match Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Match -> m Match Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Match -> m Match Source #

Data Clause
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Clause -> c Clause Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Clause Source #

toConstr :: Clause -> Constr Source #

dataTypeOf :: Clause -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Clause ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Clause ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Clause -> Clause Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Clause -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Clause -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Clause -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Clause -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Clause -> m Clause Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Clause -> m Clause Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Clause -> m Clause Source #

Data Pat
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Pat -> c Pat Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Pat Source #

toConstr :: Pat -> Constr Source #

dataTypeOf :: Pat -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Pat ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Pat ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Pat -> Pat Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Pat -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Pat -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Pat -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Pat -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Pat -> m Pat Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Pat -> m Pat Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Pat -> m Pat Source #

Data Type
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Type -> c Type Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Type Source #

toConstr :: Type -> Constr Source #

dataTypeOf :: Type -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Type ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Type ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Type -> Type Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Type -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Type -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Type -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Type -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Type -> m Type Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Type -> m Type Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Type -> m Type Source #

Data Dec
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Dec -> c Dec Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Dec Source #

toConstr :: Dec -> Constr Source #

dataTypeOf :: Dec -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Dec ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Dec ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Dec -> Dec Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Dec -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Dec -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Dec -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Dec -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Dec -> m Dec Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Dec -> m Dec Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Dec -> m Dec Source #

Data Name
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Name -> c Name Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Name Source #

toConstr :: Name -> Constr Source #

dataTypeOf :: Name -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Name ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Name ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Name -> Name Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Name -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Name -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Name -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Name -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Name -> m Name Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Name -> m Name Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Name -> m Name Source #

Data FunDep
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> FunDep -> c FunDep Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c FunDep Source #

toConstr :: FunDep -> Constr Source #

dataTypeOf :: FunDep -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c FunDep ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c FunDep ) Source #

gmapT :: ( forall b. Data b => b -> b) -> FunDep -> FunDep Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> FunDep -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> FunDep -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> FunDep -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> FunDep -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> FunDep -> m FunDep Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> FunDep -> m FunDep Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> FunDep -> m FunDep Source #

Data InjectivityAnn
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> InjectivityAnn -> c InjectivityAnn Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c InjectivityAnn Source #

toConstr :: InjectivityAnn -> Constr Source #

dataTypeOf :: InjectivityAnn -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c InjectivityAnn ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c InjectivityAnn ) Source #

gmapT :: ( forall b. Data b => b -> b) -> InjectivityAnn -> InjectivityAnn Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> InjectivityAnn -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> InjectivityAnn -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> InjectivityAnn -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> InjectivityAnn -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> InjectivityAnn -> m InjectivityAnn Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> InjectivityAnn -> m InjectivityAnn Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> InjectivityAnn -> m InjectivityAnn Source #

Data Overlap
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Overlap -> c Overlap Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Overlap Source #

toConstr :: Overlap -> Constr Source #

dataTypeOf :: Overlap -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Overlap ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Overlap ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Overlap -> Overlap Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Overlap -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Overlap -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Overlap -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Overlap -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Overlap -> m Overlap Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Overlap -> m Overlap Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Overlap -> m Overlap Source #

Data ()

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> () -> c () Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c () Source #

toConstr :: () -> Constr Source #

dataTypeOf :: () -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ()) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ()) Source #

gmapT :: ( forall b. Data b => b -> b) -> () -> () Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> () -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> () -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> () -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> () -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> () -> m () Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> () -> m () Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> () -> m () Source #

Data Void

Since: base-4.8.0.0

Instance details

Defined in Data.Void

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Void -> c Void Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Void Source #

toConstr :: Void -> Constr Source #

dataTypeOf :: Void -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Void ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Void ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Void -> Void Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Void -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Void -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Void -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Void -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Void -> m Void Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Void -> m Void Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Void -> m Void Source #

Data SpecConstrAnnotation

Since: base-4.3.0.0

Instance details

Defined in GHC.Exts

Data Version

Since: base-4.7.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Version -> c Version Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Version Source #

toConstr :: Version -> Constr Source #

dataTypeOf :: Version -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Version ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Version ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Version -> Version Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Version -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Version -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Version -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Version -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Version -> m Version Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Version -> m Version Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Version -> m Version Source #

Data All

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> All -> c All Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c All Source #

toConstr :: All -> Constr Source #

dataTypeOf :: All -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c All ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c All ) Source #

gmapT :: ( forall b. Data b => b -> b) -> All -> All Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> All -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> All -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> All -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> All -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> All -> m All Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> All -> m All Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> All -> m All Source #

Data Any

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Any -> c Any Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Any Source #

toConstr :: Any -> Constr Source #

dataTypeOf :: Any -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Any ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Any ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Any -> Any Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Any -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Any -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Any -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Any -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Any -> m Any Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Any -> m Any Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Any -> m Any Source #

Data Fixity

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Fixity -> c Fixity Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Fixity Source #

toConstr :: Fixity -> Constr Source #

dataTypeOf :: Fixity -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Fixity ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Fixity ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Fixity -> Fixity Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Fixity -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Fixity -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Fixity -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Fixity -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Fixity -> m Fixity Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Fixity -> m Fixity Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Fixity -> m Fixity Source #

Data Associativity

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Associativity -> c Associativity Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Associativity Source #

toConstr :: Associativity -> Constr Source #

dataTypeOf :: Associativity -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Associativity ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Associativity ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Associativity -> Associativity Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Associativity -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Associativity -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Associativity -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Associativity -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Associativity -> m Associativity Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Associativity -> m Associativity Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Associativity -> m Associativity Source #

Data SourceUnpackedness

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> SourceUnpackedness -> c SourceUnpackedness Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c SourceUnpackedness Source #

toConstr :: SourceUnpackedness -> Constr Source #

dataTypeOf :: SourceUnpackedness -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c SourceUnpackedness ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c SourceUnpackedness ) Source #

gmapT :: ( forall b. Data b => b -> b) -> SourceUnpackedness -> SourceUnpackedness Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> SourceUnpackedness -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> SourceUnpackedness -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> SourceUnpackedness -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> SourceUnpackedness -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> SourceUnpackedness -> m SourceUnpackedness Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> SourceUnpackedness -> m SourceUnpackedness Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> SourceUnpackedness -> m SourceUnpackedness Source #

Data SourceStrictness

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> SourceStrictness -> c SourceStrictness Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c SourceStrictness Source #

toConstr :: SourceStrictness -> Constr Source #

dataTypeOf :: SourceStrictness -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c SourceStrictness ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c SourceStrictness ) Source #

gmapT :: ( forall b. Data b => b -> b) -> SourceStrictness -> SourceStrictness Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> SourceStrictness -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> SourceStrictness -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> SourceStrictness -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> SourceStrictness -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> SourceStrictness -> m SourceStrictness Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> SourceStrictness -> m SourceStrictness Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> SourceStrictness -> m SourceStrictness Source #

Data DecidedStrictness

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> DecidedStrictness -> c DecidedStrictness Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c DecidedStrictness Source #

toConstr :: DecidedStrictness -> Constr Source #

dataTypeOf :: DecidedStrictness -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c DecidedStrictness ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c DecidedStrictness ) Source #

gmapT :: ( forall b. Data b => b -> b) -> DecidedStrictness -> DecidedStrictness Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> DecidedStrictness -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> DecidedStrictness -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> DecidedStrictness -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> DecidedStrictness -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> DecidedStrictness -> m DecidedStrictness Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> DecidedStrictness -> m DecidedStrictness Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> DecidedStrictness -> m DecidedStrictness Source #

Data WordPtr

Since: base-4.11.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> WordPtr -> c WordPtr Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c WordPtr Source #

toConstr :: WordPtr -> Constr Source #

dataTypeOf :: WordPtr -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c WordPtr ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c WordPtr ) Source #

gmapT :: ( forall b. Data b => b -> b) -> WordPtr -> WordPtr Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> WordPtr -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> WordPtr -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> WordPtr -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> WordPtr -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> WordPtr -> m WordPtr Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> WordPtr -> m WordPtr Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> WordPtr -> m WordPtr Source #

Data IntPtr

Since: base-4.11.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> IntPtr -> c IntPtr Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c IntPtr Source #

toConstr :: IntPtr -> Constr Source #

dataTypeOf :: IntPtr -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c IntPtr ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c IntPtr ) Source #

gmapT :: ( forall b. Data b => b -> b) -> IntPtr -> IntPtr Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> IntPtr -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> IntPtr -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> IntPtr -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> IntPtr -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> IntPtr -> m IntPtr Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> IntPtr -> m IntPtr Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> IntPtr -> m IntPtr Source #

Data ShortByteString
Instance details

Defined in Data.ByteString.Short.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ShortByteString -> c ShortByteString Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ShortByteString Source #

toConstr :: ShortByteString -> Constr Source #

dataTypeOf :: ShortByteString -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ShortByteString ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ShortByteString ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ShortByteString -> ShortByteString Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ShortByteString -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ShortByteString -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ShortByteString -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ShortByteString -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ShortByteString -> m ShortByteString Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ShortByteString -> m ShortByteString Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ShortByteString -> m ShortByteString Source #

Data ByteString
Instance details

Defined in Data.ByteString.Lazy.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ByteString -> c ByteString Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ByteString Source #

toConstr :: ByteString -> Constr Source #

dataTypeOf :: ByteString -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ByteString ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ByteString ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ByteString -> ByteString Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ByteString -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ByteString -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ByteString -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ByteString -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ByteString -> m ByteString Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ByteString -> m ByteString Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ByteString -> m ByteString Source #

Data ByteString
Instance details

Defined in Data.ByteString.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ByteString -> c ByteString Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ByteString Source #

toConstr :: ByteString -> Constr Source #

dataTypeOf :: ByteString -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ByteString ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ByteString ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ByteString -> ByteString Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ByteString -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ByteString -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ByteString -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ByteString -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ByteString -> m ByteString Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ByteString -> m ByteString Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ByteString -> m ByteString Source #

Data IntSet
Instance details

Defined in Data.IntSet.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> IntSet -> c IntSet Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c IntSet Source #

toConstr :: IntSet -> Constr Source #

dataTypeOf :: IntSet -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c IntSet ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c IntSet ) Source #

gmapT :: ( forall b. Data b => b -> b) -> IntSet -> IntSet Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> IntSet -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> IntSet -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> IntSet -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> IntSet -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> IntSet -> m IntSet Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> IntSet -> m IntSet Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> IntSet -> m IntSet Source #

Data SourcePos
Instance details

Defined in Text.Parsec.Pos

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> SourcePos -> c SourcePos Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c SourcePos Source #

toConstr :: SourcePos -> Constr Source #

dataTypeOf :: SourcePos -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c SourcePos ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c SourcePos ) Source #

gmapT :: ( forall b. Data b => b -> b) -> SourcePos -> SourcePos Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> SourcePos -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> SourcePos -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> SourcePos -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> SourcePos -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> SourcePos -> m SourcePos Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> SourcePos -> m SourcePos Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> SourcePos -> m SourcePos Source #

Data ModName
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ModName -> c ModName Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ModName Source #

toConstr :: ModName -> Constr Source #

dataTypeOf :: ModName -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ModName ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ModName ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ModName -> ModName Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ModName -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ModName -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ModName -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ModName -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ModName -> m ModName Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ModName -> m ModName Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ModName -> m ModName Source #

Data PkgName
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> PkgName -> c PkgName Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c PkgName Source #

toConstr :: PkgName -> Constr Source #

dataTypeOf :: PkgName -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c PkgName ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c PkgName ) Source #

gmapT :: ( forall b. Data b => b -> b) -> PkgName -> PkgName Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> PkgName -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> PkgName -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> PkgName -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> PkgName -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> PkgName -> m PkgName Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> PkgName -> m PkgName Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> PkgName -> m PkgName Source #

Data Module
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Module -> c Module Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Module Source #

toConstr :: Module -> Constr Source #

dataTypeOf :: Module -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Module ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Module ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Module -> Module Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Module -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Module -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Module -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Module -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Module -> m Module Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Module -> m Module Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Module -> m Module Source #

Data OccName
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OccName -> c OccName Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c OccName Source #

toConstr :: OccName -> Constr Source #

dataTypeOf :: OccName -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c OccName ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c OccName ) Source #

gmapT :: ( forall b. Data b => b -> b) -> OccName -> OccName Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OccName -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OccName -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OccName -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OccName -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OccName -> m OccName Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OccName -> m OccName Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OccName -> m OccName Source #

Data NameFlavour
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> NameFlavour -> c NameFlavour Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c NameFlavour Source #

toConstr :: NameFlavour -> Constr Source #

dataTypeOf :: NameFlavour -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c NameFlavour ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c NameFlavour ) Source #

gmapT :: ( forall b. Data b => b -> b) -> NameFlavour -> NameFlavour Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> NameFlavour -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> NameFlavour -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> NameFlavour -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> NameFlavour -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> NameFlavour -> m NameFlavour Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> NameFlavour -> m NameFlavour Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> NameFlavour -> m NameFlavour Source #

Data NameSpace
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> NameSpace -> c NameSpace Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c NameSpace Source #

toConstr :: NameSpace -> Constr Source #

dataTypeOf :: NameSpace -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c NameSpace ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c NameSpace ) Source #

gmapT :: ( forall b. Data b => b -> b) -> NameSpace -> NameSpace Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> NameSpace -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> NameSpace -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> NameSpace -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> NameSpace -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> NameSpace -> m NameSpace Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> NameSpace -> m NameSpace Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> NameSpace -> m NameSpace Source #

Data Loc
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Loc -> c Loc Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Loc Source #

toConstr :: Loc -> Constr Source #

dataTypeOf :: Loc -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Loc ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Loc ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Loc -> Loc Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Loc -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Loc -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Loc -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Loc -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Loc -> m Loc Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Loc -> m Loc Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Loc -> m Loc Source #

Data Info
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Info -> c Info Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Info Source #

toConstr :: Info -> Constr Source #

dataTypeOf :: Info -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Info ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Info ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Info -> Info Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Info -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Info -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Info -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Info -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Info -> m Info Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Info -> m Info Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Info -> m Info Source #

Data ModuleInfo
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ModuleInfo -> c ModuleInfo Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ModuleInfo Source #

toConstr :: ModuleInfo -> Constr Source #

dataTypeOf :: ModuleInfo -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ModuleInfo ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ModuleInfo ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ModuleInfo -> ModuleInfo Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ModuleInfo -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ModuleInfo -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ModuleInfo -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ModuleInfo -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ModuleInfo -> m ModuleInfo Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ModuleInfo -> m ModuleInfo Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ModuleInfo -> m ModuleInfo Source #

Data Fixity
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Fixity -> c Fixity Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Fixity Source #

toConstr :: Fixity -> Constr Source #

dataTypeOf :: Fixity -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Fixity ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Fixity ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Fixity -> Fixity Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Fixity -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Fixity -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Fixity -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Fixity -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Fixity -> m Fixity Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Fixity -> m Fixity Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Fixity -> m Fixity Source #

Data FixityDirection
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> FixityDirection -> c FixityDirection Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c FixityDirection Source #

toConstr :: FixityDirection -> Constr Source #

dataTypeOf :: FixityDirection -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c FixityDirection ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c FixityDirection ) Source #

gmapT :: ( forall b. Data b => b -> b) -> FixityDirection -> FixityDirection Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> FixityDirection -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> FixityDirection -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> FixityDirection -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> FixityDirection -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> FixityDirection -> m FixityDirection Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> FixityDirection -> m FixityDirection Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> FixityDirection -> m FixityDirection Source #

Data Lit
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Lit -> c Lit Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Lit Source #

toConstr :: Lit -> Constr Source #

dataTypeOf :: Lit -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Lit ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Lit ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Lit -> Lit Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Lit -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Lit -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Lit -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Lit -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Lit -> m Lit Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Lit -> m Lit Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Lit -> m Lit Source #

Data Bytes
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Bytes -> c Bytes Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Bytes Source #

toConstr :: Bytes -> Constr Source #

dataTypeOf :: Bytes -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Bytes ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Bytes ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Bytes -> Bytes Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Bytes -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Bytes -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Bytes -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Bytes -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Bytes -> m Bytes Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Bytes -> m Bytes Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Bytes -> m Bytes Source #

Data Body
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Body -> c Body Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Body Source #

toConstr :: Body -> Constr Source #

dataTypeOf :: Body -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Body ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Body ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Body -> Body Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Body -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Body -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Body -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Body -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Body -> m Body Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Body -> m Body Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Body -> m Body Source #

Data Guard
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Guard -> c Guard Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Guard Source #

toConstr :: Guard -> Constr Source #

dataTypeOf :: Guard -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Guard ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Guard ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Guard -> Guard Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Guard -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Guard -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Guard -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Guard -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Guard -> m Guard Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Guard -> m Guard Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Guard -> m Guard Source #

Data Stmt
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Stmt -> c Stmt Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Stmt Source #

toConstr :: Stmt -> Constr Source #

dataTypeOf :: Stmt -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Stmt ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Stmt ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Stmt -> Stmt Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Stmt -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Stmt -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Stmt -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Stmt -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Stmt -> m Stmt Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Stmt -> m Stmt Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Stmt -> m Stmt Source #

Data Range
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Range -> c Range Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Range Source #

toConstr :: Range -> Constr Source #

dataTypeOf :: Range -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Range ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Range ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Range -> Range Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Range -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Range -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Range -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Range -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Range -> m Range Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Range -> m Range Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Range -> m Range Source #

Data DerivClause
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> DerivClause -> c DerivClause Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c DerivClause Source #

toConstr :: DerivClause -> Constr Source #

dataTypeOf :: DerivClause -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c DerivClause ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c DerivClause ) Source #

gmapT :: ( forall b. Data b => b -> b) -> DerivClause -> DerivClause Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> DerivClause -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> DerivClause -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> DerivClause -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> DerivClause -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> DerivClause -> m DerivClause Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> DerivClause -> m DerivClause Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> DerivClause -> m DerivClause Source #

Data DerivStrategy
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> DerivStrategy -> c DerivStrategy Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c DerivStrategy Source #

toConstr :: DerivStrategy -> Constr Source #

dataTypeOf :: DerivStrategy -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c DerivStrategy ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c DerivStrategy ) Source #

gmapT :: ( forall b. Data b => b -> b) -> DerivStrategy -> DerivStrategy Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> DerivStrategy -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> DerivStrategy -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> DerivStrategy -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> DerivStrategy -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> DerivStrategy -> m DerivStrategy Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> DerivStrategy -> m DerivStrategy Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> DerivStrategy -> m DerivStrategy Source #

Data TypeFamilyHead
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> TypeFamilyHead -> c TypeFamilyHead Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c TypeFamilyHead Source #

toConstr :: TypeFamilyHead -> Constr Source #

dataTypeOf :: TypeFamilyHead -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c TypeFamilyHead ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c TypeFamilyHead ) Source #

gmapT :: ( forall b. Data b => b -> b) -> TypeFamilyHead -> TypeFamilyHead Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> TypeFamilyHead -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> TypeFamilyHead -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> TypeFamilyHead -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> TypeFamilyHead -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> TypeFamilyHead -> m TypeFamilyHead Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> TypeFamilyHead -> m TypeFamilyHead Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> TypeFamilyHead -> m TypeFamilyHead Source #

Data TySynEqn
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> TySynEqn -> c TySynEqn Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c TySynEqn Source #

toConstr :: TySynEqn -> Constr Source #

dataTypeOf :: TySynEqn -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c TySynEqn ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c TySynEqn ) Source #

gmapT :: ( forall b. Data b => b -> b) -> TySynEqn -> TySynEqn Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> TySynEqn -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> TySynEqn -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> TySynEqn -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> TySynEqn -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> TySynEqn -> m TySynEqn Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> TySynEqn -> m TySynEqn Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> TySynEqn -> m TySynEqn Source #

Data Foreign
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Foreign -> c Foreign Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Foreign Source #

toConstr :: Foreign -> Constr Source #

dataTypeOf :: Foreign -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Foreign ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Foreign ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Foreign -> Foreign Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Foreign -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Foreign -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Foreign -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Foreign -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Foreign -> m Foreign Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Foreign -> m Foreign Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Foreign -> m Foreign Source #

Data Callconv
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Callconv -> c Callconv Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Callconv Source #

toConstr :: Callconv -> Constr Source #

dataTypeOf :: Callconv -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Callconv ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Callconv ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Callconv -> Callconv Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Callconv -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Callconv -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Callconv -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Callconv -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Callconv -> m Callconv Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Callconv -> m Callconv Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Callconv -> m Callconv Source #

Data Safety
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Safety -> c Safety Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Safety Source #

toConstr :: Safety -> Constr Source #

dataTypeOf :: Safety -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Safety ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Safety ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Safety -> Safety Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Safety -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Safety -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Safety -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Safety -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Safety -> m Safety Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Safety -> m Safety Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Safety -> m Safety Source #

Data Pragma
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Pragma -> c Pragma Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Pragma Source #

toConstr :: Pragma -> Constr Source #

dataTypeOf :: Pragma -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Pragma ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Pragma ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Pragma -> Pragma Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Pragma -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Pragma -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Pragma -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Pragma -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Pragma -> m Pragma Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Pragma -> m Pragma Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Pragma -> m Pragma Source #

Data Inline
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Inline -> c Inline Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Inline Source #

toConstr :: Inline -> Constr Source #

dataTypeOf :: Inline -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Inline ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Inline ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Inline -> Inline Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Inline -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Inline -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Inline -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Inline -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Inline -> m Inline Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Inline -> m Inline Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Inline -> m Inline Source #

Data RuleMatch
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> RuleMatch -> c RuleMatch Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c RuleMatch Source #

toConstr :: RuleMatch -> Constr Source #

dataTypeOf :: RuleMatch -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c RuleMatch ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c RuleMatch ) Source #

gmapT :: ( forall b. Data b => b -> b) -> RuleMatch -> RuleMatch Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> RuleMatch -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> RuleMatch -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> RuleMatch -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> RuleMatch -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> RuleMatch -> m RuleMatch Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> RuleMatch -> m RuleMatch Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> RuleMatch -> m RuleMatch Source #

Data Phases
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Phases -> c Phases Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Phases Source #

toConstr :: Phases -> Constr Source #

dataTypeOf :: Phases -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Phases ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Phases ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Phases -> Phases Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Phases -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Phases -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Phases -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Phases -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Phases -> m Phases Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Phases -> m Phases Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Phases -> m Phases Source #

Data RuleBndr
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> RuleBndr -> c RuleBndr Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c RuleBndr Source #

toConstr :: RuleBndr -> Constr Source #

dataTypeOf :: RuleBndr -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c RuleBndr ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c RuleBndr ) Source #

gmapT :: ( forall b. Data b => b -> b) -> RuleBndr -> RuleBndr Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> RuleBndr -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> RuleBndr -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> RuleBndr -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> RuleBndr -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> RuleBndr -> m RuleBndr Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> RuleBndr -> m RuleBndr Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> RuleBndr -> m RuleBndr Source #

Data AnnTarget
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> AnnTarget -> c AnnTarget Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c AnnTarget Source #

toConstr :: AnnTarget -> Constr Source #

dataTypeOf :: AnnTarget -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c AnnTarget ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c AnnTarget ) Source #

gmapT :: ( forall b. Data b => b -> b) -> AnnTarget -> AnnTarget Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> AnnTarget -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> AnnTarget -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> AnnTarget -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> AnnTarget -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> AnnTarget -> m AnnTarget Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> AnnTarget -> m AnnTarget Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> AnnTarget -> m AnnTarget Source #

Data SourceUnpackedness
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> SourceUnpackedness -> c SourceUnpackedness Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c SourceUnpackedness Source #

toConstr :: SourceUnpackedness -> Constr Source #

dataTypeOf :: SourceUnpackedness -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c SourceUnpackedness ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c SourceUnpackedness ) Source #

gmapT :: ( forall b. Data b => b -> b) -> SourceUnpackedness -> SourceUnpackedness Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> SourceUnpackedness -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> SourceUnpackedness -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> SourceUnpackedness -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> SourceUnpackedness -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> SourceUnpackedness -> m SourceUnpackedness Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> SourceUnpackedness -> m SourceUnpackedness Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> SourceUnpackedness -> m SourceUnpackedness Source #

Data SourceStrictness
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> SourceStrictness -> c SourceStrictness Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c SourceStrictness Source #

toConstr :: SourceStrictness -> Constr Source #

dataTypeOf :: SourceStrictness -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c SourceStrictness ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c SourceStrictness ) Source #

gmapT :: ( forall b. Data b => b -> b) -> SourceStrictness -> SourceStrictness Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> SourceStrictness -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> SourceStrictness -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> SourceStrictness -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> SourceStrictness -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> SourceStrictness -> m SourceStrictness Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> SourceStrictness -> m SourceStrictness Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> SourceStrictness -> m SourceStrictness Source #

Data DecidedStrictness
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> DecidedStrictness -> c DecidedStrictness Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c DecidedStrictness Source #

toConstr :: DecidedStrictness -> Constr Source #

dataTypeOf :: DecidedStrictness -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c DecidedStrictness ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c DecidedStrictness ) Source #

gmapT :: ( forall b. Data b => b -> b) -> DecidedStrictness -> DecidedStrictness Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> DecidedStrictness -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> DecidedStrictness -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> DecidedStrictness -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> DecidedStrictness -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> DecidedStrictness -> m DecidedStrictness Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> DecidedStrictness -> m DecidedStrictness Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> DecidedStrictness -> m DecidedStrictness Source #

Data Con
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Con -> c Con Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Con Source #

toConstr :: Con -> Constr Source #

dataTypeOf :: Con -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Con ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Con ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Con -> Con Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Con -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Con -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Con -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Con -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Con -> m Con Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Con -> m Con Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Con -> m Con Source #

Data Bang
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Bang -> c Bang Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Bang Source #

toConstr :: Bang -> Constr Source #

dataTypeOf :: Bang -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Bang ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Bang ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Bang -> Bang Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Bang -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Bang -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Bang -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Bang -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Bang -> m Bang Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Bang -> m Bang Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Bang -> m Bang Source #

Data PatSynDir
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> PatSynDir -> c PatSynDir Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c PatSynDir Source #

toConstr :: PatSynDir -> Constr Source #

dataTypeOf :: PatSynDir -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c PatSynDir ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c PatSynDir ) Source #

gmapT :: ( forall b. Data b => b -> b) -> PatSynDir -> PatSynDir Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> PatSynDir -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> PatSynDir -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> PatSynDir -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> PatSynDir -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> PatSynDir -> m PatSynDir Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> PatSynDir -> m PatSynDir Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> PatSynDir -> m PatSynDir Source #

Data PatSynArgs
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> PatSynArgs -> c PatSynArgs Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c PatSynArgs Source #

toConstr :: PatSynArgs -> Constr Source #

dataTypeOf :: PatSynArgs -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c PatSynArgs ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c PatSynArgs ) Source #

gmapT :: ( forall b. Data b => b -> b) -> PatSynArgs -> PatSynArgs Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> PatSynArgs -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> PatSynArgs -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> PatSynArgs -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> PatSynArgs -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> PatSynArgs -> m PatSynArgs Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> PatSynArgs -> m PatSynArgs Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> PatSynArgs -> m PatSynArgs Source #

Data TyVarBndr
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> TyVarBndr -> c TyVarBndr Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c TyVarBndr Source #

toConstr :: TyVarBndr -> Constr Source #

dataTypeOf :: TyVarBndr -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c TyVarBndr ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c TyVarBndr ) Source #

gmapT :: ( forall b. Data b => b -> b) -> TyVarBndr -> TyVarBndr Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> TyVarBndr -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> TyVarBndr -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> TyVarBndr -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> TyVarBndr -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> TyVarBndr -> m TyVarBndr Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> TyVarBndr -> m TyVarBndr Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> TyVarBndr -> m TyVarBndr Source #

Data FamilyResultSig
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> FamilyResultSig -> c FamilyResultSig Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c FamilyResultSig Source #

toConstr :: FamilyResultSig -> Constr Source #

dataTypeOf :: FamilyResultSig -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c FamilyResultSig ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c FamilyResultSig ) Source #

gmapT :: ( forall b. Data b => b -> b) -> FamilyResultSig -> FamilyResultSig Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> FamilyResultSig -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> FamilyResultSig -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> FamilyResultSig -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> FamilyResultSig -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> FamilyResultSig -> m FamilyResultSig Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> FamilyResultSig -> m FamilyResultSig Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> FamilyResultSig -> m FamilyResultSig Source #

Data TyLit
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> TyLit -> c TyLit Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c TyLit Source #

toConstr :: TyLit -> Constr Source #

dataTypeOf :: TyLit -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c TyLit ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c TyLit ) Source #

gmapT :: ( forall b. Data b => b -> b) -> TyLit -> TyLit Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> TyLit -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> TyLit -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> TyLit -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> TyLit -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> TyLit -> m TyLit Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> TyLit -> m TyLit Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> TyLit -> m TyLit Source #

Data Role
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Role -> c Role Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Role Source #

toConstr :: Role -> Constr Source #

dataTypeOf :: Role -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Role ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Role ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Role -> Role Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Role -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Role -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Role -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Role -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Role -> m Role Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Role -> m Role Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Role -> m Role Source #

Data AnnLookup
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> AnnLookup -> c AnnLookup Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c AnnLookup Source #

toConstr :: AnnLookup -> Constr Source #

dataTypeOf :: AnnLookup -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c AnnLookup ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c AnnLookup ) Source #

gmapT :: ( forall b. Data b => b -> b) -> AnnLookup -> AnnLookup Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> AnnLookup -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> AnnLookup -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> AnnLookup -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> AnnLookup -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> AnnLookup -> m AnnLookup Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> AnnLookup -> m AnnLookup Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> AnnLookup -> m AnnLookup Source #

Data ZonedTime
Instance details

Defined in Data.Time.LocalTime.Internal.ZonedTime

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ZonedTime -> c ZonedTime Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ZonedTime Source #

toConstr :: ZonedTime -> Constr Source #

dataTypeOf :: ZonedTime -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ZonedTime ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ZonedTime ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ZonedTime -> ZonedTime Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ZonedTime -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ZonedTime -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ZonedTime -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ZonedTime -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ZonedTime -> m ZonedTime Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ZonedTime -> m ZonedTime Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ZonedTime -> m ZonedTime Source #

Data LocalTime
Instance details

Defined in Data.Time.LocalTime.Internal.LocalTime

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> LocalTime -> c LocalTime Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c LocalTime Source #

toConstr :: LocalTime -> Constr Source #

dataTypeOf :: LocalTime -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c LocalTime ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c LocalTime ) Source #

gmapT :: ( forall b. Data b => b -> b) -> LocalTime -> LocalTime Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> LocalTime -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> LocalTime -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> LocalTime -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> LocalTime -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> LocalTime -> m LocalTime Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> LocalTime -> m LocalTime Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> LocalTime -> m LocalTime Source #

Data TimeOfDay
Instance details

Defined in Data.Time.LocalTime.Internal.TimeOfDay

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> TimeOfDay -> c TimeOfDay Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c TimeOfDay Source #

toConstr :: TimeOfDay -> Constr Source #

dataTypeOf :: TimeOfDay -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c TimeOfDay ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c TimeOfDay ) Source #

gmapT :: ( forall b. Data b => b -> b) -> TimeOfDay -> TimeOfDay Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> TimeOfDay -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> TimeOfDay -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> TimeOfDay -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> TimeOfDay -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> TimeOfDay -> m TimeOfDay Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> TimeOfDay -> m TimeOfDay Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> TimeOfDay -> m TimeOfDay Source #

Data TimeZone
Instance details

Defined in Data.Time.LocalTime.Internal.TimeZone

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> TimeZone -> c TimeZone Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c TimeZone Source #

toConstr :: TimeZone -> Constr Source #

dataTypeOf :: TimeZone -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c TimeZone ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c TimeZone ) Source #

gmapT :: ( forall b. Data b => b -> b) -> TimeZone -> TimeZone Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> TimeZone -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> TimeZone -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> TimeZone -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> TimeZone -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> TimeZone -> m TimeZone Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> TimeZone -> m TimeZone Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> TimeZone -> m TimeZone Source #

Data UniversalTime
Instance details

Defined in Data.Time.Clock.Internal.UniversalTime

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> UniversalTime -> c UniversalTime Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c UniversalTime Source #

toConstr :: UniversalTime -> Constr Source #

dataTypeOf :: UniversalTime -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c UniversalTime ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c UniversalTime ) Source #

gmapT :: ( forall b. Data b => b -> b) -> UniversalTime -> UniversalTime Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> UniversalTime -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> UniversalTime -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> UniversalTime -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> UniversalTime -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> UniversalTime -> m UniversalTime Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> UniversalTime -> m UniversalTime Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> UniversalTime -> m UniversalTime Source #

Data UTCTime
Instance details

Defined in Data.Time.Clock.Internal.UTCTime

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> UTCTime -> c UTCTime Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c UTCTime Source #

toConstr :: UTCTime -> Constr Source #

dataTypeOf :: UTCTime -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c UTCTime ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c UTCTime ) Source #

gmapT :: ( forall b. Data b => b -> b) -> UTCTime -> UTCTime Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> UTCTime -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> UTCTime -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> UTCTime -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> UTCTime -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> UTCTime -> m UTCTime Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> UTCTime -> m UTCTime Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> UTCTime -> m UTCTime Source #

Data NominalDiffTime
Instance details

Defined in Data.Time.Clock.Internal.NominalDiffTime

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> NominalDiffTime -> c NominalDiffTime Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c NominalDiffTime Source #

toConstr :: NominalDiffTime -> Constr Source #

dataTypeOf :: NominalDiffTime -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c NominalDiffTime ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c NominalDiffTime ) Source #

gmapT :: ( forall b. Data b => b -> b) -> NominalDiffTime -> NominalDiffTime Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> NominalDiffTime -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> NominalDiffTime -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> NominalDiffTime -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> NominalDiffTime -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> NominalDiffTime -> m NominalDiffTime Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> NominalDiffTime -> m NominalDiffTime Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> NominalDiffTime -> m NominalDiffTime Source #

Data DiffTime
Instance details

Defined in Data.Time.Clock.Internal.DiffTime

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> DiffTime -> c DiffTime Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c DiffTime Source #

toConstr :: DiffTime -> Constr Source #

dataTypeOf :: DiffTime -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c DiffTime ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c DiffTime ) Source #

gmapT :: ( forall b. Data b => b -> b) -> DiffTime -> DiffTime Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> DiffTime -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> DiffTime -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> DiffTime -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> DiffTime -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> DiffTime -> m DiffTime Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> DiffTime -> m DiffTime Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> DiffTime -> m DiffTime Source #

Data Day
Instance details

Defined in Data.Time.Calendar.Days

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Day -> c Day Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Day Source #

toConstr :: Day -> Constr Source #

dataTypeOf :: Day -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Day ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Day ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Day -> Day Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Day -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Day -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Day -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Day -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Day -> m Day Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Day -> m Day Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Day -> m Day Source #

Data ShortText Source #
Instance details

Defined in Distribution.Utils.ShortText

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ShortText -> c ShortText Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ShortText Source #

toConstr :: ShortText -> Constr Source #

dataTypeOf :: ShortText -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ShortText ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ShortText ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ShortText -> ShortText Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ShortText -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ShortText -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ShortText -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ShortText -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ShortText -> m ShortText Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ShortText -> m ShortText Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ShortText -> m ShortText Source #

Data CabalSpecVersion Source #
Instance details

Defined in Distribution.CabalSpecVersion

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> CabalSpecVersion -> c CabalSpecVersion Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c CabalSpecVersion Source #

toConstr :: CabalSpecVersion -> Constr Source #

dataTypeOf :: CabalSpecVersion -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c CabalSpecVersion ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c CabalSpecVersion ) Source #

gmapT :: ( forall b. Data b => b -> b) -> CabalSpecVersion -> CabalSpecVersion Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> CabalSpecVersion -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> CabalSpecVersion -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> CabalSpecVersion -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> CabalSpecVersion -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> CabalSpecVersion -> m CabalSpecVersion Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> CabalSpecVersion -> m CabalSpecVersion Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> CabalSpecVersion -> m CabalSpecVersion Source #

Data Version Source #
Instance details

Defined in Distribution.Types.Version

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Version -> c Version Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Version Source #

toConstr :: Version -> Constr Source #

dataTypeOf :: Version -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Version ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Version ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Version -> Version Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Version -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Version -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Version -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Version -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Version -> m Version Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Version -> m Version Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Version -> m Version Source #

Data VersionRange Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> VersionRange -> c VersionRange Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c VersionRange Source #

toConstr :: VersionRange -> Constr Source #

dataTypeOf :: VersionRange -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c VersionRange ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c VersionRange ) Source #

gmapT :: ( forall b. Data b => b -> b) -> VersionRange -> VersionRange Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> VersionRange -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> VersionRange -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> VersionRange -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> VersionRange -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> VersionRange -> m VersionRange Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> VersionRange -> m VersionRange Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> VersionRange -> m VersionRange Source #

Data RepoType Source #
Instance details

Defined in Distribution.Types.SourceRepo

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> RepoType -> c RepoType Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c RepoType Source #

toConstr :: RepoType -> Constr Source #

dataTypeOf :: RepoType -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c RepoType ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c RepoType ) Source #

gmapT :: ( forall b. Data b => b -> b) -> RepoType -> RepoType Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> RepoType -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> RepoType -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> RepoType -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> RepoType -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> RepoType -> m RepoType Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> RepoType -> m RepoType Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> RepoType -> m RepoType Source #

Data RepoKind Source #
Instance details

Defined in Distribution.Types.SourceRepo

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> RepoKind -> c RepoKind Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c RepoKind Source #

toConstr :: RepoKind -> Constr Source #

dataTypeOf :: RepoKind -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c RepoKind ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c RepoKind ) Source #

gmapT :: ( forall b. Data b => b -> b) -> RepoKind -> RepoKind Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> RepoKind -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> RepoKind -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> RepoKind -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> RepoKind -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> RepoKind -> m RepoKind Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> RepoKind -> m RepoKind Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> RepoKind -> m RepoKind Source #

Data SourceRepo Source #
Instance details

Defined in Distribution.Types.SourceRepo

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> SourceRepo -> c SourceRepo Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c SourceRepo Source #

toConstr :: SourceRepo -> Constr Source #

dataTypeOf :: SourceRepo -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c SourceRepo ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c SourceRepo ) Source #

gmapT :: ( forall b. Data b => b -> b) -> SourceRepo -> SourceRepo Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> SourceRepo -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> SourceRepo -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> SourceRepo -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> SourceRepo -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> SourceRepo -> m SourceRepo Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> SourceRepo -> m SourceRepo Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> SourceRepo -> m SourceRepo Source #

Data PkgconfigVersion Source #
Instance details

Defined in Distribution.Types.PkgconfigVersion

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> PkgconfigVersion -> c PkgconfigVersion Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c PkgconfigVersion Source #

toConstr :: PkgconfigVersion -> Constr Source #

dataTypeOf :: PkgconfigVersion -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c PkgconfigVersion ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c PkgconfigVersion ) Source #

gmapT :: ( forall b. Data b => b -> b) -> PkgconfigVersion -> PkgconfigVersion Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> PkgconfigVersion -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> PkgconfigVersion -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> PkgconfigVersion -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> PkgconfigVersion -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> PkgconfigVersion -> m PkgconfigVersion Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> PkgconfigVersion -> m PkgconfigVersion Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> PkgconfigVersion -> m PkgconfigVersion Source #

Data PkgconfigVersionRange Source #
Instance details

Defined in Distribution.Types.PkgconfigVersionRange

Data PkgconfigName Source #
Instance details

Defined in Distribution.Types.PkgconfigName

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> PkgconfigName -> c PkgconfigName Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c PkgconfigName Source #

toConstr :: PkgconfigName -> Constr Source #

dataTypeOf :: PkgconfigName -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c PkgconfigName ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c PkgconfigName ) Source #

gmapT :: ( forall b. Data b => b -> b) -> PkgconfigName -> PkgconfigName Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> PkgconfigName -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> PkgconfigName -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> PkgconfigName -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> PkgconfigName -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> PkgconfigName -> m PkgconfigName Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> PkgconfigName -> m PkgconfigName Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> PkgconfigName -> m PkgconfigName Source #

Data PkgconfigDependency Source #
Instance details

Defined in Distribution.Types.PkgconfigDependency

Data PackageName Source #
Instance details

Defined in Distribution.Types.PackageName

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> PackageName -> c PackageName Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c PackageName Source #

toConstr :: PackageName -> Constr Source #

dataTypeOf :: PackageName -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c PackageName ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c PackageName ) Source #

gmapT :: ( forall b. Data b => b -> b) -> PackageName -> PackageName Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> PackageName -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> PackageName -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> PackageName -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> PackageName -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> PackageName -> m PackageName Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> PackageName -> m PackageName Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> PackageName -> m PackageName Source #

Data UnqualComponentName Source #
Instance details

Defined in Distribution.Types.UnqualComponentName

Data PackageVersionConstraint Source #
Instance details

Defined in Distribution.Types.PackageVersionConstraint

Data LibraryVisibility Source #
Instance details

Defined in Distribution.Types.LibraryVisibility

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> LibraryVisibility -> c LibraryVisibility Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c LibraryVisibility Source #

toConstr :: LibraryVisibility -> Constr Source #

dataTypeOf :: LibraryVisibility -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c LibraryVisibility ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c LibraryVisibility ) Source #

gmapT :: ( forall b. Data b => b -> b) -> LibraryVisibility -> LibraryVisibility Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> LibraryVisibility -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> LibraryVisibility -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> LibraryVisibility -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> LibraryVisibility -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> LibraryVisibility -> m LibraryVisibility Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> LibraryVisibility -> m LibraryVisibility Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> LibraryVisibility -> m LibraryVisibility Source #

Data LibraryName Source #
Instance details

Defined in Distribution.Types.LibraryName

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> LibraryName -> c LibraryName Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c LibraryName Source #

toConstr :: LibraryName -> Constr Source #

dataTypeOf :: LibraryName -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c LibraryName ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c LibraryName ) Source #

gmapT :: ( forall b. Data b => b -> b) -> LibraryName -> LibraryName Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> LibraryName -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> LibraryName -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> LibraryName -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> LibraryName -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> LibraryName -> m LibraryName Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> LibraryName -> m LibraryName Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> LibraryName -> m LibraryName Source #

Data MungedPackageName Source #
Instance details

Defined in Distribution.Types.MungedPackageName

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> MungedPackageName -> c MungedPackageName Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c MungedPackageName Source #

toConstr :: MungedPackageName -> Constr Source #

dataTypeOf :: MungedPackageName -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c MungedPackageName ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c MungedPackageName ) Source #

gmapT :: ( forall b. Data b => b -> b) -> MungedPackageName -> MungedPackageName Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> MungedPackageName -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> MungedPackageName -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> MungedPackageName -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> MungedPackageName -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> MungedPackageName -> m MungedPackageName Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> MungedPackageName -> m MungedPackageName Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> MungedPackageName -> m MungedPackageName Source #

Data ForeignLibType Source #
Instance details

Defined in Distribution.Types.ForeignLibType

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ForeignLibType -> c ForeignLibType Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ForeignLibType Source #

toConstr :: ForeignLibType -> Constr Source #

dataTypeOf :: ForeignLibType -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ForeignLibType ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ForeignLibType ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ForeignLibType -> ForeignLibType Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ForeignLibType -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ForeignLibType -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ForeignLibType -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ForeignLibType -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ForeignLibType -> m ForeignLibType Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ForeignLibType -> m ForeignLibType Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ForeignLibType -> m ForeignLibType Source #

Data ForeignLibOption Source #
Instance details

Defined in Distribution.Types.ForeignLibOption

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ForeignLibOption -> c ForeignLibOption Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ForeignLibOption Source #

toConstr :: ForeignLibOption -> Constr Source #

dataTypeOf :: ForeignLibOption -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ForeignLibOption ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ForeignLibOption ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ForeignLibOption -> ForeignLibOption Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ForeignLibOption -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ForeignLibOption -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ForeignLibOption -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ForeignLibOption -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ForeignLibOption -> m ForeignLibOption Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ForeignLibOption -> m ForeignLibOption Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ForeignLibOption -> m ForeignLibOption Source #

Data FlagName Source #
Instance details

Defined in Distribution.Types.Flag

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> FlagName -> c FlagName Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c FlagName Source #

toConstr :: FlagName -> Constr Source #

dataTypeOf :: FlagName -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c FlagName ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c FlagName ) Source #

gmapT :: ( forall b. Data b => b -> b) -> FlagName -> FlagName Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> FlagName -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> FlagName -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> FlagName -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> FlagName -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> FlagName -> m FlagName Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> FlagName -> m FlagName Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> FlagName -> m FlagName Source #

Data Flag Source #
Instance details

Defined in Distribution.Types.Flag

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Flag -> c Flag Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Flag Source #

toConstr :: Flag -> Constr Source #

dataTypeOf :: Flag -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Flag ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Flag ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Flag -> Flag Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Flag -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Flag -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Flag -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Flag -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Flag -> m Flag Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Flag -> m Flag Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Flag -> m Flag Source #

Data ExecutableScope Source #
Instance details

Defined in Distribution.Types.ExecutableScope

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ExecutableScope -> c ExecutableScope Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ExecutableScope Source #

toConstr :: ExecutableScope -> Constr Source #

dataTypeOf :: ExecutableScope -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ExecutableScope ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ExecutableScope ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ExecutableScope -> ExecutableScope Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ExecutableScope -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ExecutableScope -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ExecutableScope -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ExecutableScope -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ExecutableScope -> m ExecutableScope Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ExecutableScope -> m ExecutableScope Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ExecutableScope -> m ExecutableScope Source #

Data ComponentId Source #
Instance details

Defined in Distribution.Types.ComponentId

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ComponentId -> c ComponentId Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ComponentId Source #

toConstr :: ComponentId -> Constr Source #

dataTypeOf :: ComponentId -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ComponentId ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ComponentId ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ComponentId -> ComponentId Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ComponentId -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ComponentId -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ComponentId -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ComponentId -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ComponentId -> m ComponentId Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ComponentId -> m ComponentId Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ComponentId -> m ComponentId Source #

Data BuildType Source #
Instance details

Defined in Distribution.Types.BuildType

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> BuildType -> c BuildType Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c BuildType Source #

toConstr :: BuildType -> Constr Source #

dataTypeOf :: BuildType -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c BuildType ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c BuildType ) Source #

gmapT :: ( forall b. Data b => b -> b) -> BuildType -> BuildType Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> BuildType -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> BuildType -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> BuildType -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> BuildType -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> BuildType -> m BuildType Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> BuildType -> m BuildType Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> BuildType -> m BuildType Source #

Data Platform Source #
Instance details

Defined in Distribution.System

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Platform -> c Platform Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Platform Source #

toConstr :: Platform -> Constr Source #

dataTypeOf :: Platform -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Platform ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Platform ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Platform -> Platform Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Platform -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Platform -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Platform -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Platform -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Platform -> m Platform Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Platform -> m Platform Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Platform -> m Platform Source #

Data Arch Source #
Instance details

Defined in Distribution.System

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Arch -> c Arch Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Arch Source #

toConstr :: Arch -> Constr Source #

dataTypeOf :: Arch -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Arch ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Arch ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Arch -> Arch Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Arch -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Arch -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Arch -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Arch -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Arch -> m Arch Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Arch -> m Arch Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Arch -> m Arch Source #

Data OS Source #
Instance details

Defined in Distribution.System

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OS -> c OS Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c OS Source #

toConstr :: OS -> Constr Source #

dataTypeOf :: OS -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c OS ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c OS ) Source #

gmapT :: ( forall b. Data b => b -> b) -> OS -> OS Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OS -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OS -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OS -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OS -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OS -> m OS Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OS -> m OS Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OS -> m OS Source #

Data LicenseRef Source #
Instance details

Defined in Distribution.SPDX.LicenseReference

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> LicenseRef -> c LicenseRef Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c LicenseRef Source #

toConstr :: LicenseRef -> Constr Source #

dataTypeOf :: LicenseRef -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c LicenseRef ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c LicenseRef ) Source #

gmapT :: ( forall b. Data b => b -> b) -> LicenseRef -> LicenseRef Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> LicenseRef -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> LicenseRef -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> LicenseRef -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> LicenseRef -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> LicenseRef -> m LicenseRef Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> LicenseRef -> m LicenseRef Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> LicenseRef -> m LicenseRef Source #

Data LicenseId Source #
Instance details

Defined in Distribution.SPDX.LicenseId

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> LicenseId -> c LicenseId Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c LicenseId Source #

toConstr :: LicenseId -> Constr Source #

dataTypeOf :: LicenseId -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c LicenseId ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c LicenseId ) Source #

gmapT :: ( forall b. Data b => b -> b) -> LicenseId -> LicenseId Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> LicenseId -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> LicenseId -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> LicenseId -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> LicenseId -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> LicenseId -> m LicenseId Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> LicenseId -> m LicenseId Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> LicenseId -> m LicenseId Source #

Data LicenseExceptionId Source #
Instance details

Defined in Distribution.SPDX.LicenseExceptionId

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> LicenseExceptionId -> c LicenseExceptionId Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c LicenseExceptionId Source #

toConstr :: LicenseExceptionId -> Constr Source #

dataTypeOf :: LicenseExceptionId -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c LicenseExceptionId ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c LicenseExceptionId ) Source #

gmapT :: ( forall b. Data b => b -> b) -> LicenseExceptionId -> LicenseExceptionId Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> LicenseExceptionId -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> LicenseExceptionId -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> LicenseExceptionId -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> LicenseExceptionId -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> LicenseExceptionId -> m LicenseExceptionId Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> LicenseExceptionId -> m LicenseExceptionId Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> LicenseExceptionId -> m LicenseExceptionId Source #

Data SimpleLicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Data LicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> LicenseExpression -> c LicenseExpression Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c LicenseExpression Source #

toConstr :: LicenseExpression -> Constr Source #

dataTypeOf :: LicenseExpression -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c LicenseExpression ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c LicenseExpression ) Source #

gmapT :: ( forall b. Data b => b -> b) -> LicenseExpression -> LicenseExpression Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> LicenseExpression -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> LicenseExpression -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> LicenseExpression -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> LicenseExpression -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> LicenseExpression -> m LicenseExpression Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> LicenseExpression -> m LicenseExpression Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> LicenseExpression -> m LicenseExpression Source #

Data License Source #
Instance details

Defined in Distribution.SPDX.License

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> License -> c License Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c License Source #

toConstr :: License -> Constr Source #

dataTypeOf :: License -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c License ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c License ) Source #

gmapT :: ( forall b. Data b => b -> b) -> License -> License Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> License -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> License -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> License -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> License -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> License -> m License Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> License -> m License Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> License -> m License Source #

Data ModuleName Source #
Instance details

Defined in Distribution.ModuleName

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ModuleName -> c ModuleName Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ModuleName Source #

toConstr :: ModuleName -> Constr Source #

dataTypeOf :: ModuleName -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ModuleName ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ModuleName ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ModuleName -> ModuleName Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ModuleName -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ModuleName -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ModuleName -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ModuleName -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ModuleName -> m ModuleName Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ModuleName -> m ModuleName Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ModuleName -> m ModuleName Source #

Data ModuleRenaming Source #
Instance details

Defined in Distribution.Types.ModuleRenaming

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ModuleRenaming -> c ModuleRenaming Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ModuleRenaming Source #

toConstr :: ModuleRenaming -> Constr Source #

dataTypeOf :: ModuleRenaming -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ModuleRenaming ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ModuleRenaming ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ModuleRenaming -> ModuleRenaming Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ModuleRenaming -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ModuleRenaming -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ModuleRenaming -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ModuleRenaming -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ModuleRenaming -> m ModuleRenaming Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ModuleRenaming -> m ModuleRenaming Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ModuleRenaming -> m ModuleRenaming Source #

Data IncludeRenaming Source #
Instance details

Defined in Distribution.Types.IncludeRenaming

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> IncludeRenaming -> c IncludeRenaming Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c IncludeRenaming Source #

toConstr :: IncludeRenaming -> Constr Source #

dataTypeOf :: IncludeRenaming -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c IncludeRenaming ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c IncludeRenaming ) Source #

gmapT :: ( forall b. Data b => b -> b) -> IncludeRenaming -> IncludeRenaming Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> IncludeRenaming -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> IncludeRenaming -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> IncludeRenaming -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> IncludeRenaming -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> IncludeRenaming -> m IncludeRenaming Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> IncludeRenaming -> m IncludeRenaming Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> IncludeRenaming -> m IncludeRenaming Source #

Data Mixin Source #
Instance details

Defined in Distribution.Types.Mixin

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Mixin -> c Mixin Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Mixin Source #

toConstr :: Mixin -> Constr Source #

dataTypeOf :: Mixin -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Mixin ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Mixin ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Mixin -> Mixin Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Mixin -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Mixin -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Mixin -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Mixin -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Mixin -> m Mixin Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Mixin -> m Mixin Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Mixin -> m Mixin Source #

Data ModuleReexport Source #
Instance details

Defined in Distribution.Types.ModuleReexport

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ModuleReexport -> c ModuleReexport Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ModuleReexport Source #

toConstr :: ModuleReexport -> Constr Source #

dataTypeOf :: ModuleReexport -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ModuleReexport ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ModuleReexport ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ModuleReexport -> ModuleReexport Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ModuleReexport -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ModuleReexport -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ModuleReexport -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ModuleReexport -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ModuleReexport -> m ModuleReexport Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ModuleReexport -> m ModuleReexport Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ModuleReexport -> m ModuleReexport Source #

Data TestType Source #
Instance details

Defined in Distribution.Types.TestType

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> TestType -> c TestType Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c TestType Source #

toConstr :: TestType -> Constr Source #

dataTypeOf :: TestType -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c TestType ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c TestType ) Source #

gmapT :: ( forall b. Data b => b -> b) -> TestType -> TestType Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> TestType -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> TestType -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> TestType -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> TestType -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> TestType -> m TestType Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> TestType -> m TestType Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> TestType -> m TestType Source #

Data TestSuiteInterface Source #
Instance details

Defined in Distribution.Types.TestSuiteInterface

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> TestSuiteInterface -> c TestSuiteInterface Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c TestSuiteInterface Source #

toConstr :: TestSuiteInterface -> Constr Source #

dataTypeOf :: TestSuiteInterface -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c TestSuiteInterface ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c TestSuiteInterface ) Source #

gmapT :: ( forall b. Data b => b -> b) -> TestSuiteInterface -> TestSuiteInterface Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> TestSuiteInterface -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> TestSuiteInterface -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> TestSuiteInterface -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> TestSuiteInterface -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> TestSuiteInterface -> m TestSuiteInterface Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> TestSuiteInterface -> m TestSuiteInterface Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> TestSuiteInterface -> m TestSuiteInterface Source #

Data PackageIdentifier Source #
Instance details

Defined in Distribution.Types.PackageId

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> PackageIdentifier -> c PackageIdentifier Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c PackageIdentifier Source #

toConstr :: PackageIdentifier -> Constr Source #

dataTypeOf :: PackageIdentifier -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c PackageIdentifier ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c PackageIdentifier ) Source #

gmapT :: ( forall b. Data b => b -> b) -> PackageIdentifier -> PackageIdentifier Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> PackageIdentifier -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> PackageIdentifier -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> PackageIdentifier -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> PackageIdentifier -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> PackageIdentifier -> m PackageIdentifier Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> PackageIdentifier -> m PackageIdentifier Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> PackageIdentifier -> m PackageIdentifier Source #

Data DefUnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> DefUnitId -> c DefUnitId Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c DefUnitId Source #

toConstr :: DefUnitId -> Constr Source #

dataTypeOf :: DefUnitId -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c DefUnitId ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c DefUnitId ) Source #

gmapT :: ( forall b. Data b => b -> b) -> DefUnitId -> DefUnitId Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> DefUnitId -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> DefUnitId -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> DefUnitId -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> DefUnitId -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> DefUnitId -> m DefUnitId Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> DefUnitId -> m DefUnitId Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> DefUnitId -> m DefUnitId Source #

Data UnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> UnitId -> c UnitId Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c UnitId Source #

toConstr :: UnitId -> Constr Source #

dataTypeOf :: UnitId -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c UnitId ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c UnitId ) Source #

gmapT :: ( forall b. Data b => b -> b) -> UnitId -> UnitId Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> UnitId -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> UnitId -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> UnitId -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> UnitId -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> UnitId -> m UnitId Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> UnitId -> m UnitId Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> UnitId -> m UnitId Source #

Data Module Source #
Instance details

Defined in Distribution.Types.Module

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Module -> c Module Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Module Source #

toConstr :: Module -> Constr Source #

dataTypeOf :: Module -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Module ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Module ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Module -> Module Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Module -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Module -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Module -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Module -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Module -> m Module Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Module -> m Module Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Module -> m Module Source #

Data OpenModule Source #
Instance details

Defined in Distribution.Backpack

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OpenModule -> c OpenModule Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c OpenModule Source #

toConstr :: OpenModule -> Constr Source #

dataTypeOf :: OpenModule -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c OpenModule ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c OpenModule ) Source #

gmapT :: ( forall b. Data b => b -> b) -> OpenModule -> OpenModule Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OpenModule -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OpenModule -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OpenModule -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OpenModule -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OpenModule -> m OpenModule Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OpenModule -> m OpenModule Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OpenModule -> m OpenModule Source #

Data OpenUnitId Source #
Instance details

Defined in Distribution.Backpack

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OpenUnitId -> c OpenUnitId Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c OpenUnitId Source #

toConstr :: OpenUnitId -> Constr Source #

dataTypeOf :: OpenUnitId -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c OpenUnitId ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c OpenUnitId ) Source #

gmapT :: ( forall b. Data b => b -> b) -> OpenUnitId -> OpenUnitId Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OpenUnitId -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OpenUnitId -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OpenUnitId -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OpenUnitId -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OpenUnitId -> m OpenUnitId Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OpenUnitId -> m OpenUnitId Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OpenUnitId -> m OpenUnitId Source #

Data MungedPackageId Source #
Instance details

Defined in Distribution.Types.MungedPackageId

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> MungedPackageId -> c MungedPackageId Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c MungedPackageId Source #

toConstr :: MungedPackageId -> Constr Source #

dataTypeOf :: MungedPackageId -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c MungedPackageId ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c MungedPackageId ) Source #

gmapT :: ( forall b. Data b => b -> b) -> MungedPackageId -> MungedPackageId Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> MungedPackageId -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> MungedPackageId -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> MungedPackageId -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> MungedPackageId -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> MungedPackageId -> m MungedPackageId Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> MungedPackageId -> m MungedPackageId Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> MungedPackageId -> m MungedPackageId Source #

Data LegacyExeDependency Source #
Instance details

Defined in Distribution.Types.LegacyExeDependency

Data ExeDependency Source #
Instance details

Defined in Distribution.Types.ExeDependency

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ExeDependency -> c ExeDependency Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ExeDependency Source #

toConstr :: ExeDependency -> Constr Source #

dataTypeOf :: ExeDependency -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ExeDependency ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ExeDependency ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ExeDependency -> ExeDependency Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ExeDependency -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ExeDependency -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ExeDependency -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ExeDependency -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ExeDependency -> m ExeDependency Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ExeDependency -> m ExeDependency Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ExeDependency -> m ExeDependency Source #

Data Dependency Source #
Instance details

Defined in Distribution.Types.Dependency

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Dependency -> c Dependency Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Dependency Source #

toConstr :: Dependency -> Constr Source #

dataTypeOf :: Dependency -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Dependency ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Dependency ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Dependency -> Dependency Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Dependency -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Dependency -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Dependency -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Dependency -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Dependency -> m Dependency Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Dependency -> m Dependency Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Dependency -> m Dependency Source #

Data SetupBuildInfo Source #
Instance details

Defined in Distribution.Types.SetupBuildInfo

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> SetupBuildInfo -> c SetupBuildInfo Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c SetupBuildInfo Source #

toConstr :: SetupBuildInfo -> Constr Source #

dataTypeOf :: SetupBuildInfo -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c SetupBuildInfo ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c SetupBuildInfo ) Source #

gmapT :: ( forall b. Data b => b -> b) -> SetupBuildInfo -> SetupBuildInfo Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> SetupBuildInfo -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> SetupBuildInfo -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> SetupBuildInfo -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> SetupBuildInfo -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> SetupBuildInfo -> m SetupBuildInfo Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> SetupBuildInfo -> m SetupBuildInfo Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> SetupBuildInfo -> m SetupBuildInfo Source #

Data BenchmarkType Source #
Instance details

Defined in Distribution.Types.BenchmarkType

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> BenchmarkType -> c BenchmarkType Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c BenchmarkType Source #

toConstr :: BenchmarkType -> Constr Source #

dataTypeOf :: BenchmarkType -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c BenchmarkType ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c BenchmarkType ) Source #

gmapT :: ( forall b. Data b => b -> b) -> BenchmarkType -> BenchmarkType Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> BenchmarkType -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> BenchmarkType -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> BenchmarkType -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> BenchmarkType -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> BenchmarkType -> m BenchmarkType Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> BenchmarkType -> m BenchmarkType Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> BenchmarkType -> m BenchmarkType Source #

Data BenchmarkInterface Source #
Instance details

Defined in Distribution.Types.BenchmarkInterface

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> BenchmarkInterface -> c BenchmarkInterface Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c BenchmarkInterface Source #

toConstr :: BenchmarkInterface -> Constr Source #

dataTypeOf :: BenchmarkInterface -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c BenchmarkInterface ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c BenchmarkInterface ) Source #

gmapT :: ( forall b. Data b => b -> b) -> BenchmarkInterface -> BenchmarkInterface Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> BenchmarkInterface -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> BenchmarkInterface -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> BenchmarkInterface -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> BenchmarkInterface -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> BenchmarkInterface -> m BenchmarkInterface Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> BenchmarkInterface -> m BenchmarkInterface Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> BenchmarkInterface -> m BenchmarkInterface Source #

Data License Source #
Instance details

Defined in Distribution.License

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> License -> c License Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c License Source #

toConstr :: License -> Constr Source #

dataTypeOf :: License -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c License ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c License ) Source #

gmapT :: ( forall b. Data b => b -> b) -> License -> License Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> License -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> License -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> License -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> License -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> License -> m License Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> License -> m License Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> License -> m License Source #

Data KnownExtension Source #
Instance details

Defined in Language.Haskell.Extension

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> KnownExtension -> c KnownExtension Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c KnownExtension Source #

toConstr :: KnownExtension -> Constr Source #

dataTypeOf :: KnownExtension -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c KnownExtension ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c KnownExtension ) Source #

gmapT :: ( forall b. Data b => b -> b) -> KnownExtension -> KnownExtension Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> KnownExtension -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> KnownExtension -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> KnownExtension -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> KnownExtension -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> KnownExtension -> m KnownExtension Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> KnownExtension -> m KnownExtension Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> KnownExtension -> m KnownExtension Source #

Data Extension Source #
Instance details

Defined in Language.Haskell.Extension

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Extension -> c Extension Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Extension Source #

toConstr :: Extension -> Constr Source #

dataTypeOf :: Extension -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Extension ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Extension ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Extension -> Extension Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Extension -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Extension -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Extension -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Extension -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Extension -> m Extension Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Extension -> m Extension Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Extension -> m Extension Source #

Data Language Source #
Instance details

Defined in Language.Haskell.Extension

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Language -> c Language Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Language Source #

toConstr :: Language -> Constr Source #

dataTypeOf :: Language -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Language ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Language ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Language -> Language Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Language -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Language -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Language -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Language -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Language -> m Language Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Language -> m Language Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Language -> m Language Source #

Data CompilerFlavor Source #
Instance details

Defined in Distribution.Compiler

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> CompilerFlavor -> c CompilerFlavor Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c CompilerFlavor Source #

toConstr :: CompilerFlavor -> Constr Source #

dataTypeOf :: CompilerFlavor -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c CompilerFlavor ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c CompilerFlavor ) Source #

gmapT :: ( forall b. Data b => b -> b) -> CompilerFlavor -> CompilerFlavor Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> CompilerFlavor -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> CompilerFlavor -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> CompilerFlavor -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> CompilerFlavor -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> CompilerFlavor -> m CompilerFlavor Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> CompilerFlavor -> m CompilerFlavor Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> CompilerFlavor -> m CompilerFlavor Source #

Data ConfVar Source #
Instance details

Defined in Distribution.Types.ConfVar

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ConfVar -> c ConfVar Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ConfVar Source #

toConstr :: ConfVar -> Constr Source #

dataTypeOf :: ConfVar -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ConfVar ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ConfVar ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ConfVar -> ConfVar Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ConfVar -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ConfVar -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ConfVar -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ConfVar -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ConfVar -> m ConfVar Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ConfVar -> m ConfVar Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ConfVar -> m ConfVar Source #

Data BuildInfo Source #
Instance details

Defined in Distribution.Types.BuildInfo

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> BuildInfo -> c BuildInfo Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c BuildInfo Source #

toConstr :: BuildInfo -> Constr Source #

dataTypeOf :: BuildInfo -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c BuildInfo ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c BuildInfo ) Source #

gmapT :: ( forall b. Data b => b -> b) -> BuildInfo -> BuildInfo Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> BuildInfo -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> BuildInfo -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> BuildInfo -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> BuildInfo -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> BuildInfo -> m BuildInfo Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> BuildInfo -> m BuildInfo Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> BuildInfo -> m BuildInfo Source #

Data TestSuite Source #
Instance details

Defined in Distribution.Types.TestSuite

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> TestSuite -> c TestSuite Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c TestSuite Source #

toConstr :: TestSuite -> Constr Source #

dataTypeOf :: TestSuite -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c TestSuite ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c TestSuite ) Source #

gmapT :: ( forall b. Data b => b -> b) -> TestSuite -> TestSuite Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> TestSuite -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> TestSuite -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> TestSuite -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> TestSuite -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> TestSuite -> m TestSuite Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> TestSuite -> m TestSuite Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> TestSuite -> m TestSuite Source #

Data Library Source #
Instance details

Defined in Distribution.Types.Library

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Library -> c Library Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Library Source #

toConstr :: Library -> Constr Source #

dataTypeOf :: Library -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Library ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Library ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Library -> Library Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Library -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Library -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Library -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Library -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Library -> m Library Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Library -> m Library Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Library -> m Library Source #

Data LibVersionInfo Source #
Instance details

Defined in Distribution.Types.ForeignLib

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> LibVersionInfo -> c LibVersionInfo Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c LibVersionInfo Source #

toConstr :: LibVersionInfo -> Constr Source #

dataTypeOf :: LibVersionInfo -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c LibVersionInfo ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c LibVersionInfo ) Source #

gmapT :: ( forall b. Data b => b -> b) -> LibVersionInfo -> LibVersionInfo Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> LibVersionInfo -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> LibVersionInfo -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> LibVersionInfo -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> LibVersionInfo -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> LibVersionInfo -> m LibVersionInfo Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> LibVersionInfo -> m LibVersionInfo Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> LibVersionInfo -> m LibVersionInfo Source #

Data ForeignLib Source #
Instance details

Defined in Distribution.Types.ForeignLib

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ForeignLib -> c ForeignLib Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ForeignLib Source #

toConstr :: ForeignLib -> Constr Source #

dataTypeOf :: ForeignLib -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ForeignLib ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ForeignLib ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ForeignLib -> ForeignLib Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ForeignLib -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ForeignLib -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ForeignLib -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ForeignLib -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ForeignLib -> m ForeignLib Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ForeignLib -> m ForeignLib Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ForeignLib -> m ForeignLib Source #

Data Executable Source #
Instance details

Defined in Distribution.Types.Executable

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Executable -> c Executable Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Executable Source #

toConstr :: Executable -> Constr Source #

dataTypeOf :: Executable -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Executable ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Executable ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Executable -> Executable Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Executable -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Executable -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Executable -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Executable -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Executable -> m Executable Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Executable -> m Executable Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Executable -> m Executable Source #

Data Benchmark Source #
Instance details

Defined in Distribution.Types.Benchmark

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Benchmark -> c Benchmark Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Benchmark Source #

toConstr :: Benchmark -> Constr Source #

dataTypeOf :: Benchmark -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Benchmark ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Benchmark ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Benchmark -> Benchmark Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Benchmark -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Benchmark -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Benchmark -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Benchmark -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Benchmark -> m Benchmark Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Benchmark -> m Benchmark Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Benchmark -> m Benchmark Source #

Data PackageDescription Source #
Instance details

Defined in Distribution.Types.PackageDescription

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> PackageDescription -> c PackageDescription Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c PackageDescription Source #

toConstr :: PackageDescription -> Constr Source #

dataTypeOf :: PackageDescription -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c PackageDescription ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c PackageDescription ) Source #

gmapT :: ( forall b. Data b => b -> b) -> PackageDescription -> PackageDescription Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> PackageDescription -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> PackageDescription -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> PackageDescription -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> PackageDescription -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> PackageDescription -> m PackageDescription Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> PackageDescription -> m PackageDescription Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> PackageDescription -> m PackageDescription Source #

Data GenericPackageDescription Source #
Instance details

Defined in Distribution.Types.GenericPackageDescription

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> GenericPackageDescription -> c GenericPackageDescription Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c GenericPackageDescription Source #

toConstr :: GenericPackageDescription -> Constr Source #

dataTypeOf :: GenericPackageDescription -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c GenericPackageDescription ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c GenericPackageDescription ) Source #

gmapT :: ( forall b. Data b => b -> b) -> GenericPackageDescription -> GenericPackageDescription Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> GenericPackageDescription -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> GenericPackageDescription -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> GenericPackageDescription -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> GenericPackageDescription -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> GenericPackageDescription -> m GenericPackageDescription Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> GenericPackageDescription -> m GenericPackageDescription Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> GenericPackageDescription -> m GenericPackageDescription Source #

Data a => Data [a]

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> [a] -> c [a] Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c [a] Source #

toConstr :: [a] -> Constr Source #

dataTypeOf :: [a] -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c [a]) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c [a]) Source #

gmapT :: ( forall b. Data b => b -> b) -> [a] -> [a] Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> [a] -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> [a] -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> [a] -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> [a] -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> [a] -> m [a] Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> [a] -> m [a] Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> [a] -> m [a] Source #

Data a => Data ( Maybe a)

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Maybe a -> c ( Maybe a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Maybe a) Source #

toConstr :: Maybe a -> Constr Source #

dataTypeOf :: Maybe a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Maybe a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Maybe a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Maybe a -> Maybe a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Maybe a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Maybe a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Maybe a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Maybe a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Maybe a -> m ( Maybe a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Maybe a -> m ( Maybe a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Maybe a -> m ( Maybe a) Source #

( Data a, Integral a) => Data ( Ratio a)

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Ratio a -> c ( Ratio a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Ratio a) Source #

toConstr :: Ratio a -> Constr Source #

dataTypeOf :: Ratio a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Ratio a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Ratio a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Ratio a -> Ratio a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Ratio a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Ratio a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Ratio a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Ratio a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Ratio a -> m ( Ratio a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Ratio a -> m ( Ratio a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Ratio a -> m ( Ratio a) Source #

Data a => Data ( Ptr a)

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Ptr a -> c ( Ptr a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Ptr a) Source #

toConstr :: Ptr a -> Constr Source #

dataTypeOf :: Ptr a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Ptr a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Ptr a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Ptr a -> Ptr a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Ptr a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Ptr a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Ptr a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Ptr a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Ptr a -> m ( Ptr a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Ptr a -> m ( Ptr a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Ptr a -> m ( Ptr a) Source #

Data p => Data ( Par1 p)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Par1 p -> c ( Par1 p) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Par1 p) Source #

toConstr :: Par1 p -> Constr Source #

dataTypeOf :: Par1 p -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Par1 p)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Par1 p)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Par1 p -> Par1 p Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Par1 p -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Par1 p -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Par1 p -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Par1 p -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Par1 p -> m ( Par1 p) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Par1 p -> m ( Par1 p) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Par1 p -> m ( Par1 p) Source #

Data a => Data ( ForeignPtr a)

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ForeignPtr a -> c ( ForeignPtr a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( ForeignPtr a) Source #

toConstr :: ForeignPtr a -> Constr Source #

dataTypeOf :: ForeignPtr a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( ForeignPtr a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( ForeignPtr a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> ForeignPtr a -> ForeignPtr a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ForeignPtr a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ForeignPtr a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ForeignPtr a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ForeignPtr a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ForeignPtr a -> m ( ForeignPtr a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ForeignPtr a -> m ( ForeignPtr a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ForeignPtr a -> m ( ForeignPtr a) Source #

Data a => Data ( Complex a)

Since: base-2.1

Instance details

Defined in Data.Complex

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Complex a -> c ( Complex a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Complex a) Source #

toConstr :: Complex a -> Constr Source #

dataTypeOf :: Complex a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Complex a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Complex a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Complex a -> Complex a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Complex a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Complex a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Complex a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Complex a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Complex a -> m ( Complex a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Complex a -> m ( Complex a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Complex a -> m ( Complex a) Source #

Data a => Data ( Min a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Min a -> c ( Min a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Min a) Source #

toConstr :: Min a -> Constr Source #

dataTypeOf :: Min a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Min a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Min a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Min a -> Min a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Min a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Min a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Min a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Min a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Min a -> m ( Min a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Min a -> m ( Min a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Min a -> m ( Min a) Source #

Data a => Data ( Max a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Max a -> c ( Max a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Max a) Source #

toConstr :: Max a -> Constr Source #

dataTypeOf :: Max a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Max a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Max a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Max a -> Max a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Max a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Max a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Max a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Max a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Max a -> m ( Max a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Max a -> m ( Max a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Max a -> m ( Max a) Source #

Data a => Data ( First a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> First a -> c ( First a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( First a) Source #

toConstr :: First a -> Constr Source #

dataTypeOf :: First a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( First a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( First a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> First a -> First a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> First a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> First a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> First a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> First a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> First a -> m ( First a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> First a -> m ( First a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> First a -> m ( First a) Source #

Data a => Data ( Last a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Last a -> c ( Last a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Last a) Source #

toConstr :: Last a -> Constr Source #

dataTypeOf :: Last a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Last a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Last a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Last a -> Last a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Last a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Last a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Last a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Last a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Last a -> m ( Last a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Last a -> m ( Last a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Last a -> m ( Last a) Source #

Data m => Data ( WrappedMonoid m)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> WrappedMonoid m -> c ( WrappedMonoid m) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( WrappedMonoid m) Source #

toConstr :: WrappedMonoid m -> Constr Source #

dataTypeOf :: WrappedMonoid m -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( WrappedMonoid m)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( WrappedMonoid m)) Source #

gmapT :: ( forall b. Data b => b -> b) -> WrappedMonoid m -> WrappedMonoid m Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> WrappedMonoid m -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> WrappedMonoid m -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> WrappedMonoid m -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> WrappedMonoid m -> u Source #

gmapM :: Monad m0 => ( forall d. Data d => d -> m0 d) -> WrappedMonoid m -> m0 ( WrappedMonoid m) Source #

gmapMp :: MonadPlus m0 => ( forall d. Data d => d -> m0 d) -> WrappedMonoid m -> m0 ( WrappedMonoid m) Source #

gmapMo :: MonadPlus m0 => ( forall d. Data d => d -> m0 d) -> WrappedMonoid m -> m0 ( WrappedMonoid m) Source #

Data a => Data ( Option a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Option a -> c ( Option a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Option a) Source #

toConstr :: Option a -> Constr Source #

dataTypeOf :: Option a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Option a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Option a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Option a -> Option a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Option a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Option a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Option a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Option a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Option a -> m ( Option a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Option a -> m ( Option a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Option a -> m ( Option a) Source #

Data a => Data ( ZipList a)

Since: base-4.14.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ZipList a -> c ( ZipList a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( ZipList a) Source #

toConstr :: ZipList a -> Constr Source #

dataTypeOf :: ZipList a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( ZipList a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( ZipList a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> ZipList a -> ZipList a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ZipList a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ZipList a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ZipList a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ZipList a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ZipList a -> m ( ZipList a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ZipList a -> m ( ZipList a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ZipList a -> m ( ZipList a) Source #

Data a => Data ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Identity a -> c ( Identity a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Identity a) Source #

toConstr :: Identity a -> Constr Source #

dataTypeOf :: Identity a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Identity a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Identity a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Identity a -> Identity a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Identity a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Identity a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Identity a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Identity a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Identity a -> m ( Identity a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Identity a -> m ( Identity a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Identity a -> m ( Identity a) Source #

Data a => Data ( First a)

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> First a -> c ( First a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( First a) Source #

toConstr :: First a -> Constr Source #

dataTypeOf :: First a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( First a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( First a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> First a -> First a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> First a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> First a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> First a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> First a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> First a -> m ( First a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> First a -> m ( First a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> First a -> m ( First a) Source #

Data a => Data ( Last a)

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Last a -> c ( Last a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Last a) Source #

toConstr :: Last a -> Constr Source #

dataTypeOf :: Last a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Last a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Last a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Last a -> Last a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Last a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Last a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Last a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Last a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Last a -> m ( Last a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Last a -> m ( Last a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Last a -> m ( Last a) Source #

Data a => Data ( Dual a)

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Dual a -> c ( Dual a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Dual a) Source #

toConstr :: Dual a -> Constr Source #

dataTypeOf :: Dual a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Dual a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Dual a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Dual a -> Dual a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Dual a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Dual a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Dual a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Dual a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Dual a -> m ( Dual a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Dual a -> m ( Dual a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Dual a -> m ( Dual a) Source #

Data a => Data ( Sum a)

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Sum a -> c ( Sum a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Sum a) Source #

toConstr :: Sum a -> Constr Source #

dataTypeOf :: Sum a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Sum a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Sum a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Sum a -> Sum a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Sum a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Sum a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Sum a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Sum a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Sum a -> m ( Sum a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Sum a -> m ( Sum a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Sum a -> m ( Sum a) Source #

Data a => Data ( Product a)

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Product a -> c ( Product a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Product a) Source #

toConstr :: Product a -> Constr Source #

dataTypeOf :: Product a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Product a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Product a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Product a -> Product a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Product a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Product a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Product a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Product a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Product a -> m ( Product a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Product a -> m ( Product a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Product a -> m ( Product a) Source #

Data a => Data ( Down a)

Since: base-4.12.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Down a -> c ( Down a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Down a) Source #

toConstr :: Down a -> Constr Source #

dataTypeOf :: Down a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Down a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Down a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Down a -> Down a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Down a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Down a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Down a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Down a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Down a -> m ( Down a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Down a -> m ( Down a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Down a -> m ( Down a) Source #

Data a => Data ( NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> NonEmpty a -> c ( NonEmpty a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( NonEmpty a) Source #

toConstr :: NonEmpty a -> Constr Source #

dataTypeOf :: NonEmpty a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( NonEmpty a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( NonEmpty a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> NonEmpty a -> NonEmpty a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> NonEmpty a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> NonEmpty a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> NonEmpty a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> NonEmpty a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> NonEmpty a -> m ( NonEmpty a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> NonEmpty a -> m ( NonEmpty a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> NonEmpty a -> m ( NonEmpty a) Source #

Data a => Data ( IntMap a)
Instance details

Defined in Data.IntMap.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> IntMap a -> c ( IntMap a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( IntMap a) Source #

toConstr :: IntMap a -> Constr Source #

dataTypeOf :: IntMap a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( IntMap a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( IntMap a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> IntMap a -> IntMap a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> IntMap a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> IntMap a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> IntMap a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> IntMap a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> IntMap a -> m ( IntMap a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> IntMap a -> m ( IntMap a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> IntMap a -> m ( IntMap a) Source #

Data vertex => Data ( SCC vertex)

Since: containers-0.5.9

Instance details

Defined in Data.Graph

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> SCC vertex -> c ( SCC vertex) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( SCC vertex) Source #

toConstr :: SCC vertex -> Constr Source #

dataTypeOf :: SCC vertex -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( SCC vertex)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( SCC vertex)) Source #

gmapT :: ( forall b. Data b => b -> b) -> SCC vertex -> SCC vertex Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> SCC vertex -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> SCC vertex -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> SCC vertex -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> SCC vertex -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> SCC vertex -> m ( SCC vertex) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> SCC vertex -> m ( SCC vertex) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> SCC vertex -> m ( SCC vertex) Source #

Data a => Data ( Tree a)
Instance details

Defined in Data.Tree

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Tree a -> c ( Tree a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Tree a) Source #

toConstr :: Tree a -> Constr Source #

dataTypeOf :: Tree a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Tree a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Tree a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Tree a -> Tree a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Tree a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Tree a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Tree a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Tree a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Tree a -> m ( Tree a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Tree a -> m ( Tree a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Tree a -> m ( Tree a) Source #

Data a => Data ( Seq a)
Instance details

Defined in Data.Sequence.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Seq a -> c ( Seq a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Seq a) Source #

toConstr :: Seq a -> Constr Source #

dataTypeOf :: Seq a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Seq a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Seq a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Seq a -> Seq a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Seq a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Seq a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Seq a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Seq a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Seq a -> m ( Seq a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Seq a -> m ( Seq a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Seq a -> m ( Seq a) Source #

Data a => Data ( ViewL a)
Instance details

Defined in Data.Sequence.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ViewL a -> c ( ViewL a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( ViewL a) Source #

toConstr :: ViewL a -> Constr Source #

dataTypeOf :: ViewL a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( ViewL a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( ViewL a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> ViewL a -> ViewL a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ViewL a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ViewL a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ViewL a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ViewL a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ViewL a -> m ( ViewL a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ViewL a -> m ( ViewL a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ViewL a -> m ( ViewL a) Source #

Data a => Data ( ViewR a)
Instance details

Defined in Data.Sequence.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ViewR a -> c ( ViewR a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( ViewR a) Source #

toConstr :: ViewR a -> Constr Source #

dataTypeOf :: ViewR a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( ViewR a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( ViewR a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> ViewR a -> ViewR a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ViewR a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ViewR a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ViewR a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ViewR a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ViewR a -> m ( ViewR a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ViewR a -> m ( ViewR a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ViewR a -> m ( ViewR a) Source #

( Data a, Ord a) => Data ( Set a)
Instance details

Defined in Data.Set.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Set a -> c ( Set a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Set a) Source #

toConstr :: Set a -> Constr Source #

dataTypeOf :: Set a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Set a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Set a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Set a -> Set a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Set a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Set a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Set a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Set a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Set a -> m ( Set a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Set a -> m ( Set a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Set a -> m ( Set a) Source #

Data c => Data ( Condition c) Source #
Instance details

Defined in Distribution.Types.Condition

Methods

gfoldl :: ( forall d b. Data d => c0 (d -> b) -> d -> c0 b) -> ( forall g. g -> c0 g) -> Condition c -> c0 ( Condition c) Source #

gunfold :: ( forall b r. Data b => c0 (b -> r) -> c0 r) -> ( forall r. r -> c0 r) -> Constr -> c0 ( Condition c) Source #

toConstr :: Condition c -> Constr Source #

dataTypeOf :: Condition c -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c0 (t d)) -> Maybe (c0 ( Condition c)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c0 (t d e)) -> Maybe (c0 ( Condition c)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Condition c -> Condition c Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Condition c -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Condition c -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Condition c -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Condition c -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Condition c -> m ( Condition c) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Condition c -> m ( Condition c) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Condition c -> m ( Condition c) Source #

Data a => Data ( VersionRangeF a) Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> VersionRangeF a -> c ( VersionRangeF a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( VersionRangeF a) Source #

toConstr :: VersionRangeF a -> Constr Source #

dataTypeOf :: VersionRangeF a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( VersionRangeF a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( VersionRangeF a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> VersionRangeF a -> VersionRangeF a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> VersionRangeF a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> VersionRangeF a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> VersionRangeF a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> VersionRangeF a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> VersionRangeF a -> m ( VersionRangeF a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> VersionRangeF a -> m ( VersionRangeF a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> VersionRangeF a -> m ( VersionRangeF a) Source #

Data v => Data ( PerCompilerFlavor v) Source #
Instance details

Defined in Distribution.Compiler

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> PerCompilerFlavor v -> c ( PerCompilerFlavor v) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( PerCompilerFlavor v) Source #

toConstr :: PerCompilerFlavor v -> Constr Source #

dataTypeOf :: PerCompilerFlavor v -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( PerCompilerFlavor v)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( PerCompilerFlavor v)) Source #

gmapT :: ( forall b. Data b => b -> b) -> PerCompilerFlavor v -> PerCompilerFlavor v Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> PerCompilerFlavor v -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> PerCompilerFlavor v -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> PerCompilerFlavor v -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> PerCompilerFlavor v -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> PerCompilerFlavor v -> m ( PerCompilerFlavor v) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> PerCompilerFlavor v -> m ( PerCompilerFlavor v) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> PerCompilerFlavor v -> m ( PerCompilerFlavor v) Source #

( Data a, Data b) => Data ( Either a b)

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b0. Data d => c (d -> b0) -> d -> c b0) -> ( forall g. g -> c g) -> Either a b -> c ( Either a b) Source #

gunfold :: ( forall b0 r. Data b0 => c (b0 -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Either a b) Source #

toConstr :: Either a b -> Constr Source #

dataTypeOf :: Either a b -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Either a b)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Either a b)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> Either a b -> Either a b Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Either a b -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Either a b -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Either a b -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Either a b -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Either a b -> m ( Either a b) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Either a b -> m ( Either a b) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Either a b -> m ( Either a b) Source #

Data p => Data ( V1 p)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> V1 p -> c ( V1 p) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( V1 p) Source #

toConstr :: V1 p -> Constr Source #

dataTypeOf :: V1 p -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( V1 p)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( V1 p)) Source #

gmapT :: ( forall b. Data b => b -> b) -> V1 p -> V1 p Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> V1 p -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> V1 p -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> V1 p -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> V1 p -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> V1 p -> m ( V1 p) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> V1 p -> m ( V1 p) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> V1 p -> m ( V1 p) Source #

Data p => Data ( U1 p)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> U1 p -> c ( U1 p) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( U1 p) Source #

toConstr :: U1 p -> Constr Source #

dataTypeOf :: U1 p -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( U1 p)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( U1 p)) Source #

gmapT :: ( forall b. Data b => b -> b) -> U1 p -> U1 p Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> U1 p -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> U1 p -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> U1 p -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> U1 p -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> U1 p -> m ( U1 p) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> U1 p -> m ( U1 p) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> U1 p -> m ( U1 p) Source #

( Data a, Data b) => Data (a, b)

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b0. Data d => c (d -> b0) -> d -> c b0) -> ( forall g. g -> c g) -> (a, b) -> c (a, b) Source #

gunfold :: ( forall b0 r. Data b0 => c (b0 -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c (a, b) Source #

toConstr :: (a, b) -> Constr Source #

dataTypeOf :: (a, b) -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c (a, b)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c (a, b)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> (a, b) -> (a, b) Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> (a, b) -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> (a, b) -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> (a, b) -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> (a, b) -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> (a, b) -> m (a, b) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> (a, b) -> m (a, b) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> (a, b) -> m (a, b) Source #

( Data a, Data b, Ix a) => Data ( Array a b)

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b0. Data d => c (d -> b0) -> d -> c b0) -> ( forall g. g -> c g) -> Array a b -> c ( Array a b) Source #

gunfold :: ( forall b0 r. Data b0 => c (b0 -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Array a b) Source #

toConstr :: Array a b -> Constr Source #

dataTypeOf :: Array a b -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Array a b)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Array a b)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> Array a b -> Array a b Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Array a b -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Array a b -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Array a b -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Array a b -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Array a b -> m ( Array a b) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Array a b -> m ( Array a b) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Array a b -> m ( Array a b) Source #

( Typeable k, Typeable a) => Data ( Fixed a)

Since: base-4.1.0.0

Instance details

Defined in Data.Fixed

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Fixed a -> c ( Fixed a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Fixed a) Source #

toConstr :: Fixed a -> Constr Source #

dataTypeOf :: Fixed a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Fixed a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Fixed a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Fixed a -> Fixed a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Fixed a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Fixed a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Fixed a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Fixed a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Fixed a -> m ( Fixed a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Fixed a -> m ( Fixed a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Fixed a -> m ( Fixed a) Source #

( Data a, Data b) => Data ( Arg a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

gfoldl :: ( forall d b0. Data d => c (d -> b0) -> d -> c b0) -> ( forall g. g -> c g) -> Arg a b -> c ( Arg a b) Source #

gunfold :: ( forall b0 r. Data b0 => c (b0 -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Arg a b) Source #

toConstr :: Arg a b -> Constr Source #

dataTypeOf :: Arg a b -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Arg a b)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Arg a b)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> Arg a b -> Arg a b Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Arg a b -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Arg a b -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Arg a b -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Arg a b -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Arg a b -> m ( Arg a b) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Arg a b -> m ( Arg a b) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Arg a b -> m ( Arg a b) Source #

( Typeable m, Typeable a, Data (m a)) => Data ( WrappedMonad m a)

Since: base-4.14.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> WrappedMonad m a -> c ( WrappedMonad m a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( WrappedMonad m a) Source #

toConstr :: WrappedMonad m a -> Constr Source #

dataTypeOf :: WrappedMonad m a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( WrappedMonad m a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( WrappedMonad m a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> WrappedMonad m a -> WrappedMonad m a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> WrappedMonad m a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> WrappedMonad m a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> WrappedMonad m a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> WrappedMonad m a -> u Source #

gmapM :: Monad m0 => ( forall d. Data d => d -> m0 d) -> WrappedMonad m a -> m0 ( WrappedMonad m a) Source #

gmapMp :: MonadPlus m0 => ( forall d. Data d => d -> m0 d) -> WrappedMonad m a -> m0 ( WrappedMonad m a) Source #

gmapMo :: MonadPlus m0 => ( forall d. Data d => d -> m0 d) -> WrappedMonad m a -> m0 ( WrappedMonad m a) Source #

Data t => Data ( Proxy t)

Since: base-4.7.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Proxy t -> c ( Proxy t) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Proxy t) Source #

toConstr :: Proxy t -> Constr Source #

dataTypeOf :: Proxy t -> DataType Source #

dataCast1 :: Typeable t0 => ( forall d. Data d => c (t0 d)) -> Maybe (c ( Proxy t)) Source #

dataCast2 :: Typeable t0 => ( forall d e. ( Data d, Data e) => c (t0 d e)) -> Maybe (c ( Proxy t)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Proxy t -> Proxy t Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Proxy t -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Proxy t -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Proxy t -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Proxy t -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Proxy t -> m ( Proxy t) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Proxy t -> m ( Proxy t) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Proxy t -> m ( Proxy t) Source #

( Data k, Data a, Ord k) => Data ( Map k a)
Instance details

Defined in Data.Map.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Map k a -> c ( Map k a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Map k a) Source #

toConstr :: Map k a -> Constr Source #

dataTypeOf :: Map k a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Map k a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Map k a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Map k a -> Map k a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Map k a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Map k a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Map k a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Map k a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Map k a -> m ( Map k a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Map k a -> m ( Map k a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Map k a -> m ( Map k a) Source #

( Data (f p), Typeable f, Data p) => Data ( Rec1 f p)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Rec1 f p -> c ( Rec1 f p) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Rec1 f p) Source #

toConstr :: Rec1 f p -> Constr Source #

dataTypeOf :: Rec1 f p -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Rec1 f p)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Rec1 f p)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Rec1 f p -> Rec1 f p Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Rec1 f p -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Rec1 f p -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Rec1 f p -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Rec1 f p -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Rec1 f p -> m ( Rec1 f p) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Rec1 f p -> m ( Rec1 f p) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Rec1 f p -> m ( Rec1 f p) Source #

( Data a, Data b, Data c) => Data (a, b, c)

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b0. Data d => c0 (d -> b0) -> d -> c0 b0) -> ( forall g. g -> c0 g) -> (a, b, c) -> c0 (a, b, c) Source #

gunfold :: ( forall b0 r. Data b0 => c0 (b0 -> r) -> c0 r) -> ( forall r. r -> c0 r) -> Constr -> c0 (a, b, c) Source #

toConstr :: (a, b, c) -> Constr Source #

dataTypeOf :: (a, b, c) -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c0 (t d)) -> Maybe (c0 (a, b, c)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c0 (t d e)) -> Maybe (c0 (a, b, c)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> (a, b, c) -> (a, b, c) Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> (a, b, c) -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> (a, b, c) -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> (a, b, c) -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> (a, b, c) -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> (a, b, c) -> m (a, b, c) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> (a, b, c) -> m (a, b, c) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> (a, b, c) -> m (a, b, c) Source #

( Typeable a, Typeable b, Typeable c, Data (a b c)) => Data ( WrappedArrow a b c)

Since: base-4.14.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b0. Data d => c0 (d -> b0) -> d -> c0 b0) -> ( forall g. g -> c0 g) -> WrappedArrow a b c -> c0 ( WrappedArrow a b c) Source #

gunfold :: ( forall b0 r. Data b0 => c0 (b0 -> r) -> c0 r) -> ( forall r. r -> c0 r) -> Constr -> c0 ( WrappedArrow a b c) Source #

toConstr :: WrappedArrow a b c -> Constr Source #

dataTypeOf :: WrappedArrow a b c -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c0 (t d)) -> Maybe (c0 ( WrappedArrow a b c)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c0 (t d e)) -> Maybe (c0 ( WrappedArrow a b c)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> WrappedArrow a b c -> WrappedArrow a b c Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> WrappedArrow a b c -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> WrappedArrow a b c -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> WrappedArrow a b c -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> WrappedArrow a b c -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> WrappedArrow a b c -> m ( WrappedArrow a b c) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> WrappedArrow a b c -> m ( WrappedArrow a b c) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> WrappedArrow a b c -> m ( WrappedArrow a b c) Source #

( Typeable k, Data a, Typeable b) => Data ( Const a b)

Since: base-4.10.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b0. Data d => c (d -> b0) -> d -> c b0) -> ( forall g. g -> c g) -> Const a b -> c ( Const a b) Source #

gunfold :: ( forall b0 r. Data b0 => c (b0 -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Const a b) Source #

toConstr :: Const a b -> Constr Source #

dataTypeOf :: Const a b -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Const a b)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Const a b)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> Const a b -> Const a b Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Const a b -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Const a b -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Const a b -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Const a b -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Const a b -> m ( Const a b) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Const a b -> m ( Const a b) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Const a b -> m ( Const a b) Source #

( Data (f a), Data a, Typeable f) => Data ( Ap f a)

Since: base-4.12.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Ap f a -> c ( Ap f a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Ap f a) Source #

toConstr :: Ap f a -> Constr Source #

dataTypeOf :: Ap f a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Ap f a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Ap f a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Ap f a -> Ap f a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Ap f a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Ap f a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Ap f a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Ap f a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Ap f a -> m ( Ap f a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Ap f a -> m ( Ap f a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Ap f a -> m ( Ap f a) Source #

( Data (f a), Data a, Typeable f) => Data ( Alt f a)

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Alt f a -> c ( Alt f a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Alt f a) Source #

toConstr :: Alt f a -> Constr Source #

dataTypeOf :: Alt f a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Alt f a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Alt f a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Alt f a -> Alt f a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Alt f a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Alt f a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Alt f a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Alt f a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Alt f a -> m ( Alt f a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Alt f a -> m ( Alt f a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Alt f a -> m ( Alt f a) Source #

( Coercible a b, Data a, Data b) => Data ( Coercion a b)

Since: base-4.7.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b0. Data d => c (d -> b0) -> d -> c b0) -> ( forall g. g -> c g) -> Coercion a b -> c ( Coercion a b) Source #

gunfold :: ( forall b0 r. Data b0 => c (b0 -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Coercion a b) Source #

toConstr :: Coercion a b -> Constr Source #

dataTypeOf :: Coercion a b -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Coercion a b)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Coercion a b)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> Coercion a b -> Coercion a b Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Coercion a b -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Coercion a b -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Coercion a b -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Coercion a b -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Coercion a b -> m ( Coercion a b) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Coercion a b -> m ( Coercion a b) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Coercion a b -> m ( Coercion a b) Source #

(a ~ b, Data a) => Data (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b0. Data d => c (d -> b0) -> d -> c b0) -> ( forall g. g -> c g) -> (a :~: b) -> c (a :~: b) Source #

gunfold :: ( forall b0 r. Data b0 => c (b0 -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c (a :~: b) Source #

toConstr :: (a :~: b) -> Constr Source #

dataTypeOf :: (a :~: b) -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c (a :~: b)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c (a :~: b)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> (a :~: b) -> a :~: b Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> (a :~: b) -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> (a :~: b) -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> (a :~: b) -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> (a :~: b) -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> (a :~: b) -> m (a :~: b) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> (a :~: b) -> m (a :~: b) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> (a :~: b) -> m (a :~: b) Source #

( Data v, Data c, Data a) => Data ( CondBranch v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

Methods

gfoldl :: ( forall d b. Data d => c0 (d -> b) -> d -> c0 b) -> ( forall g. g -> c0 g) -> CondBranch v c a -> c0 ( CondBranch v c a) Source #

gunfold :: ( forall b r. Data b => c0 (b -> r) -> c0 r) -> ( forall r. r -> c0 r) -> Constr -> c0 ( CondBranch v c a) Source #

toConstr :: CondBranch v c a -> Constr Source #

dataTypeOf :: CondBranch v c a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c0 (t d)) -> Maybe (c0 ( CondBranch v c a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c0 (t d e)) -> Maybe (c0 ( CondBranch v c a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> CondBranch v c a -> CondBranch v c a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> CondBranch v c a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> CondBranch v c a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> CondBranch v c a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> CondBranch v c a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> CondBranch v c a -> m ( CondBranch v c a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> CondBranch v c a -> m ( CondBranch v c a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> CondBranch v c a -> m ( CondBranch v c a) Source #

( Data v, Data c, Data a) => Data ( CondTree v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

Methods

gfoldl :: ( forall d b. Data d => c0 (d -> b) -> d -> c0 b) -> ( forall g. g -> c0 g) -> CondTree v c a -> c0 ( CondTree v c a) Source #

gunfold :: ( forall b r. Data b => c0 (b -> r) -> c0 r) -> ( forall r. r -> c0 r) -> Constr -> c0 ( CondTree v c a) Source #

toConstr :: CondTree v c a -> Constr Source #

dataTypeOf :: CondTree v c a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c0 (t d)) -> Maybe (c0 ( CondTree v c a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c0 (t d e)) -> Maybe (c0 ( CondTree v c a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> CondTree v c a -> CondTree v c a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> CondTree v c a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> CondTree v c a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> CondTree v c a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> CondTree v c a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> CondTree v c a -> m ( CondTree v c a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> CondTree v c a -> m ( CondTree v c a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> CondTree v c a -> m ( CondTree v c a) Source #

( Typeable i, Data p, Data c) => Data ( K1 i c p)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c0 (d -> b) -> d -> c0 b) -> ( forall g. g -> c0 g) -> K1 i c p -> c0 ( K1 i c p) Source #

gunfold :: ( forall b r. Data b => c0 (b -> r) -> c0 r) -> ( forall r. r -> c0 r) -> Constr -> c0 ( K1 i c p) Source #

toConstr :: K1 i c p -> Constr Source #

dataTypeOf :: K1 i c p -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c0 (t d)) -> Maybe (c0 ( K1 i c p)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c0 (t d e)) -> Maybe (c0 ( K1 i c p)) Source #

gmapT :: ( forall b. Data b => b -> b) -> K1 i c p -> K1 i c p Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> K1 i c p -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> K1 i c p -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> K1 i c p -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> K1 i c p -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> K1 i c p -> m ( K1 i c p) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> K1 i c p -> m ( K1 i c p) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> K1 i c p -> m ( K1 i c p) Source #

( Typeable f, Typeable g, Data p, Data (f p), Data (g p)) => Data ((f :+: g) p)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g0. g0 -> c g0) -> (f :+: g) p -> c ((f :+: g) p) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ((f :+: g) p) Source #

toConstr :: (f :+: g) p -> Constr Source #

dataTypeOf :: (f :+: g) p -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ((f :+: g) p)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ((f :+: g) p)) Source #

gmapT :: ( forall b. Data b => b -> b) -> (f :+: g) p -> (f :+: g) p Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> (f :+: g) p -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> (f :+: g) p -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> (f :+: g) p -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> (f :+: g) p -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> (f :+: g) p -> m ((f :+: g) p) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> (f :+: g) p -> m ((f :+: g) p) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> (f :+: g) p -> m ((f :+: g) p) Source #

( Typeable f, Typeable g, Data p, Data (f p), Data (g p)) => Data ((f :*: g) p)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g0. g0 -> c g0) -> (f :*: g) p -> c ((f :*: g) p) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ((f :*: g) p) Source #

toConstr :: (f :*: g) p -> Constr Source #

dataTypeOf :: (f :*: g) p -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ((f :*: g) p)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ((f :*: g) p)) Source #

gmapT :: ( forall b. Data b => b -> b) -> (f :*: g) p -> (f :*: g) p Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> (f :*: g) p -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> (f :*: g) p -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> (f :*: g) p -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> (f :*: g) p -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> (f :*: g) p -> m ((f :*: g) p) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> (f :*: g) p -> m ((f :*: g) p) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> (f :*: g) p -> m ((f :*: g) p) Source #

( Data a, Data b, Data c, Data d) => Data (a, b, c, d)

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d0 b0. Data d0 => c0 (d0 -> b0) -> d0 -> c0 b0) -> ( forall g. g -> c0 g) -> (a, b, c, d) -> c0 (a, b, c, d) Source #

gunfold :: ( forall b0 r. Data b0 => c0 (b0 -> r) -> c0 r) -> ( forall r. r -> c0 r) -> Constr -> c0 (a, b, c, d) Source #

toConstr :: (a, b, c, d) -> Constr Source #

dataTypeOf :: (a, b, c, d) -> DataType Source #

dataCast1 :: Typeable t => ( forall d0. Data d0 => c0 (t d0)) -> Maybe (c0 (a, b, c, d)) Source #

dataCast2 :: Typeable t => ( forall d0 e. ( Data d0, Data e) => c0 (t d0 e)) -> Maybe (c0 (a, b, c, d)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> (a, b, c, d) -> (a, b, c, d) Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d0. Data d0 => d0 -> r') -> (a, b, c, d) -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d0. Data d0 => d0 -> r') -> (a, b, c, d) -> r Source #

gmapQ :: ( forall d0. Data d0 => d0 -> u) -> (a, b, c, d) -> [u] Source #

gmapQi :: Int -> ( forall d0. Data d0 => d0 -> u) -> (a, b, c, d) -> u Source #

gmapM :: Monad m => ( forall d0. Data d0 => d0 -> m d0) -> (a, b, c, d) -> m (a, b, c, d) Source #

gmapMp :: MonadPlus m => ( forall d0. Data d0 => d0 -> m d0) -> (a, b, c, d) -> m (a, b, c, d) Source #

gmapMo :: MonadPlus m => ( forall d0. Data d0 => d0 -> m d0) -> (a, b, c, d) -> m (a, b, c, d) Source #

( Typeable a, Typeable f, Typeable g, Typeable k, Data (f a), Data (g a)) => Data ( Product f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g0. g0 -> c g0) -> Product f g a -> c ( Product f g a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Product f g a) Source #

toConstr :: Product f g a -> Constr Source #

dataTypeOf :: Product f g a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Product f g a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Product f g a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Product f g a -> Product f g a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Product f g a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Product f g a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Product f g a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Product f g a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Product f g a -> m ( Product f g a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Product f g a -> m ( Product f g a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Product f g a -> m ( Product f g a) Source #

( Typeable a, Typeable f, Typeable g, Typeable k, Data (f a), Data (g a)) => Data ( Sum f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Sum

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g0. g0 -> c g0) -> Sum f g a -> c ( Sum f g a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Sum f g a) Source #

toConstr :: Sum f g a -> Constr Source #

dataTypeOf :: Sum f g a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Sum f g a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Sum f g a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Sum f g a -> Sum f g a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Sum f g a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Sum f g a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Sum f g a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Sum f g a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Sum f g a -> m ( Sum f g a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Sum f g a -> m ( Sum f g a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Sum f g a -> m ( Sum f g a) Source #

( Typeable i, Typeable j, Typeable a, Typeable b, a ~~ b) => Data (a :~~: b)

Since: base-4.10.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b0. Data d => c (d -> b0) -> d -> c b0) -> ( forall g. g -> c g) -> (a :~~: b) -> c (a :~~: b) Source #

gunfold :: ( forall b0 r. Data b0 => c (b0 -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c (a :~~: b) Source #

toConstr :: (a :~~: b) -> Constr Source #

dataTypeOf :: (a :~~: b) -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c (a :~~: b)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c (a :~~: b)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> (a :~~: b) -> a :~~: b Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> (a :~~: b) -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> (a :~~: b) -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> (a :~~: b) -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> (a :~~: b) -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> (a :~~: b) -> m (a :~~: b) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> (a :~~: b) -> m (a :~~: b) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> (a :~~: b) -> m (a :~~: b) Source #

( Data p, Data (f p), Typeable c, Typeable i, Typeable f) => Data ( M1 i c f p)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c0 (d -> b) -> d -> c0 b) -> ( forall g. g -> c0 g) -> M1 i c f p -> c0 ( M1 i c f p) Source #

gunfold :: ( forall b r. Data b => c0 (b -> r) -> c0 r) -> ( forall r. r -> c0 r) -> Constr -> c0 ( M1 i c f p) Source #

toConstr :: M1 i c f p -> Constr Source #

dataTypeOf :: M1 i c f p -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c0 (t d)) -> Maybe (c0 ( M1 i c f p)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c0 (t d e)) -> Maybe (c0 ( M1 i c f p)) Source #

gmapT :: ( forall b. Data b => b -> b) -> M1 i c f p -> M1 i c f p Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> M1 i c f p -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> M1 i c f p -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> M1 i c f p -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> M1 i c f p -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> M1 i c f p -> m ( M1 i c f p) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> M1 i c f p -> m ( M1 i c f p) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> M1 i c f p -> m ( M1 i c f p) Source #

( Typeable f, Typeable g, Data p, Data (f (g p))) => Data ((f :.: g) p)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g0. g0 -> c g0) -> (f :.: g) p -> c ((f :.: g) p) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ((f :.: g) p) Source #

toConstr :: (f :.: g) p -> Constr Source #

dataTypeOf :: (f :.: g) p -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ((f :.: g) p)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ((f :.: g) p)) Source #

gmapT :: ( forall b. Data b => b -> b) -> (f :.: g) p -> (f :.: g) p Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> (f :.: g) p -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> (f :.: g) p -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> (f :.: g) p -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> (f :.: g) p -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> (f :.: g) p -> m ((f :.: g) p) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> (f :.: g) p -> m ((f :.: g) p) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> (f :.: g) p -> m ((f :.: g) p) Source #

( Data a, Data b, Data c, Data d, Data e) => Data (a, b, c, d, e)

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d0 b0. Data d0 => c0 (d0 -> b0) -> d0 -> c0 b0) -> ( forall g. g -> c0 g) -> (a, b, c, d, e) -> c0 (a, b, c, d, e) Source #

gunfold :: ( forall b0 r. Data b0 => c0 (b0 -> r) -> c0 r) -> ( forall r. r -> c0 r) -> Constr -> c0 (a, b, c, d, e) Source #

toConstr :: (a, b, c, d, e) -> Constr Source #

dataTypeOf :: (a, b, c, d, e) -> DataType Source #

dataCast1 :: Typeable t => ( forall d0. Data d0 => c0 (t d0)) -> Maybe (c0 (a, b, c, d, e)) Source #

dataCast2 :: Typeable t => ( forall d0 e0. ( Data d0, Data e0) => c0 (t d0 e0)) -> Maybe (c0 (a, b, c, d, e)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> (a, b, c, d, e) -> (a, b, c, d, e) Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d0. Data d0 => d0 -> r') -> (a, b, c, d, e) -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d0. Data d0 => d0 -> r') -> (a, b, c, d, e) -> r Source #

gmapQ :: ( forall d0. Data d0 => d0 -> u) -> (a, b, c, d, e) -> [u] Source #

gmapQi :: Int -> ( forall d0. Data d0 => d0 -> u) -> (a, b, c, d, e) -> u Source #

gmapM :: Monad m => ( forall d0. Data d0 => d0 -> m d0) -> (a, b, c, d, e) -> m (a, b, c, d, e) Source #

gmapMp :: MonadPlus m => ( forall d0. Data d0 => d0 -> m d0) -> (a, b, c, d, e) -> m (a, b, c, d, e) Source #

gmapMo :: MonadPlus m => ( forall d0. Data d0 => d0 -> m d0) -> (a, b, c, d, e) -> m (a, b, c, d, e) Source #

( Typeable a, Typeable f, Typeable g, Typeable k1, Typeable k2, Data (f (g a))) => Data ( Compose f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Compose

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g0. g0 -> c g0) -> Compose f g a -> c ( Compose f g a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Compose f g a) Source #

toConstr :: Compose f g a -> Constr Source #

dataTypeOf :: Compose f g a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Compose f g a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Compose f g a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Compose f g a -> Compose f g a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Compose f g a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Compose f g a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Compose f g a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Compose f g a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Compose f g a -> m ( Compose f g a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Compose f g a -> m ( Compose f g a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Compose f g a -> m ( Compose f g a) Source #

( Data a, Data b, Data c, Data d, Data e, Data f) => Data (a, b, c, d, e, f)

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d0 b0. Data d0 => c0 (d0 -> b0) -> d0 -> c0 b0) -> ( forall g. g -> c0 g) -> (a, b, c, d, e, f) -> c0 (a, b, c, d, e, f) Source #

gunfold :: ( forall b0 r. Data b0 => c0 (b0 -> r) -> c0 r) -> ( forall r. r -> c0 r) -> Constr -> c0 (a, b, c, d, e, f) Source #

toConstr :: (a, b, c, d, e, f) -> Constr Source #

dataTypeOf :: (a, b, c, d, e, f) -> DataType Source #

dataCast1 :: Typeable t => ( forall d0. Data d0 => c0 (t d0)) -> Maybe (c0 (a, b, c, d, e, f)) Source #

dataCast2 :: Typeable t => ( forall d0 e0. ( Data d0, Data e0) => c0 (t d0 e0)) -> Maybe (c0 (a, b, c, d, e, f)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> (a, b, c, d, e, f) -> (a, b, c, d, e, f) Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d0. Data d0 => d0 -> r') -> (a, b, c, d, e, f) -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d0. Data d0 => d0 -> r') -> (a, b, c, d, e, f) -> r Source #

gmapQ :: ( forall d0. Data d0 => d0 -> u) -> (a, b, c, d, e, f) -> [u] Source #

gmapQi :: Int -> ( forall d0. Data d0 => d0 -> u) -> (a, b, c, d, e, f) -> u Source #

gmapM :: Monad m => ( forall d0. Data d0 => d0 -> m d0) -> (a, b, c, d, e, f) -> m (a, b, c, d, e, f) Source #

gmapMp :: MonadPlus m => ( forall d0. Data d0 => d0 -> m d0) -> (a, b, c, d, e, f) -> m (a, b, c, d, e, f) Source #

gmapMo :: MonadPlus m => ( forall d0. Data d0 => d0 -> m d0) -> (a, b, c, d, e, f) -> m (a, b, c, d, e, f) Source #

( Data a, Data b, Data c, Data d, Data e, Data f, Data g) => Data (a, b, c, d, e, f, g)

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d0 b0. Data d0 => c0 (d0 -> b0) -> d0 -> c0 b0) -> ( forall g0. g0 -> c0 g0) -> (a, b, c, d, e, f, g) -> c0 (a, b, c, d, e, f, g) Source #

gunfold :: ( forall b0 r. Data b0 => c0 (b0 -> r) -> c0 r) -> ( forall r. r -> c0 r) -> Constr -> c0 (a, b, c, d, e, f, g) Source #

toConstr :: (a, b, c, d, e, f, g) -> Constr Source #

dataTypeOf :: (a, b, c, d, e, f, g) -> DataType Source #

dataCast1 :: Typeable t => ( forall d0. Data d0 => c0 (t d0)) -> Maybe (c0 (a, b, c, d, e, f, g)) Source #

dataCast2 :: Typeable t => ( forall d0 e0. ( Data d0, Data e0) => c0 (t d0 e0)) -> Maybe (c0 (a, b, c, d, e, f, g)) Source #

gmapT :: ( forall b0. Data b0 => b0 -> b0) -> (a, b, c, d, e, f, g) -> (a, b, c, d, e, f, g) Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d0. Data d0 => d0 -> r') -> (a, b, c, d, e, f, g) -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d0. Data d0 => d0 -> r') -> (a, b, c, d, e, f, g) -> r Source #

gmapQ :: ( forall d0. Data d0 => d0 -> u) -> (a, b, c, d, e, f, g) -> [u] Source #

gmapQi :: Int -> ( forall d0. Data d0 => d0 -> u) -> (a, b, c, d, e, f, g) -> u Source #

gmapM :: Monad m => ( forall d0. Data d0 => d0 -> m d0) -> (a, b, c, d, e, f, g) -> m (a, b, c, d, e, f, g) Source #

gmapMp :: MonadPlus m => ( forall d0. Data d0 => d0 -> m d0) -> (a, b, c, d, e, f, g) -> m (a, b, c, d, e, f, g) Source #

gmapMo :: MonadPlus m => ( forall d0. Data d0 => d0 -> m d0) -> (a, b, c, d, e, f, g) -> m (a, b, c, d, e, f, g) Source #

class Generic a Source #

Representable types of kind * . This class is derivable in GHC with the DeriveGeneric flag on.

A Generic instance must satisfy the following laws:

from . toid
to . fromid

Minimal complete definition

from , to

Instances

Instances details
Generic Bool

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep Bool :: Type -> Type Source #

Generic Ordering

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Generic Exp
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Exp :: Type -> Type Source #

Generic Match
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Clause
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Pat
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Pat :: Type -> Type Source #

Generic Type
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Type :: Type -> Type Source #

Generic Dec
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Dec :: Type -> Type Source #

Generic Name
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Name :: Type -> Type Source #

Generic FunDep
Instance details

Defined in Language.Haskell.TH.Syntax

Generic InjectivityAnn
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Overlap
Instance details

Defined in Language.Haskell.TH.Syntax

Generic ()

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep () :: Type -> Type Source #

Methods

from :: () -> Rep () x Source #

to :: Rep () x -> () Source #

Generic Void

Since: base-4.8.0.0

Instance details

Defined in Data.Void

Associated Types

type Rep Void :: Type -> Type Source #

Generic Version

Since: base-4.9.0.0

Instance details

Defined in Data.Version

Generic ExitCode
Instance details

Defined in GHC.IO.Exception

Generic All

Since: base-4.7.0.0

Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep All :: Type -> Type Source #

Generic Any

Since: base-4.7.0.0

Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep Any :: Type -> Type Source #

Generic Fixity

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Generic Associativity

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Generic SourceUnpackedness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Generic SourceStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Generic DecidedStrictness

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Generic Extension
Instance details

Defined in GHC.LanguageExtensions.Type

Generic ForeignSrcLang
Instance details

Defined in GHC.ForeignSrcLang.Type

Generic Doc
Instance details

Defined in Text.PrettyPrint.HughesPJ

Associated Types

type Rep Doc :: Type -> Type Source #

Generic TextDetails
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Generic Style
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Generic Mode
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep Mode :: Type -> Type Source #

Generic ModName
Instance details

Defined in Language.Haskell.TH.Syntax

Generic PkgName
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Module
Instance details

Defined in Language.Haskell.TH.Syntax

Generic OccName
Instance details

Defined in Language.Haskell.TH.Syntax

Generic NameFlavour
Instance details

Defined in Language.Haskell.TH.Syntax

Generic NameSpace
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Loc
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Loc :: Type -> Type Source #

Generic Info
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Info :: Type -> Type Source #

Generic ModuleInfo
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Fixity
Instance details

Defined in Language.Haskell.TH.Syntax

Generic FixityDirection
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Lit
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Lit :: Type -> Type Source #

Generic Bytes
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Body
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Body :: Type -> Type Source #

Generic Guard
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Stmt
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Stmt :: Type -> Type Source #

Generic Range
Instance details

Defined in Language.Haskell.TH.Syntax

Generic DerivClause
Instance details

Defined in Language.Haskell.TH.Syntax

Generic DerivStrategy
Instance details

Defined in Language.Haskell.TH.Syntax

Generic TypeFamilyHead
Instance details

Defined in Language.Haskell.TH.Syntax

Generic TySynEqn
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Foreign
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Callconv
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Safety
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Pragma
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Inline
Instance details

Defined in Language.Haskell.TH.Syntax

Generic RuleMatch
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Phases
Instance details

Defined in Language.Haskell.TH.Syntax

Generic RuleBndr
Instance details

Defined in Language.Haskell.TH.Syntax

Generic AnnTarget
Instance details

Defined in Language.Haskell.TH.Syntax

Generic SourceUnpackedness
Instance details

Defined in Language.Haskell.TH.Syntax

Generic SourceStrictness
Instance details

Defined in Language.Haskell.TH.Syntax

Generic DecidedStrictness
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Con
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Con :: Type -> Type Source #

Generic Bang
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Bang :: Type -> Type Source #

Generic PatSynDir
Instance details

Defined in Language.Haskell.TH.Syntax

Generic PatSynArgs
Instance details

Defined in Language.Haskell.TH.Syntax

Generic TyVarBndr
Instance details

Defined in Language.Haskell.TH.Syntax

Generic FamilyResultSig
Instance details

Defined in Language.Haskell.TH.Syntax

Generic TyLit
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Role
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Role :: Type -> Type Source #

Generic AnnLookup
Instance details

Defined in Language.Haskell.TH.Syntax

Generic Structure Source #
Instance details

Defined in Distribution.Utils.Structured

Generic ShortText Source #
Instance details

Defined in Distribution.Utils.ShortText

Generic PathTemplateVariable Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Generic PathComponent Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Generic Position Source #
Instance details

Defined in Distribution.Parsec.Position

Generic PWarning Source #
Instance details

Defined in Distribution.Parsec.Warning

Generic PWarnType Source #
Instance details

Defined in Distribution.Parsec.Warning

Generic PError Source #
Instance details

Defined in Distribution.Parsec.Error

Generic CabalSpecVersion Source #
Instance details

Defined in Distribution.CabalSpecVersion

Generic Version Source #
Instance details

Defined in Distribution.Types.Version

Generic VersionRange Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

Generic RepoType Source #
Instance details

Defined in Distribution.Types.SourceRepo

Generic RepoKind Source #
Instance details

Defined in Distribution.Types.SourceRepo

Generic SourceRepo Source #
Instance details

Defined in Distribution.Types.SourceRepo

Generic PkgconfigVersion Source #
Instance details

Defined in Distribution.Types.PkgconfigVersion

Generic PkgconfigVersionRange Source #
Instance details

Defined in Distribution.Types.PkgconfigVersionRange

Generic PkgconfigName Source #
Instance details

Defined in Distribution.Types.PkgconfigName

Generic PkgconfigDependency Source #
Instance details

Defined in Distribution.Types.PkgconfigDependency

Generic PackageName Source #
Instance details

Defined in Distribution.Types.PackageName

Generic UnqualComponentName Source #
Instance details

Defined in Distribution.Types.UnqualComponentName

Generic PackageVersionConstraint Source #
Instance details

Defined in Distribution.Types.PackageVersionConstraint

Generic LibraryVisibility Source #
Instance details

Defined in Distribution.Types.LibraryVisibility

Generic LibraryName Source #
Instance details

Defined in Distribution.Types.LibraryName

Generic MungedPackageName Source #
Instance details

Defined in Distribution.Types.MungedPackageName

Generic ForeignLibType Source #
Instance details

Defined in Distribution.Types.ForeignLibType

Generic ForeignLibOption Source #
Instance details

Defined in Distribution.Types.ForeignLibOption

Generic FlagAssignment Source #
Instance details

Defined in Distribution.Types.Flag

Generic FlagName Source #
Instance details

Defined in Distribution.Types.Flag

Generic Flag Source #
Instance details

Defined in Distribution.Types.Flag

Associated Types

type Rep Flag :: Type -> Type Source #

Generic ExecutableScope Source #
Instance details

Defined in Distribution.Types.ExecutableScope

Generic ComponentName Source #
Instance details

Defined in Distribution.Types.ComponentName

Generic ComponentId Source #
Instance details

Defined in Distribution.Types.ComponentId

Generic GivenComponent Source #
Instance details

Defined in Distribution.Types.GivenComponent

Generic BuildType Source #
Instance details

Defined in Distribution.Types.BuildType

Generic AbiHash Source #
Instance details

Defined in Distribution.Types.AbiHash

Generic Platform Source #
Instance details

Defined in Distribution.System

Generic Arch Source #
Instance details

Defined in Distribution.System

Associated Types

type Rep Arch :: Type -> Type Source #

Generic OS Source #
Instance details

Defined in Distribution.System

Associated Types

type Rep OS :: Type -> Type Source #

Generic LicenseRef Source #
Instance details

Defined in Distribution.SPDX.LicenseReference

Generic LicenseId Source #
Instance details

Defined in Distribution.SPDX.LicenseId

Generic LicenseExceptionId Source #
Instance details

Defined in Distribution.SPDX.LicenseExceptionId

Generic SimpleLicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Generic LicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Generic License Source #
Instance details

Defined in Distribution.SPDX.License

Generic ModuleName Source #
Instance details

Defined in Distribution.ModuleName

Generic ModuleRenaming Source #
Instance details

Defined in Distribution.Types.ModuleRenaming

Generic IncludeRenaming Source #
Instance details

Defined in Distribution.Types.IncludeRenaming

Generic Mixin Source #
Instance details

Defined in Distribution.Types.Mixin

Generic ModuleReexport Source #
Instance details

Defined in Distribution.Types.ModuleReexport

Generic VerbosityFlag Source #
Instance details

Defined in Distribution.Verbosity.Internal

Generic VerbosityLevel Source #
Instance details

Defined in Distribution.Verbosity.Internal

Generic Verbosity Source #
Instance details

Defined in Distribution.Verbosity

Generic TestType Source #
Instance details

Defined in Distribution.Types.TestType

Generic TestSuiteInterface Source #
Instance details

Defined in Distribution.Types.TestSuiteInterface

Generic PackageIdentifier Source #
Instance details

Defined in Distribution.Types.PackageId

Generic DefUnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Generic UnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Generic Module Source #
Instance details

Defined in Distribution.Types.Module

Generic OpenModule Source #
Instance details

Defined in Distribution.Backpack

Generic OpenUnitId Source #
Instance details

Defined in Distribution.Backpack

Generic ExposedModule Source #
Instance details

Defined in Distribution.Types.ExposedModule

Generic FullUnitId Source #
Instance details

Defined in Distribution.Backpack.FullUnitId

Generic MungedPackageId Source #
Instance details

Defined in Distribution.Types.MungedPackageId

Generic LegacyExeDependency Source #
Instance details

Defined in Distribution.Types.LegacyExeDependency

Generic ExeDependency Source #
Instance details

Defined in Distribution.Types.ExeDependency

Generic Dependency Source #
Instance details

Defined in Distribution.Types.Dependency

Generic SetupBuildInfo Source #
Instance details

Defined in Distribution.Types.SetupBuildInfo

Generic BenchmarkType Source #
Instance details

Defined in Distribution.Types.BenchmarkType

Generic BenchmarkInterface Source #
Instance details

Defined in Distribution.Types.BenchmarkInterface

Generic AbiDependency Source #
Instance details

Defined in Distribution.Types.AbiDependency

Generic License Source #
Instance details

Defined in Distribution.License

Generic InstalledPackageInfo Source #
Instance details

Defined in Distribution.Types.InstalledPackageInfo

Generic KnownExtension Source #
Instance details

Defined in Language.Haskell.Extension

Generic Extension Source #
Instance details

Defined in Language.Haskell.Extension

Generic Language Source #
Instance details

Defined in Language.Haskell.Extension

Generic AbiTag Source #
Instance details

Defined in Distribution.Compiler

Generic CompilerInfo Source #
Instance details

Defined in Distribution.Compiler

Generic CompilerId Source #
Instance details

Defined in Distribution.Compiler

Generic CompilerFlavor Source #
Instance details

Defined in Distribution.Compiler

Generic ConfVar Source #
Instance details

Defined in Distribution.Types.ConfVar

Generic BuildInfo Source #
Instance details

Defined in Distribution.Types.BuildInfo

Generic TestSuite Source #
Instance details

Defined in Distribution.Types.TestSuite

Generic Library Source #
Instance details

Defined in Distribution.Types.Library

Generic LibVersionInfo Source #
Instance details

Defined in Distribution.Types.ForeignLib

Generic ForeignLib Source #
Instance details

Defined in Distribution.Types.ForeignLib

Generic Executable Source #
Instance details

Defined in Distribution.Types.Executable

Generic Benchmark Source #
Instance details

Defined in Distribution.Types.Benchmark

Generic ComponentRequestedSpec Source #
Instance details

Defined in Distribution.Types.ComponentRequestedSpec

Generic PackageDescription Source #
Instance details

Defined in Distribution.Types.PackageDescription

Generic GenericPackageDescription Source #
Instance details

Defined in Distribution.Types.GenericPackageDescription

Generic PathTemplate Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Generic CopyDest Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Generic ProgramSearchPathEntry Source #
Instance details

Defined in Distribution.Simple.Program.Find

Generic ProgramLocation Source #
Instance details

Defined in Distribution.Simple.Program.Types

Generic ConfiguredProgram Source #
Instance details

Defined in Distribution.Simple.Program.Types

Generic ProfDetailLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Generic DebugInfoLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Generic OptimisationLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Generic PackageDB Source #
Instance details

Defined in Distribution.Simple.Compiler

Generic Compiler Source #
Instance details

Defined in Distribution.Simple.Compiler

Generic GhcOptions Source #
Instance details

Defined in Distribution.Simple.Program.GHC

Generic BenchmarkFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic TestFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic TestShowDetails Source #
Instance details

Defined in Distribution.Simple.Setup

Generic ReplFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic BuildFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic CleanFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic HaddockFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic HaddockTarget Source #
Instance details

Defined in Distribution.Simple.Setup

Generic DoctestFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic HscolourFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic RegisterFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic SDistFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic InstallFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic CopyFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic ConfigFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic GlobalFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Generic ComponentLocalBuildInfo Source #
Instance details

Defined in Distribution.Types.ComponentLocalBuildInfo

Generic LocalBuildInfo Source #
Instance details

Defined in Distribution.Types.LocalBuildInfo

Generic BuildTarget Source #
Instance details

Defined in Distribution.Simple.BuildTarget

Generic ModuleShape Source #
Instance details

Defined in Distribution.Backpack.ModuleShape

Generic PreModuleShape Source #
Instance details

Defined in Distribution.Backpack.PreModuleShape

Generic ModTime Source #
Instance details

Defined in Distribution.Compat.Time

Generic [a]

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep [a] :: Type -> Type Source #

Methods

from :: [a] -> Rep [a] x Source #

to :: Rep [a] x -> [a] Source #

Generic ( Maybe a)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( Maybe a) :: Type -> Type Source #

Generic ( Par1 p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( Par1 p) :: Type -> Type Source #

Generic ( Complex a)

Since: base-4.9.0.0

Instance details

Defined in Data.Complex

Associated Types

type Rep ( Complex a) :: Type -> Type Source #

Generic ( Min a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Associated Types

type Rep ( Min a) :: Type -> Type Source #

Generic ( Max a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Associated Types

type Rep ( Max a) :: Type -> Type Source #

Generic ( First a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Associated Types

type Rep ( First a) :: Type -> Type Source #

Generic ( Last a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Associated Types

type Rep ( Last a) :: Type -> Type Source #

Generic ( WrappedMonoid m)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Generic ( Option a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Associated Types

type Rep ( Option a) :: Type -> Type Source #

Generic ( ZipList a)

Since: base-4.7.0.0

Instance details

Defined in Control.Applicative

Associated Types

type Rep ( ZipList a) :: Type -> Type Source #

Generic ( Identity a)

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Associated Types

type Rep ( Identity a) :: Type -> Type Source #

Generic ( First a)

Since: base-4.7.0.0

Instance details

Defined in Data.Monoid

Associated Types

type Rep ( First a) :: Type -> Type Source #

Generic ( Last a)

Since: base-4.7.0.0

Instance details

Defined in Data.Monoid

Associated Types

type Rep ( Last a) :: Type -> Type Source #

Generic ( Dual a)

Since: base-4.7.0.0

Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep ( Dual a) :: Type -> Type Source #

Generic ( Endo a)

Since: base-4.7.0.0

Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep ( Endo a) :: Type -> Type Source #

Generic ( Sum a)

Since: base-4.7.0.0

Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep ( Sum a) :: Type -> Type Source #

Generic ( Product a)

Since: base-4.7.0.0

Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep ( Product a) :: Type -> Type Source #

Generic ( Down a)

Since: base-4.12.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( Down a) :: Type -> Type Source #

Generic ( NonEmpty a)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( NonEmpty a) :: Type -> Type Source #

Generic ( SCC vertex)

Since: containers-0.5.9

Instance details

Defined in Data.Graph

Associated Types

type Rep ( SCC vertex) :: Type -> Type Source #

Methods

from :: SCC vertex -> Rep ( SCC vertex) x Source #

to :: Rep ( SCC vertex) x -> SCC vertex Source #

Generic ( Tree a)

Since: containers-0.5.8

Instance details

Defined in Data.Tree

Associated Types

type Rep ( Tree a) :: Type -> Type Source #

Generic ( FingerTree a)

Since: containers-0.6.1

Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep ( FingerTree a) :: Type -> Type Source #

Generic ( Digit a)

Since: containers-0.6.1

Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep ( Digit a) :: Type -> Type Source #

Generic ( Node a)

Since: containers-0.6.1

Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep ( Node a) :: Type -> Type Source #

Generic ( Elem a)

Since: containers-0.6.1

Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep ( Elem a) :: Type -> Type Source #

Generic ( ViewL a)

Since: containers-0.5.8

Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep ( ViewL a) :: Type -> Type Source #

Generic ( ViewR a)

Since: containers-0.5.8

Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep ( ViewR a) :: Type -> Type Source #

Generic ( Doc a)
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep ( Doc a) :: Type -> Type Source #

Generic ( Option' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Associated Types

type Rep ( Option' a) :: Type -> Type Source #

Generic ( Last' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Associated Types

type Rep ( Last' a) :: Type -> Type Source #

Generic ( Condition c) Source #
Instance details

Defined in Distribution.Types.Condition

Associated Types

type Rep ( Condition c) :: Type -> Type Source #

Generic ( Flag a) Source #
Instance details

Defined in Distribution.Simple.Flag

Associated Types

type Rep ( Flag a) :: Type -> Type Source #

Generic ( VersionRangeF a) Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

Generic ( PerCompilerFlavor v) Source #
Instance details

Defined in Distribution.Compiler

Generic ( InstallDirs dir) Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Associated Types

type Rep ( InstallDirs dir) :: Type -> Type Source #

Generic ( NubList a) Source #
Instance details

Defined in Distribution.Utils.NubList

Associated Types

type Rep ( NubList a) :: Type -> Type Source #

Generic ( PackageIndex a) Source #
Instance details

Defined in Distribution.Simple.PackageIndex

Associated Types

type Rep ( PackageIndex a) :: Type -> Type Source #

Generic ( Either a b)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( Either a b) :: Type -> Type Source #

Generic ( V1 p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( V1 p) :: Type -> Type Source #

Generic ( U1 p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( U1 p) :: Type -> Type Source #

Generic (a, b)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b) :: Type -> Type Source #

Methods

from :: (a, b) -> Rep (a, b) x Source #

to :: Rep (a, b) x -> (a, b) Source #

Generic ( Arg a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Associated Types

type Rep ( Arg a b) :: Type -> Type Source #

Generic ( WrappedMonad m a)

Since: base-4.7.0.0

Instance details

Defined in Control.Applicative

Associated Types

type Rep ( WrappedMonad m a) :: Type -> Type Source #

Generic ( Proxy t)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( Proxy t) :: Type -> Type Source #

Generic ( Rec1 f p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( Rec1 f p) :: Type -> Type Source #

Generic ( URec ( Ptr ()) p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( URec ( Ptr ()) p) :: Type -> Type Source #

Generic ( URec Char p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( URec Char p) :: Type -> Type Source #

Generic ( URec Double p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Generic ( URec Float p)
Instance details

Defined in GHC.Generics

Generic ( URec Int p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( URec Int p) :: Type -> Type Source #

Generic ( URec Word p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( URec Word p) :: Type -> Type Source #

Generic (a, b, c)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c) :: Type -> Type Source #

Methods

from :: (a, b, c) -> Rep (a, b, c) x Source #

to :: Rep (a, b, c) x -> (a, b, c) Source #

Generic ( WrappedArrow a b c)

Since: base-4.7.0.0

Instance details

Defined in Control.Applicative

Associated Types

type Rep ( WrappedArrow a b c) :: Type -> Type Source #

Generic ( Kleisli m a b)

Since: base-4.14.0.0

Instance details

Defined in Control.Arrow

Associated Types

type Rep ( Kleisli m a b) :: Type -> Type Source #

Generic ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Associated Types

type Rep ( Const a b) :: Type -> Type Source #

Generic ( Ap f a)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Associated Types

type Rep ( Ap f a) :: Type -> Type Source #

Generic ( Alt f a)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep ( Alt f a) :: Type -> Type Source #

Generic ( CondBranch v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

Associated Types

type Rep ( CondBranch v c a) :: Type -> Type Source #

Generic ( CondTree v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

Associated Types

type Rep ( CondTree v c a) :: Type -> Type Source #

Generic ( K1 i c p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( K1 i c p) :: Type -> Type Source #

Methods

from :: K1 i c p -> Rep ( K1 i c p) x Source #

to :: Rep ( K1 i c p) x -> K1 i c p Source #

Generic ((f :+: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ((f :+: g) p) :: Type -> Type Source #

Methods

from :: (f :+: g) p -> Rep ((f :+: g) p) x Source #

to :: Rep ((f :+: g) p) x -> (f :+: g) p Source #

Generic ((f :*: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ((f :*: g) p) :: Type -> Type Source #

Methods

from :: (f :*: g) p -> Rep ((f :*: g) p) x Source #

to :: Rep ((f :*: g) p) x -> (f :*: g) p Source #

Generic (a, b, c, d)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d) :: Type -> Type Source #

Methods

from :: (a, b, c, d) -> Rep (a, b, c, d) x Source #

to :: Rep (a, b, c, d) x -> (a, b, c, d) Source #

Generic ( Product f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

Associated Types

type Rep ( Product f g a) :: Type -> Type Source #

Generic ( Sum f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Sum

Associated Types

type Rep ( Sum f g a) :: Type -> Type Source #

Methods

from :: Sum f g a -> Rep ( Sum f g a) x Source #

to :: Rep ( Sum f g a) x -> Sum f g a Source #

Generic ( M1 i c f p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( M1 i c f p) :: Type -> Type Source #

Methods

from :: M1 i c f p -> Rep ( M1 i c f p) x Source #

to :: Rep ( M1 i c f p) x -> M1 i c f p Source #

Generic ((f :.: g) p)

Since: base-4.7.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ((f :.: g) p) :: Type -> Type Source #

Methods

from :: (f :.: g) p -> Rep ((f :.: g) p) x Source #

to :: Rep ((f :.: g) p) x -> (f :.: g) p Source #

Generic (a, b, c, d, e)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e) :: Type -> Type Source #

Methods

from :: (a, b, c, d, e) -> Rep (a, b, c, d, e) x Source #

to :: Rep (a, b, c, d, e) x -> (a, b, c, d, e) Source #

Generic ( Compose f g a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Compose

Associated Types

type Rep ( Compose f g a) :: Type -> Type Source #

Generic (a, b, c, d, e, f)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f) :: Type -> Type Source #

Methods

from :: (a, b, c, d, e, f) -> Rep (a, b, c, d, e, f) x Source #

to :: Rep (a, b, c, d, e, f) x -> (a, b, c, d, e, f) Source #

Generic (a, b, c, d, e, f, g)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g) :: Type -> Type Source #

Methods

from :: (a, b, c, d, e, f, g) -> Rep (a, b, c, d, e, f, g) x Source #

to :: Rep (a, b, c, d, e, f, g) x -> (a, b, c, d, e, f, g) Source #

class NFData a where Source #

A class of types that can be fully evaluated.

Since: deepseq-1.1.0.0

Minimal complete definition

Nothing

Methods

rnf :: a -> () Source #

rnf should reduce its argument to normal form (that is, fully evaluate all sub-components), and then return () .

Generic NFData deriving

Starting with GHC 7.2, you can automatically derive instances for types possessing a Generic instance.

Note: Generic1 can be auto-derived starting with GHC 7.4

{-# LANGUAGE DeriveGeneric #-}

import GHC.Generics (Generic, Generic1)
import Control.DeepSeq

data Foo a = Foo a String
             deriving (Eq, Generic, Generic1)

instance NFData a => NFData (Foo a)
instance NFData1 Foo

data Colour = Red | Green | Blue
              deriving Generic

instance NFData Colour

Starting with GHC 7.10, the example above can be written more concisely by enabling the new DeriveAnyClass extension:

{-# LANGUAGE DeriveGeneric, DeriveAnyClass #-}

import GHC.Generics (Generic)
import Control.DeepSeq

data Foo a = Foo a String
             deriving (Eq, Generic, Generic1, NFData, NFData1)

data Colour = Red | Green | Blue
              deriving (Generic, NFData)

Compatibility with previous deepseq versions

Prior to version 1.4.0.0, the default implementation of the rnf method was defined as

rnf a = seq a ()

However, starting with deepseq-1.4.0.0 , the default implementation is based on DefaultSignatures allowing for more accurate auto-derived NFData instances. If you need the previously used exact default rnf method implementation semantics, use

instance NFData Colour where rnf x = seq x ()

or alternatively

instance NFData Colour where rnf = rwhnf

or

{-# LANGUAGE BangPatterns #-}
instance NFData Colour where rnf !_ = ()

Instances

Instances details
NFData Bool
Instance details

Defined in Control.DeepSeq

NFData Char
Instance details

Defined in Control.DeepSeq

NFData Double
Instance details

Defined in Control.DeepSeq

NFData Float
Instance details

Defined in Control.DeepSeq

NFData Int
Instance details

Defined in Control.DeepSeq

Methods

rnf :: Int -> () Source #

NFData Int8
Instance details

Defined in Control.DeepSeq

NFData Int16
Instance details

Defined in Control.DeepSeq

NFData Int32
Instance details

Defined in Control.DeepSeq

NFData Int64
Instance details

Defined in Control.DeepSeq

NFData Integer
Instance details

Defined in Control.DeepSeq

NFData Natural

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData Ordering
Instance details

Defined in Control.DeepSeq

NFData Word
Instance details

Defined in Control.DeepSeq

NFData Word8
Instance details

Defined in Control.DeepSeq

NFData Word16
Instance details

Defined in Control.DeepSeq

NFData Word32
Instance details

Defined in Control.DeepSeq

NFData Word64
Instance details

Defined in Control.DeepSeq

NFData CallStack

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

NFData ()
Instance details

Defined in Control.DeepSeq

Methods

rnf :: () -> () Source #

NFData TyCon

NOTE : Prior to deepseq-1.4.4.0 this instance was only defined for base-4.8.0.0 and later.

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData Void

Defined as rnf = absurd .

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData Unique

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData Version

Since: deepseq-1.3.0.0

Instance details

Defined in Control.DeepSeq

NFData ThreadId

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData ExitCode

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

NFData MaskingState

Since: deepseq-1.4.4.0

Instance details

Defined in Control.DeepSeq

NFData TypeRep

NOTE : Prior to deepseq-1.4.4.0 this instance was only defined for base-4.8.0.0 and later.

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData All

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: All -> () Source #

NFData Any

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Any -> () Source #

NFData CChar

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CSChar

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CUChar

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CShort

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CUShort

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CInt

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CUInt

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CLong

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CULong

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CLLong

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CULLong

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CBool

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

NFData CFloat

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CDouble

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CPtrdiff

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CSize

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CWchar

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CSigAtomic

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CClock

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CTime

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CUSeconds

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CSUSeconds

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CFile

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CFpos

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CJmpBuf

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CIntPtr

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CUIntPtr

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CIntMax

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData CUIntMax

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData Fingerprint

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData SrcLoc

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

NFData ShortByteString
Instance details

Defined in Data.ByteString.Short.Internal

NFData ByteString
Instance details

Defined in Data.ByteString.Lazy.Internal

NFData ByteString
Instance details

Defined in Data.ByteString.Internal

NFData IntSet
Instance details

Defined in Data.IntSet.Internal

NFData Doc
Instance details

Defined in Text.PrettyPrint.HughesPJ

Methods

rnf :: Doc -> () Source #

NFData TextDetails
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

NFData ZonedTime
Instance details

Defined in Data.Time.LocalTime.Internal.ZonedTime

NFData LocalTime
Instance details

Defined in Data.Time.LocalTime.Internal.LocalTime

NFData TimeOfDay
Instance details

Defined in Data.Time.LocalTime.Internal.TimeOfDay

NFData TimeZone
Instance details

Defined in Data.Time.LocalTime.Internal.TimeZone

NFData UniversalTime
Instance details

Defined in Data.Time.Clock.Internal.UniversalTime

NFData UTCTime
Instance details

Defined in Data.Time.Clock.Internal.UTCTime

NFData NominalDiffTime
Instance details

Defined in Data.Time.Clock.Internal.NominalDiffTime

NFData DiffTime
Instance details

Defined in Data.Time.Clock.Internal.DiffTime

NFData Day
Instance details

Defined in Data.Time.Calendar.Days

Methods

rnf :: Day -> () Source #

NFData ShortText Source #
Instance details

Defined in Distribution.Utils.ShortText

NFData IOData Source #
Instance details

Defined in Distribution.Utils.IOData

NFData Position Source #
Instance details

Defined in Distribution.Parsec.Position

NFData PWarning Source #
Instance details

Defined in Distribution.Parsec.Warning

NFData PWarnType Source #
Instance details

Defined in Distribution.Parsec.Warning

NFData PError Source #
Instance details

Defined in Distribution.Parsec.Error

NFData Version Source #
Instance details

Defined in Distribution.Types.Version

NFData VersionRange Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

NFData RepoType Source #
Instance details

Defined in Distribution.Types.SourceRepo

NFData RepoKind Source #
Instance details

Defined in Distribution.Types.SourceRepo

NFData SourceRepo Source #
Instance details

Defined in Distribution.Types.SourceRepo

NFData PkgconfigVersion Source #
Instance details

Defined in Distribution.Types.PkgconfigVersion

NFData PkgconfigVersionRange Source #
Instance details

Defined in Distribution.Types.PkgconfigVersionRange

NFData PkgconfigName Source #
Instance details

Defined in Distribution.Types.PkgconfigName

NFData PkgconfigDependency Source #
Instance details

Defined in Distribution.Types.PkgconfigDependency

NFData PackageName Source #
Instance details

Defined in Distribution.Types.PackageName

NFData UnqualComponentName Source #
Instance details

Defined in Distribution.Types.UnqualComponentName

NFData PackageVersionConstraint Source #
Instance details

Defined in Distribution.Types.PackageVersionConstraint

NFData LibraryVisibility Source #
Instance details

Defined in Distribution.Types.LibraryVisibility

NFData LibraryName Source #
Instance details

Defined in Distribution.Types.LibraryName

NFData MungedPackageName Source #
Instance details

Defined in Distribution.Types.MungedPackageName

NFData ForeignLibType Source #
Instance details

Defined in Distribution.Types.ForeignLibType

NFData ForeignLibOption Source #
Instance details

Defined in Distribution.Types.ForeignLibOption

NFData FlagAssignment Source #
Instance details

Defined in Distribution.Types.Flag

NFData FlagName Source #
Instance details

Defined in Distribution.Types.Flag

NFData Flag Source #
Instance details

Defined in Distribution.Types.Flag

NFData ExecutableScope Source #
Instance details

Defined in Distribution.Types.ExecutableScope

NFData ComponentId Source #
Instance details

Defined in Distribution.Types.ComponentId

NFData BuildType Source #
Instance details

Defined in Distribution.Types.BuildType

NFData AbiHash Source #
Instance details

Defined in Distribution.Types.AbiHash

NFData Platform Source #
Instance details

Defined in Distribution.System

NFData Arch Source #
Instance details

Defined in Distribution.System

NFData OS Source #
Instance details

Defined in Distribution.System

Methods

rnf :: OS -> () Source #

NFData LicenseRef Source #
Instance details

Defined in Distribution.SPDX.LicenseReference

NFData LicenseId Source #
Instance details

Defined in Distribution.SPDX.LicenseId

NFData LicenseExceptionId Source #
Instance details

Defined in Distribution.SPDX.LicenseExceptionId

NFData SimpleLicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

NFData LicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

NFData License Source #
Instance details

Defined in Distribution.SPDX.License

NFData ModuleName Source #
Instance details

Defined in Distribution.ModuleName

NFData ModuleRenaming Source #
Instance details

Defined in Distribution.Types.ModuleRenaming

NFData IncludeRenaming Source #
Instance details

Defined in Distribution.Types.IncludeRenaming

NFData Mixin Source #
Instance details

Defined in Distribution.Types.Mixin

NFData ModuleReexport Source #
Instance details

Defined in Distribution.Types.ModuleReexport

NFData TestType Source #
Instance details

Defined in Distribution.Types.TestType

NFData TestSuiteInterface Source #
Instance details

Defined in Distribution.Types.TestSuiteInterface

NFData PackageIdentifier Source #
Instance details

Defined in Distribution.Types.PackageId

NFData DefUnitId Source #
Instance details

Defined in Distribution.Types.UnitId

NFData UnitId Source #
Instance details

Defined in Distribution.Types.UnitId

NFData Module Source #
Instance details

Defined in Distribution.Types.Module

NFData OpenModule Source #
Instance details

Defined in Distribution.Backpack

NFData OpenUnitId Source #
Instance details

Defined in Distribution.Backpack

NFData ExposedModule Source #
Instance details

Defined in Distribution.Types.ExposedModule

NFData MungedPackageId Source #
Instance details

Defined in Distribution.Types.MungedPackageId

NFData LegacyExeDependency Source #
Instance details

Defined in Distribution.Types.LegacyExeDependency

NFData ExeDependency Source #
Instance details

Defined in Distribution.Types.ExeDependency

NFData Dependency Source #
Instance details

Defined in Distribution.Types.Dependency

NFData SetupBuildInfo Source #
Instance details

Defined in Distribution.Types.SetupBuildInfo

NFData BenchmarkType Source #
Instance details

Defined in Distribution.Types.BenchmarkType

NFData BenchmarkInterface Source #
Instance details

Defined in Distribution.Types.BenchmarkInterface

NFData AbiDependency Source #
Instance details

Defined in Distribution.Types.AbiDependency

NFData License Source #
Instance details

Defined in Distribution.License

NFData InstalledPackageInfo Source #
Instance details

Defined in Distribution.Types.InstalledPackageInfo

NFData KnownExtension Source #
Instance details

Defined in Language.Haskell.Extension

NFData Extension Source #
Instance details

Defined in Language.Haskell.Extension

NFData Language Source #
Instance details

Defined in Language.Haskell.Extension

NFData CompilerId Source #
Instance details

Defined in Distribution.Compiler

NFData CompilerFlavor Source #
Instance details

Defined in Distribution.Compiler

NFData ConfVar Source #
Instance details

Defined in Distribution.Types.ConfVar

NFData BuildInfo Source #
Instance details

Defined in Distribution.Types.BuildInfo

NFData TestSuite Source #
Instance details

Defined in Distribution.Types.TestSuite

NFData Library Source #
Instance details

Defined in Distribution.Types.Library

NFData LibVersionInfo Source #
Instance details

Defined in Distribution.Types.ForeignLib

NFData ForeignLib Source #
Instance details

Defined in Distribution.Types.ForeignLib

NFData Executable Source #
Instance details

Defined in Distribution.Types.Executable

NFData Benchmark Source #
Instance details

Defined in Distribution.Types.Benchmark

NFData PackageDescription Source #
Instance details

Defined in Distribution.Types.PackageDescription

NFData GenericPackageDescription Source #
Instance details

Defined in Distribution.Types.GenericPackageDescription

NFData a => NFData [a]
Instance details

Defined in Control.DeepSeq

Methods

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

NFData a => NFData ( Maybe a)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: Maybe a -> () Source #

NFData a => NFData ( Ratio a)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: Ratio a -> () Source #

NFData ( Ptr a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Ptr a -> () Source #

NFData ( FunPtr a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: FunPtr a -> () Source #

NFData a => NFData ( Complex a)
Instance details

Defined in Control.DeepSeq

NFData a => NFData ( Min a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Min a -> () Source #

NFData a => NFData ( Max a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Max a -> () Source #

NFData a => NFData ( First a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: First a -> () Source #

NFData a => NFData ( Last a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Last a -> () Source #

NFData m => NFData ( WrappedMonoid m)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

NFData a => NFData ( Option a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Option a -> () Source #

NFData ( StableName a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData a => NFData ( ZipList a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData a => NFData ( Identity a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData ( IORef a)

NOTE : Only strict in the reference and not the referenced value.

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: IORef a -> () Source #

NFData a => NFData ( First a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: First a -> () Source #

NFData a => NFData ( Last a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Last a -> () Source #

NFData a => NFData ( Dual a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Dual a -> () Source #

NFData a => NFData ( Sum a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Sum a -> () Source #

NFData a => NFData ( Product a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

NFData a => NFData ( Down a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Down a -> () Source #

NFData ( MVar a)

NOTE : Only strict in the reference and not the referenced value.

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: MVar a -> () Source #

NFData a => NFData ( NonEmpty a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

NFData a => NFData ( IntMap a)
Instance details

Defined in Data.IntMap.Internal

Methods

rnf :: IntMap a -> () Source #

NFData a => NFData ( SCC a)
Instance details

Defined in Data.Graph

Methods

rnf :: SCC a -> () Source #

NFData a => NFData ( Tree a)
Instance details

Defined in Data.Tree

Methods

rnf :: Tree a -> () Source #

NFData a => NFData ( Seq a)
Instance details

Defined in Data.Sequence.Internal

Methods

rnf :: Seq a -> () Source #

NFData a => NFData ( FingerTree a)
Instance details

Defined in Data.Sequence.Internal

NFData a => NFData ( Digit a)
Instance details

Defined in Data.Sequence.Internal

Methods

rnf :: Digit a -> () Source #

NFData a => NFData ( Node a)
Instance details

Defined in Data.Sequence.Internal

Methods

rnf :: Node a -> () Source #

NFData a => NFData ( Elem a)
Instance details

Defined in Data.Sequence.Internal

Methods

rnf :: Elem a -> () Source #

NFData a => NFData ( Set a)
Instance details

Defined in Data.Set.Internal

Methods

rnf :: Set a -> () Source #

NFData a => NFData ( Doc a)
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Methods

rnf :: Doc a -> () Source #

NFData a => NFData ( AnnotDetails a)
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

NFData c => NFData ( Condition c) Source #
Instance details

Defined in Distribution.Types.Condition

( NFData a, NFData ( Key a)) => NFData ( Graph a) Source #
Instance details

Defined in Distribution.Compat.Graph

Methods

rnf :: Graph a -> () Source #

NFData a => NFData ( PerCompilerFlavor a) Source #
Instance details

Defined in Distribution.Compiler

NFData (a -> b)

This instance is for convenience and consistency with seq . This assumes that WHNF is equivalent to NF for functions.

Since: deepseq-1.3.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: (a -> b) -> () Source #

( NFData a, NFData b) => NFData ( Either a b)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: Either a b -> () Source #

( NFData a, NFData b) => NFData (a, b)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: (a, b) -> () Source #

( NFData a, NFData b) => NFData ( Array a b)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: Array a b -> () Source #

NFData ( Fixed a)

Since: deepseq-1.3.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Fixed a -> () Source #

( NFData a, NFData b) => NFData ( Arg a b)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Arg a b -> () Source #

NFData ( Proxy a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Proxy a -> () Source #

NFData ( STRef s a)

NOTE : Only strict in the reference and not the referenced value.

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: STRef s a -> () Source #

( NFData k, NFData a) => NFData ( Map k a)
Instance details

Defined in Data.Map.Internal

Methods

rnf :: Map k a -> () Source #

( NFData a1, NFData a2, NFData a3) => NFData (a1, a2, a3)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: (a1, a2, a3) -> () Source #

NFData a => NFData ( Const a b)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Const a b -> () Source #

NFData (a :~: b)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: (a :~: b) -> () Source #

( NFData v, NFData c, NFData a) => NFData ( CondBranch v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

Methods

rnf :: CondBranch v c a -> () Source #

( NFData v, NFData c, NFData a) => NFData ( CondTree v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

Methods

rnf :: CondTree v c a -> () Source #

( NFData a1, NFData a2, NFData a3, NFData a4) => NFData (a1, a2, a3, a4)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: (a1, a2, a3, a4) -> () Source #

( NFData1 f, NFData1 g, NFData a) => NFData ( Product f g a)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

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

( NFData1 f, NFData1 g, NFData a) => NFData ( Sum f g a)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Sum f g a -> () Source #

NFData (a :~~: b)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: (a :~~: b) -> () Source #

( NFData a1, NFData a2, NFData a3, NFData a4, NFData a5) => NFData (a1, a2, a3, a4, a5)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: (a1, a2, a3, a4, a5) -> () Source #

( NFData1 f, NFData1 g, NFData a) => NFData ( Compose f g a)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

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

( NFData a1, NFData a2, NFData a3, NFData a4, NFData a5, NFData a6) => NFData (a1, a2, a3, a4, a5, a6)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: (a1, a2, a3, a4, a5, a6) -> () Source #

( NFData a1, NFData a2, NFData a3, NFData a4, NFData a5, NFData a6, NFData a7) => NFData (a1, a2, a3, a4, a5, a6, a7)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: (a1, a2, a3, a4, a5, a6, a7) -> () Source #

( NFData a1, NFData a2, NFData a3, NFData a4, NFData a5, NFData a6, NFData a7, NFData a8) => NFData (a1, a2, a3, a4, a5, a6, a7, a8)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: (a1, a2, a3, a4, a5, a6, a7, a8) -> () Source #

( NFData a1, NFData a2, NFData a3, NFData a4, NFData a5, NFData a6, NFData a7, NFData a8, NFData a9) => NFData (a1, a2, a3, a4, a5, a6, a7, a8, a9)
Instance details

Defined in Control.DeepSeq

Methods

rnf :: (a1, a2, a3, a4, a5, a6, a7, a8, a9) -> () Source #

genericRnf :: ( Generic a, GNFData ( Rep a)) => a -> () Source #

GHC.Generics -based rnf implementation

This is needed in order to support deepseq < 1.4 which didn't have a Generic -based default rnf implementation yet.

In order to define instances, use e.g.

instance NFData MyType where rnf = genericRnf

The implementation has been taken from deepseq-1.4.2 's default rnf implementation.

class Binary t where Source #

The Binary class provides put and get , methods to encode and decode a Haskell value to a lazy ByteString . It mirrors the Read and Show classes for textual representation of Haskell types, and is suitable for serialising Haskell values to disk, over the network.

For decoding and generating simple external binary formats (e.g. C structures), Binary may be used, but in general is not suitable for complex protocols. Instead use the Put and Get primitives directly.

Instances of Binary should satisfy the following property:

decode . encode == id

That is, the get and put methods should be the inverse of each other. A range of instances are provided for basic Haskell types.

Minimal complete definition

Nothing

Methods

put :: t -> Put Source #

Encode a value in the Put monad.

get :: Get t Source #

Decode a value in the Get monad

putList :: [t] -> Put Source #

Encode a list of values in the Put monad. The default implementation may be overridden to be more efficient but must still have the same encoding format.

Instances

Instances details
Binary Bool
Instance details

Defined in Data.Binary.Class

Binary Char
Instance details

Defined in Data.Binary.Class

Binary Double
Instance details

Defined in Data.Binary.Class

Binary Float
Instance details

Defined in Data.Binary.Class

Binary Int
Instance details

Defined in Data.Binary.Class

Binary Int8
Instance details

Defined in Data.Binary.Class

Binary Int16
Instance details

Defined in Data.Binary.Class

Binary Int32
Instance details

Defined in Data.Binary.Class

Binary Int64
Instance details

Defined in Data.Binary.Class

Binary Integer
Instance details

Defined in Data.Binary.Class

Binary Natural

Since: binary-0.7.3.0

Instance details

Defined in Data.Binary.Class

Binary Ordering
Instance details

Defined in Data.Binary.Class

Binary Word
Instance details

Defined in Data.Binary.Class

Binary Word8
Instance details

Defined in Data.Binary.Class

Binary Word16
Instance details

Defined in Data.Binary.Class

Binary Word32
Instance details

Defined in Data.Binary.Class

Binary Word64
Instance details

Defined in Data.Binary.Class

Binary RuntimeRep

Since: binary-0.8.5.0

Instance details

Defined in Data.Binary.Class

Binary VecCount

Since: binary-0.8.5.0

Instance details

Defined in Data.Binary.Class

Binary VecElem

Since: binary-0.8.5.0

Instance details

Defined in Data.Binary.Class

Binary SomeTypeRep
Instance details

Defined in Data.Binary.Class

Binary ()
Instance details

Defined in Data.Binary.Class

Binary TyCon

Since: binary-0.8.5.0

Instance details

Defined in Data.Binary.Class

Binary KindRep

Since: binary-0.8.5.0

Instance details

Defined in Data.Binary.Class

Binary TypeLitSort

Since: binary-0.8.5.0

Instance details

Defined in Data.Binary.Class

Binary Void

Since: binary-0.8.0.0

Instance details

Defined in Data.Binary.Class

Binary Version

Since: binary-0.8.0.0

Instance details

Defined in Data.Binary.Class

Binary All

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary Any

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary Fingerprint

Since: binary-0.7.6.0

Instance details

Defined in Data.Binary.Class

Binary ShortByteString
Instance details

Defined in Data.Binary.Class

Binary ByteString
Instance details

Defined in Data.Binary.Class

Binary ByteString
Instance details

Defined in Data.Binary.Class

Binary IntSet
Instance details

Defined in Data.Binary.Class

Binary ShortText Source #
Instance details

Defined in Distribution.Utils.ShortText

Binary PathTemplateVariable Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Binary PathComponent Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Binary Position Source #
Instance details

Defined in Distribution.Parsec.Position

Binary PWarning Source #
Instance details

Defined in Distribution.Parsec.Warning

Binary PWarnType Source #
Instance details

Defined in Distribution.Parsec.Warning

Binary PError Source #
Instance details

Defined in Distribution.Parsec.Error

Binary Version Source #
Instance details

Defined in Distribution.Types.Version

Binary VersionRange Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

Binary RepoType Source #
Instance details

Defined in Distribution.Types.SourceRepo

Binary RepoKind Source #
Instance details

Defined in Distribution.Types.SourceRepo

Binary SourceRepo Source #
Instance details

Defined in Distribution.Types.SourceRepo

Binary PkgconfigVersion Source #
Instance details

Defined in Distribution.Types.PkgconfigVersion

Binary PkgconfigVersionRange Source #
Instance details

Defined in Distribution.Types.PkgconfigVersionRange

Binary PkgconfigName Source #
Instance details

Defined in Distribution.Types.PkgconfigName

Binary PkgconfigDependency Source #
Instance details

Defined in Distribution.Types.PkgconfigDependency

Binary PackageName Source #
Instance details

Defined in Distribution.Types.PackageName

Binary UnqualComponentName Source #
Instance details

Defined in Distribution.Types.UnqualComponentName

Binary PackageVersionConstraint Source #
Instance details

Defined in Distribution.Types.PackageVersionConstraint

Binary LibraryVisibility Source #
Instance details

Defined in Distribution.Types.LibraryVisibility

Binary LibraryName Source #
Instance details

Defined in Distribution.Types.LibraryName

Binary MungedPackageName Source #
Instance details

Defined in Distribution.Types.MungedPackageName

Binary ForeignLibType Source #
Instance details

Defined in Distribution.Types.ForeignLibType

Binary ForeignLibOption Source #
Instance details

Defined in Distribution.Types.ForeignLibOption

Binary FlagAssignment Source #
Instance details

Defined in Distribution.Types.Flag

Binary FlagName Source #
Instance details

Defined in Distribution.Types.Flag

Binary Flag Source #
Instance details

Defined in Distribution.Types.Flag

Binary ExecutableScope Source #
Instance details

Defined in Distribution.Types.ExecutableScope

Binary ComponentName Source #
Instance details

Defined in Distribution.Types.ComponentName

Binary ComponentId Source #
Instance details

Defined in Distribution.Types.ComponentId

Binary GivenComponent Source #
Instance details

Defined in Distribution.Types.GivenComponent

Binary BuildType Source #
Instance details

Defined in Distribution.Types.BuildType

Binary AbiHash Source #
Instance details

Defined in Distribution.Types.AbiHash

Binary Platform Source #
Instance details

Defined in Distribution.System

Binary Arch Source #
Instance details

Defined in Distribution.System

Binary OS Source #
Instance details

Defined in Distribution.System

Binary LicenseRef Source #
Instance details

Defined in Distribution.SPDX.LicenseReference

Binary LicenseId Source #
Instance details

Defined in Distribution.SPDX.LicenseId

Binary LicenseExceptionId Source #
Instance details

Defined in Distribution.SPDX.LicenseExceptionId

Binary SimpleLicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Binary LicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Binary License Source #
Instance details

Defined in Distribution.SPDX.License

Binary ModuleName Source #
Instance details

Defined in Distribution.ModuleName

Binary ModuleRenaming Source #
Instance details

Defined in Distribution.Types.ModuleRenaming

Binary IncludeRenaming Source #
Instance details

Defined in Distribution.Types.IncludeRenaming

Binary Mixin Source #
Instance details

Defined in Distribution.Types.Mixin

Binary ModuleReexport Source #
Instance details

Defined in Distribution.Types.ModuleReexport

Binary VerbosityFlag Source #
Instance details

Defined in Distribution.Verbosity.Internal

Binary VerbosityLevel Source #
Instance details

Defined in Distribution.Verbosity.Internal

Binary Verbosity Source #
Instance details

Defined in Distribution.Verbosity

Binary TestType Source #
Instance details

Defined in Distribution.Types.TestType

Binary TestSuiteInterface Source #
Instance details

Defined in Distribution.Types.TestSuiteInterface

Binary PackageIdentifier Source #
Instance details

Defined in Distribution.Types.PackageId

Binary DefUnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Binary UnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Binary Module Source #
Instance details

Defined in Distribution.Types.Module

Binary OpenModule Source #
Instance details

Defined in Distribution.Backpack

Binary OpenUnitId Source #
Instance details

Defined in Distribution.Backpack

Binary ExposedModule Source #
Instance details

Defined in Distribution.Types.ExposedModule

Binary MungedPackageId Source #
Instance details

Defined in Distribution.Types.MungedPackageId

Binary LegacyExeDependency Source #
Instance details

Defined in Distribution.Types.LegacyExeDependency

Binary ExeDependency Source #
Instance details

Defined in Distribution.Types.ExeDependency

Binary Dependency Source #
Instance details

Defined in Distribution.Types.Dependency

Binary SetupBuildInfo Source #
Instance details

Defined in Distribution.Types.SetupBuildInfo

Binary BenchmarkType Source #
Instance details

Defined in Distribution.Types.BenchmarkType

Binary BenchmarkInterface Source #
Instance details

Defined in Distribution.Types.BenchmarkInterface

Binary AbiDependency Source #
Instance details

Defined in Distribution.Types.AbiDependency

Binary License Source #
Instance details

Defined in Distribution.License

Binary InstalledPackageInfo Source #
Instance details

Defined in Distribution.Types.InstalledPackageInfo

Binary KnownExtension Source #
Instance details

Defined in Language.Haskell.Extension

Binary Extension Source #
Instance details

Defined in Language.Haskell.Extension

Binary Language Source #
Instance details

Defined in Language.Haskell.Extension

Binary AbiTag Source #
Instance details

Defined in Distribution.Compiler

Binary CompilerInfo Source #
Instance details

Defined in Distribution.Compiler

Binary CompilerId Source #
Instance details

Defined in Distribution.Compiler

Binary CompilerFlavor Source #
Instance details

Defined in Distribution.Compiler

Binary ConfVar Source #
Instance details

Defined in Distribution.Types.ConfVar

Binary BuildInfo Source #
Instance details

Defined in Distribution.Types.BuildInfo

Binary TestSuite Source #
Instance details

Defined in Distribution.Types.TestSuite

Binary Library Source #
Instance details

Defined in Distribution.Types.Library

Binary LibVersionInfo Source #
Instance details

Defined in Distribution.Types.ForeignLib

Binary ForeignLib Source #
Instance details

Defined in Distribution.Types.ForeignLib

Binary Executable Source #
Instance details

Defined in Distribution.Types.Executable

Binary Benchmark Source #
Instance details

Defined in Distribution.Types.Benchmark

Binary ComponentRequestedSpec Source #
Instance details

Defined in Distribution.Types.ComponentRequestedSpec

Binary PackageDescription Source #
Instance details

Defined in Distribution.Types.PackageDescription

Binary GenericPackageDescription Source #
Instance details

Defined in Distribution.Types.GenericPackageDescription

Binary PathTemplate Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Binary CopyDest Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Binary ProgramSearchPathEntry Source #
Instance details

Defined in Distribution.Simple.Program.Find

Binary ProgramLocation Source #
Instance details

Defined in Distribution.Simple.Program.Types

Binary ConfiguredProgram Source #
Instance details

Defined in Distribution.Simple.Program.Types

Binary ProfDetailLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Binary DebugInfoLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Binary OptimisationLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Binary PackageDB Source #
Instance details

Defined in Distribution.Simple.Compiler

Binary Compiler Source #
Instance details

Defined in Distribution.Simple.Compiler

Binary ProgramDb Source #

Note that this instance does not preserve the known Program s. See restoreProgramDb for details.

Instance details

Defined in Distribution.Simple.Program.Db

Binary TestShowDetails Source #
Instance details

Defined in Distribution.Simple.Setup

Binary HaddockTarget Source #
Instance details

Defined in Distribution.Simple.Setup

Binary ConfigFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Binary ComponentLocalBuildInfo Source #
Instance details

Defined in Distribution.Types.ComponentLocalBuildInfo

Binary LocalBuildInfo Source #
Instance details

Defined in Distribution.Types.LocalBuildInfo

Binary BuildTarget Source #
Instance details

Defined in Distribution.Simple.BuildTarget

Binary ModuleShape Source #
Instance details

Defined in Distribution.Backpack.ModuleShape

Binary ModTime Source #
Instance details

Defined in Distribution.Compat.Time

Binary a => Binary [a]
Instance details

Defined in Data.Binary.Class

Binary a => Binary ( Maybe a)
Instance details

Defined in Data.Binary.Class

( Binary a, Integral a) => Binary ( Ratio a)
Instance details

Defined in Data.Binary.Class

Binary a => Binary ( Complex a)
Instance details

Defined in Data.Binary.Class

Binary a => Binary ( Min a)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary a => Binary ( Max a)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary a => Binary ( First a)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary a => Binary ( Last a)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary m => Binary ( WrappedMonoid m)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary a => Binary ( Option a)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary a => Binary ( Identity a)
Instance details

Defined in Data.Binary.Class

Binary a => Binary ( First a)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary a => Binary ( Last a)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary a => Binary ( Dual a)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary a => Binary ( Sum a)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary a => Binary ( Product a)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary a => Binary ( NonEmpty a)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

Binary e => Binary ( IntMap e)
Instance details

Defined in Data.Binary.Class

Binary e => Binary ( Tree e)
Instance details

Defined in Data.Binary.Class

Binary e => Binary ( Seq e)
Instance details

Defined in Data.Binary.Class

Binary a => Binary ( Set a)
Instance details

Defined in Data.Binary.Class

Binary a => Binary ( Option' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Binary a => Binary ( Last' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Binary c => Binary ( Condition c) Source #
Instance details

Defined in Distribution.Types.Condition

Binary a => Binary ( Flag a) Source #
Instance details

Defined in Distribution.Simple.Flag

( IsNode a, Binary a, Show ( Key a)) => Binary ( Graph a) Source #
Instance details

Defined in Distribution.Compat.Graph

Binary a => Binary ( PerCompilerFlavor a) Source #
Instance details

Defined in Distribution.Compiler

Binary dir => Binary ( InstallDirs dir) Source #
Instance details

Defined in Distribution.Simple.InstallDirs

( Ord a, Binary a) => Binary ( NubList a) Source #

Binary instance for 'NubList a' is the same as for '[a]'. For put , we just pull off constructor and put the list. For get , we get the list and make a NubList out of it using toNubList .

Instance details

Defined in Distribution.Utils.NubList

Binary a => Binary ( PackageIndex a) Source #
Instance details

Defined in Distribution.Simple.PackageIndex

( Binary a, Binary b) => Binary ( Either a b)
Instance details

Defined in Data.Binary.Class

Typeable a => Binary ( TypeRep a)
Instance details

Defined in Data.Binary.Class

( Binary a, Binary b) => Binary (a, b)
Instance details

Defined in Data.Binary.Class

( Binary i, Ix i, Binary e, IArray UArray e) => Binary ( UArray i e)
Instance details

Defined in Data.Binary.Class

( Binary i, Ix i, Binary e) => Binary ( Array i e)
Instance details

Defined in Data.Binary.Class

Binary ( Fixed a)

Since: binary-0.8.0.0

Instance details

Defined in Data.Binary.Class

( Binary a, Binary b) => Binary ( Arg a b)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

( Binary k, Binary e) => Binary ( Map k e)
Instance details

Defined in Data.Binary.Class

( Binary a, Binary b, Binary c) => Binary (a, b, c)
Instance details

Defined in Data.Binary.Class

Binary (f a) => Binary ( Alt f a)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

( Binary v, Binary c, Binary a) => Binary ( CondBranch v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

( Binary v, Binary c, Binary a) => Binary ( CondTree v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

( Binary a, Binary b, Binary c, Binary d) => Binary (a, b, c, d)
Instance details

Defined in Data.Binary.Class

Methods

put :: (a, b, c, d) -> Put Source #

get :: Get (a, b, c, d) Source #

putList :: [(a, b, c, d)] -> Put Source #

( Binary a, Binary b, Binary c, Binary d, Binary e) => Binary (a, b, c, d, e)
Instance details

Defined in Data.Binary.Class

Methods

put :: (a, b, c, d, e) -> Put Source #

get :: Get (a, b, c, d, e) Source #

putList :: [(a, b, c, d, e)] -> Put Source #

( Binary a, Binary b, Binary c, Binary d, Binary e, Binary f) => Binary (a, b, c, d, e, f)
Instance details

Defined in Data.Binary.Class

Methods

put :: (a, b, c, d, e, f) -> Put Source #

get :: Get (a, b, c, d, e, f) Source #

putList :: [(a, b, c, d, e, f)] -> Put Source #

( Binary a, Binary b, Binary c, Binary d, Binary e, Binary f, Binary g) => Binary (a, b, c, d, e, f, g)
Instance details

Defined in Data.Binary.Class

Methods

put :: (a, b, c, d, e, f, g) -> Put Source #

get :: Get (a, b, c, d, e, f, g) Source #

putList :: [(a, b, c, d, e, f, g)] -> Put Source #

( Binary a, Binary b, Binary c, Binary d, Binary e, Binary f, Binary g, Binary h) => Binary (a, b, c, d, e, f, g, h)
Instance details

Defined in Data.Binary.Class

Methods

put :: (a, b, c, d, e, f, g, h) -> Put Source #

get :: Get (a, b, c, d, e, f, g, h) Source #

putList :: [(a, b, c, d, e, f, g, h)] -> Put Source #

( Binary a, Binary b, Binary c, Binary d, Binary e, Binary f, Binary g, Binary h, Binary i) => Binary (a, b, c, d, e, f, g, h, i)
Instance details

Defined in Data.Binary.Class

Methods

put :: (a, b, c, d, e, f, g, h, i) -> Put Source #

get :: Get (a, b, c, d, e, f, g, h, i) Source #

putList :: [(a, b, c, d, e, f, g, h, i)] -> Put Source #

( Binary a, Binary b, Binary c, Binary d, Binary e, Binary f, Binary g, Binary h, Binary i, Binary j) => Binary (a, b, c, d, e, f, g, h, i, j)
Instance details

Defined in Data.Binary.Class

Methods

put :: (a, b, c, d, e, f, g, h, i, j) -> Put Source #

get :: Get (a, b, c, d, e, f, g, h, i, j) Source #

putList :: [(a, b, c, d, e, f, g, h, i, j)] -> Put Source #

class Typeable a => Structured a Source #

Class of types with a known Structure .

For regular data types Structured can be derived generically.

data Record = Record { a :: Int, b :: Bool, c :: [Char] } deriving (Generic)
instance Structured Record

Since: 3.2.0.0

Instances

Instances details
Structured Bool Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Char Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Double Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Float Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Int Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Int8 Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Int16 Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Int32 Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Int64 Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Integer Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Ordering Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Word Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Word8 Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Word16 Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Word32 Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Word64 Source #
Instance details

Defined in Distribution.Utils.Structured

Structured () Source #
Instance details

Defined in Distribution.Utils.Structured

Structured ByteString Source #
Instance details

Defined in Distribution.Utils.Structured

Structured ByteString Source #
Instance details

Defined in Distribution.Utils.Structured

Structured IntSet Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Text Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Text Source #
Instance details

Defined in Distribution.Utils.Structured

Structured LocalTime Source #
Instance details

Defined in Distribution.Utils.Structured

Structured TimeOfDay Source #
Instance details

Defined in Distribution.Utils.Structured

Structured TimeZone Source #
Instance details

Defined in Distribution.Utils.Structured

Structured UniversalTime Source #
Instance details

Defined in Distribution.Utils.Structured

Structured UTCTime Source #
Instance details

Defined in Distribution.Utils.Structured

Structured NominalDiffTime Source #
Instance details

Defined in Distribution.Utils.Structured

Structured DiffTime Source #
Instance details

Defined in Distribution.Utils.Structured

Structured Day Source #
Instance details

Defined in Distribution.Utils.Structured

Structured ShortText Source #
Instance details

Defined in Distribution.Utils.ShortText

Structured PathTemplateVariable Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Structured PathComponent Source #
Instance details

Defined in Distribution.Simple.InstallDirs.Internal

Structured Version Source #
Instance details

Defined in Distribution.Types.Version

Structured VersionRange Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

Structured RepoType Source #
Instance details

Defined in Distribution.Types.SourceRepo

Structured RepoKind Source #
Instance details

Defined in Distribution.Types.SourceRepo

Structured SourceRepo Source #
Instance details

Defined in Distribution.Types.SourceRepo

Structured PkgconfigVersion Source #
Instance details

Defined in Distribution.Types.PkgconfigVersion

Structured PkgconfigVersionRange Source #
Instance details

Defined in Distribution.Types.PkgconfigVersionRange

Structured PkgconfigName Source #
Instance details

Defined in Distribution.Types.PkgconfigName

Structured PkgconfigDependency Source #
Instance details

Defined in Distribution.Types.PkgconfigDependency

Structured PackageName Source #
Instance details

Defined in Distribution.Types.PackageName

Structured UnqualComponentName Source #
Instance details

Defined in Distribution.Types.UnqualComponentName

Structured PackageVersionConstraint Source #
Instance details

Defined in Distribution.Types.PackageVersionConstraint

Structured LibraryVisibility Source #
Instance details

Defined in Distribution.Types.LibraryVisibility

Structured LibraryName Source #
Instance details

Defined in Distribution.Types.LibraryName

Structured MungedPackageName Source #
Instance details

Defined in Distribution.Types.MungedPackageName

Structured ForeignLibType Source #
Instance details

Defined in Distribution.Types.ForeignLibType

Structured ForeignLibOption Source #
Instance details

Defined in Distribution.Types.ForeignLibOption

Structured FlagAssignment Source #
Instance details

Defined in Distribution.Types.Flag

Structured FlagName Source #
Instance details

Defined in Distribution.Types.Flag

Structured Flag Source #
Instance details

Defined in Distribution.Types.Flag

Structured ExecutableScope Source #
Instance details

Defined in Distribution.Types.ExecutableScope

Structured ComponentName Source #
Instance details

Defined in Distribution.Types.ComponentName

Structured ComponentId Source #
Instance details

Defined in Distribution.Types.ComponentId

Structured GivenComponent Source #
Instance details

Defined in Distribution.Types.GivenComponent

Structured BuildType Source #
Instance details

Defined in Distribution.Types.BuildType

Structured AbiHash Source #
Instance details

Defined in Distribution.Types.AbiHash

Structured Platform Source #
Instance details

Defined in Distribution.System

Structured Arch Source #
Instance details

Defined in Distribution.System

Structured OS Source #
Instance details

Defined in Distribution.System

Structured LicenseRef Source #
Instance details

Defined in Distribution.SPDX.LicenseReference

Structured LicenseId Source #
Instance details

Defined in Distribution.SPDX.LicenseId

Structured LicenseExceptionId Source #
Instance details

Defined in Distribution.SPDX.LicenseExceptionId

Structured SimpleLicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Structured LicenseExpression Source #
Instance details

Defined in Distribution.SPDX.LicenseExpression

Structured License Source #
Instance details

Defined in Distribution.SPDX.License

Structured ModuleName Source #
Instance details

Defined in Distribution.ModuleName

Structured ModuleRenaming Source #
Instance details

Defined in Distribution.Types.ModuleRenaming

Structured IncludeRenaming Source #
Instance details

Defined in Distribution.Types.IncludeRenaming

Structured Mixin Source #
Instance details

Defined in Distribution.Types.Mixin

Structured ModuleReexport Source #
Instance details

Defined in Distribution.Types.ModuleReexport

Structured VerbosityFlag Source #
Instance details

Defined in Distribution.Verbosity.Internal

Structured VerbosityLevel Source #
Instance details

Defined in Distribution.Verbosity.Internal

Structured Verbosity Source #
Instance details

Defined in Distribution.Verbosity

Structured TestType Source #
Instance details

Defined in Distribution.Types.TestType

Structured TestSuiteInterface Source #
Instance details

Defined in Distribution.Types.TestSuiteInterface

Structured PackageIdentifier Source #
Instance details

Defined in Distribution.Types.PackageId

Structured DefUnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Structured UnitId Source #
Instance details

Defined in Distribution.Types.UnitId

Structured Module Source #
Instance details

Defined in Distribution.Types.Module

Structured OpenModule Source #
Instance details

Defined in Distribution.Backpack

Structured OpenUnitId Source #
Instance details

Defined in Distribution.Backpack

Structured ExposedModule Source #
Instance details

Defined in Distribution.Types.ExposedModule

Structured MungedPackageId Source #
Instance details

Defined in Distribution.Types.MungedPackageId

Structured LegacyExeDependency Source #
Instance details

Defined in Distribution.Types.LegacyExeDependency

Structured ExeDependency Source #
Instance details

Defined in Distribution.Types.ExeDependency

Structured Dependency Source #
Instance details

Defined in Distribution.Types.Dependency

Structured SetupBuildInfo Source #
Instance details

Defined in Distribution.Types.SetupBuildInfo

Structured BenchmarkType Source #
Instance details

Defined in Distribution.Types.BenchmarkType

Structured BenchmarkInterface Source #
Instance details

Defined in Distribution.Types.BenchmarkInterface

Structured AbiDependency Source #
Instance details

Defined in Distribution.Types.AbiDependency

Structured License Source #
Instance details

Defined in Distribution.License

Structured InstalledPackageInfo Source #
Instance details

Defined in Distribution.Types.InstalledPackageInfo

Structured KnownExtension Source #
Instance details

Defined in Language.Haskell.Extension

Structured Extension Source #
Instance details

Defined in Language.Haskell.Extension

Structured Language Source #
Instance details

Defined in Language.Haskell.Extension

Structured AbiTag Source #
Instance details

Defined in Distribution.Compiler

Structured CompilerId Source #
Instance details

Defined in Distribution.Compiler

Structured CompilerFlavor Source #
Instance details

Defined in Distribution.Compiler

Structured ConfVar Source #
Instance details

Defined in Distribution.Types.ConfVar

Structured BuildInfo Source #
Instance details

Defined in Distribution.Types.BuildInfo

Structured TestSuite Source #
Instance details

Defined in Distribution.Types.TestSuite

Structured Library Source #
Instance details

Defined in Distribution.Types.Library

Structured LibVersionInfo Source #
Instance details

Defined in Distribution.Types.ForeignLib

Structured ForeignLib Source #
Instance details

Defined in Distribution.Types.ForeignLib

Structured Executable Source #
Instance details

Defined in Distribution.Types.Executable

Structured Benchmark Source #
Instance details

Defined in Distribution.Types.Benchmark

Structured ComponentRequestedSpec Source #
Instance details

Defined in Distribution.Types.ComponentRequestedSpec

Structured PackageDescription Source #
Instance details

Defined in Distribution.Types.PackageDescription

Structured GenericPackageDescription Source #
Instance details

Defined in Distribution.Types.GenericPackageDescription

Structured PathTemplate Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Structured ProgramSearchPathEntry Source #
Instance details

Defined in Distribution.Simple.Program.Find

Structured ProgramLocation Source #
Instance details

Defined in Distribution.Simple.Program.Types

Structured ConfiguredProgram Source #
Instance details

Defined in Distribution.Simple.Program.Types

Structured ProfDetailLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Structured DebugInfoLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Structured OptimisationLevel Source #
Instance details

Defined in Distribution.Simple.Compiler

Structured PackageDB Source #
Instance details

Defined in Distribution.Simple.Compiler

Structured Compiler Source #
Instance details

Defined in Distribution.Simple.Compiler

Structured ProgramDb Source #
Instance details

Defined in Distribution.Simple.Program.Db

Structured TestShowDetails Source #
Instance details

Defined in Distribution.Simple.Setup

Structured HaddockTarget Source #
Instance details

Defined in Distribution.Simple.Setup

Structured ConfigFlags Source #
Instance details

Defined in Distribution.Simple.Setup

Structured ComponentLocalBuildInfo Source #
Instance details

Defined in Distribution.Types.ComponentLocalBuildInfo

Structured LocalBuildInfo Source #
Instance details

Defined in Distribution.Types.LocalBuildInfo

Structured ModuleShape Source #
Instance details

Defined in Distribution.Backpack.ModuleShape

Structured ModTime Source #
Instance details

Defined in Distribution.Compat.Time

Structured a => Structured [a] Source #
Instance details

Defined in Distribution.Utils.Structured

Structured a => Structured ( Maybe a) Source #
Instance details

Defined in Distribution.Utils.Structured

Structured a => Structured ( Ratio a) Source #
Instance details

Defined in Distribution.Utils.Structured

Structured a => Structured ( NonEmpty a) Source #
Instance details

Defined in Distribution.Utils.Structured

Structured v => Structured ( IntMap v) Source #
Instance details

Defined in Distribution.Utils.Structured

Structured v => Structured ( Seq v) Source #
Instance details

Defined in Distribution.Utils.Structured

Structured k => Structured ( Set k) Source #
Instance details

Defined in Distribution.Utils.Structured

Structured a => Structured ( Option' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Structured a => Structured ( Last' a) Source #
Instance details

Defined in Distribution.Compat.Semigroup

Structured c => Structured ( Condition c) Source #
Instance details

Defined in Distribution.Types.Condition

Structured a => Structured ( Flag a) Source #
Instance details

Defined in Distribution.Simple.Flag

Structured a => Structured ( Graph a) Source #
Instance details

Defined in Distribution.Compat.Graph

Structured a => Structured ( PerCompilerFlavor a) Source #
Instance details

Defined in Distribution.Compiler

Structured dir => Structured ( InstallDirs dir) Source #
Instance details

Defined in Distribution.Simple.InstallDirs

Structured a => Structured ( NubList a) Source #
Instance details

Defined in Distribution.Utils.NubList

Structured a => Structured ( PackageIndex a) Source #
Instance details

Defined in Distribution.Simple.PackageIndex

( Structured a, Structured b) => Structured ( Either a b) Source #
Instance details

Defined in Distribution.Utils.Structured

( Structured a1, Structured a2) => Structured (a1, a2) Source #
Instance details

Defined in Distribution.Utils.Structured

( Structured k, Structured v) => Structured ( Map k v) Source #
Instance details

Defined in Distribution.Utils.Structured

( Structured a1, Structured a2, Structured a3) => Structured (a1, a2, a3) Source #
Instance details

Defined in Distribution.Utils.Structured

Methods

structure :: Proxy (a1, a2, a3) -> Structure Source #

structureHash' :: Tagged (a1, a2, a3) MD5

( Structured v, Structured c, Structured a) => Structured ( CondBranch v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

( Structured v, Structured c, Structured a) => Structured ( CondTree v c a) Source #
Instance details

Defined in Distribution.Types.CondTree

( Structured a1, Structured a2, Structured a3, Structured a4) => Structured (a1, a2, a3, a4) Source #
Instance details

Defined in Distribution.Utils.Structured

Methods

structure :: Proxy (a1, a2, a3, a4) -> Structure Source #

structureHash' :: Tagged (a1, a2, a3, a4) MD5

( Structured a1, Structured a2, Structured a3, Structured a4, Structured a5) => Structured (a1, a2, a3, a4, a5) Source #
Instance details

Defined in Distribution.Utils.Structured

Methods

structure :: Proxy (a1, a2, a3, a4, a5) -> Structure Source #

structureHash' :: Tagged (a1, a2, a3, a4, a5) MD5

( Structured a1, Structured a2, Structured a3, Structured a4, Structured a5, Structured a6) => Structured (a1, a2, a3, a4, a5, a6) Source #
Instance details

Defined in Distribution.Utils.Structured

Methods

structure :: Proxy (a1, a2, a3, a4, a5, a6) -> Structure Source #

structureHash' :: Tagged (a1, a2, a3, a4, a5, a6) MD5

( Structured a1, Structured a2, Structured a3, Structured a4, Structured a5, Structured a6, Structured a7) => Structured (a1, a2, a3, a4, a5, a6, a7) Source #
Instance details

Defined in Distribution.Utils.Structured

Methods

structure :: Proxy (a1, a2, a3, a4, a5, a6, a7) -> Structure Source #

structureHash' :: Tagged (a1, a2, a3, a4, a5, a6, a7) MD5

class Applicative f => Alternative (f :: Type -> Type ) where Source #

A monoid on applicative functors.

If defined, some and many should be the least solutions of the equations:

Minimal complete definition

empty , (<|>)

Methods

empty :: f a Source #

The identity of <|>

(<|>) :: f a -> f a -> f a infixl 3 Source #

An associative binary operation

some :: f a -> f [a] Source #

One or more.

many :: f a -> f [a] Source #

Zero or more.

Instances

Instances details
Alternative []

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

empty :: [a] Source #

(<|>) :: [a] -> [a] -> [a] Source #

some :: [a] -> [[a]] Source #

many :: [a] -> [[a]] Source #

Alternative Maybe

Since: base-2.1

Instance details

Defined in GHC.Base

Alternative IO

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Alternative Option

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Alternative ZipList

Since: base-4.11.0.0

Instance details

Defined in Control.Applicative

Alternative STM

Since: base-4.8.0.0

Instance details

Defined in GHC.Conc.Sync

Alternative ReadPrec

Since: base-4.6.0.0

Instance details

Defined in Text.ParserCombinators.ReadPrec

Alternative ReadP

Since: base-4.6.0.0

Instance details

Defined in Text.ParserCombinators.ReadP

Alternative Get

Since: binary-0.7.0.0

Instance details

Defined in Data.Binary.Get.Internal

Alternative Seq

Since: containers-0.5.4

Instance details

Defined in Data.Sequence.Internal

Alternative P

Since: base-4.5.0.0

Instance details

Defined in Text.ParserCombinators.ReadP

Methods

empty :: P a Source #

(<|>) :: P a -> P a -> P a Source #

some :: P a -> P [a] Source #

many :: P a -> P [a] Source #

Alternative Condition Source #
Instance details

Defined in Distribution.Types.Condition

Alternative ParsecParser Source #
Instance details

Defined in Distribution.Parsec

Alternative ( U1 :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

MonadPlus m => Alternative ( WrappedMonad m)

Since: base-2.1

Instance details

Defined in Control.Applicative

ArrowPlus a => Alternative ( ArrowMonad a)

Since: base-4.6.0.0

Instance details

Defined in Control.Arrow

Alternative ( Proxy :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Proxy

Applicative m => Alternative ( ListT m)
Instance details

Defined in Control.Monad.Trans.List

( Functor m, Monad m) => Alternative ( MaybeT m)
Instance details

Defined in Control.Monad.Trans.Maybe

Alternative f => Alternative ( Rec1 f)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

( ArrowZero a, ArrowPlus a) => Alternative ( WrappedArrow a b)

Since: base-2.1

Instance details

Defined in Control.Applicative

Alternative m => Alternative ( Kleisli m a)

Since: base-4.14.0.0

Instance details

Defined in Control.Arrow

Alternative f => Alternative ( Ap f)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Alternative f => Alternative ( Alt f)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Alternative m => Alternative ( IdentityT m)
Instance details

Defined in Control.Monad.Trans.Identity

( Functor m, Monad m, Error e) => Alternative ( ErrorT e m)
Instance details

Defined in Control.Monad.Trans.Error

( Functor m, Monad m, Monoid e) => Alternative ( ExceptT e m)
Instance details

Defined in Control.Monad.Trans.Except

Alternative m => Alternative ( ReaderT r m)
Instance details

Defined in Control.Monad.Trans.Reader

( Functor m, MonadPlus m) => Alternative ( StateT s m)
Instance details

Defined in Control.Monad.Trans.State.Lazy

( Functor m, MonadPlus m) => Alternative ( StateT s m)
Instance details

Defined in Control.Monad.Trans.State.Strict

( Monoid w, Alternative m) => Alternative ( WriterT w m)
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

( Monoid w, Alternative m) => Alternative ( WriterT w m)
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Monoid fail => Alternative ( Progress step fail) Source #
Instance details

Defined in Distribution.Utils.Progress

Methods

empty :: Progress step fail a Source #

(<|>) :: Progress step fail a -> Progress step fail a -> Progress step fail a Source #

some :: Progress step fail a -> Progress step fail [a] Source #

many :: Progress step fail a -> Progress step fail [a] Source #

( Alternative f, Alternative g) => Alternative (f :*: g)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

empty :: (f :*: g) a Source #

(<|>) :: (f :*: g) a -> (f :*: g) a -> (f :*: g) a Source #

some :: (f :*: g) a -> (f :*: g) [a] Source #

many :: (f :*: g) a -> (f :*: g) [a] Source #

( Alternative f, Alternative g) => Alternative ( Product f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

Alternative ( ParsecT s u m)
Instance details

Defined in Text.Parsec.Prim

Alternative f => Alternative ( M1 i c f)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

empty :: M1 i c f a Source #

(<|>) :: M1 i c f a -> M1 i c f a -> M1 i c f a Source #

some :: M1 i c f a -> M1 i c f [a] Source #

many :: M1 i c f a -> M1 i c f [a] Source #

( Alternative f, Applicative g) => Alternative (f :.: g)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

empty :: (f :.: g) a Source #

(<|>) :: (f :.: g) a -> (f :.: g) a -> (f :.: g) a Source #

some :: (f :.: g) a -> (f :.: g) [a] Source #

many :: (f :.: g) a -> (f :.: g) [a] Source #

( Alternative f, Applicative g) => Alternative ( Compose f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Compose

( Monoid w, Functor m, MonadPlus m) => Alternative ( RWST r w s m)
Instance details

Defined in Control.Monad.Trans.RWS.Lazy

Methods

empty :: RWST r w s m a Source #

(<|>) :: RWST r w s m a -> RWST r w s m a -> RWST r w s m a Source #

some :: RWST r w s m a -> RWST r w s m [a] Source #

many :: RWST r w s m a -> RWST r w s m [a] Source #

( Monoid w, Functor m, MonadPlus m) => Alternative ( RWST r w s m)
Instance details

Defined in Control.Monad.Trans.RWS.Strict

Methods

empty :: RWST r w s m a Source #

(<|>) :: RWST r w s m a -> RWST r w s m a -> RWST r w s m a Source #

some :: RWST r w s m a -> RWST r w s m [a] Source #

many :: RWST r w s m a -> RWST r w s m [a] Source #

class ( Alternative m, Monad m) => MonadPlus (m :: Type -> Type ) where Source #

Monads that also support choice and failure.

Minimal complete definition

Nothing

Methods

mzero :: m a Source #

The identity of mplus . It should also satisfy the equations

mzero >>= f  =  mzero
v >> mzero   =  mzero

The default definition is

mzero = empty

mplus :: m a -> m a -> m a Source #

An associative operation. The default definition is

mplus = (<|>)

Instances

Instances details
MonadPlus []

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

mzero :: [a] Source #

mplus :: [a] -> [a] -> [a] Source #

MonadPlus Maybe

Since: base-2.1

Instance details

Defined in GHC.Base

MonadPlus IO

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

MonadPlus Option

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

MonadPlus STM

Since: base-4.3.0.0

Instance details

Defined in GHC.Conc.Sync

MonadPlus ReadPrec

Since: base-2.1

Instance details

Defined in Text.ParserCombinators.ReadPrec

MonadPlus ReadP

Since: base-2.1

Instance details

Defined in Text.ParserCombinators.ReadP

MonadPlus Get

Since: binary-0.7.1.0

Instance details

Defined in Data.Binary.Get.Internal

MonadPlus Seq
Instance details

Defined in Data.Sequence.Internal

MonadPlus P

Since: base-2.1

Instance details

Defined in Text.ParserCombinators.ReadP

Methods

mzero :: P a Source #

mplus :: P a -> P a -> P a Source #

MonadPlus Condition Source #
Instance details

Defined in Distribution.Types.Condition

MonadPlus ParsecParser Source #
Instance details

Defined in Distribution.Parsec

MonadPlus ( U1 :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

( ArrowApply a, ArrowPlus a) => MonadPlus ( ArrowMonad a)

Since: base-4.6.0.0

Instance details

Defined in Control.Arrow

MonadPlus ( Proxy :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Proxy

Monad m => MonadPlus ( ListT m)
Instance details

Defined in Control.Monad.Trans.List

Monad m => MonadPlus ( MaybeT m)
Instance details

Defined in Control.Monad.Trans.Maybe

MonadPlus f => MonadPlus ( Rec1 f)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

MonadPlus m => MonadPlus ( Kleisli m a)

Since: base-4.14.0.0

Instance details

Defined in Control.Arrow

MonadPlus f => MonadPlus ( Ap f)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

MonadPlus f => MonadPlus ( Alt f)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

MonadPlus m => MonadPlus ( IdentityT m)
Instance details

Defined in Control.Monad.Trans.Identity

( Monad m, Error e) => MonadPlus ( ErrorT e m)
Instance details

Defined in Control.Monad.Trans.Error

( Monad m, Monoid e) => MonadPlus ( ExceptT e m)
Instance details

Defined in Control.Monad.Trans.Except

MonadPlus m => MonadPlus ( ReaderT r m)
Instance details

Defined in Control.Monad.Trans.Reader

MonadPlus m => MonadPlus ( StateT s m)
Instance details

Defined in Control.Monad.Trans.State.Lazy

MonadPlus m => MonadPlus ( StateT s m)
Instance details

Defined in Control.Monad.Trans.State.Strict

( Monoid w, MonadPlus m) => MonadPlus ( WriterT w m)
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

( Monoid w, MonadPlus m) => MonadPlus ( WriterT w m)
Instance details

Defined in Control.Monad.Trans.Writer.Strict

( MonadPlus f, MonadPlus g) => MonadPlus (f :*: g)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

mzero :: (f :*: g) a Source #

mplus :: (f :*: g) a -> (f :*: g) a -> (f :*: g) a Source #

( MonadPlus f, MonadPlus g) => MonadPlus ( Product f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

MonadPlus ( ParsecT s u m)
Instance details

Defined in Text.Parsec.Prim

MonadPlus f => MonadPlus ( M1 i c f)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

mzero :: M1 i c f a Source #

mplus :: M1 i c f a -> M1 i c f a -> M1 i c f a Source #

( Monoid w, MonadPlus m) => MonadPlus ( RWST r w s m)
Instance details

Defined in Control.Monad.Trans.RWS.Lazy

Methods

mzero :: RWST r w s m a Source #

mplus :: RWST r w s m a -> RWST r w s m a -> RWST r w s m a Source #

( Monoid w, MonadPlus m) => MonadPlus ( RWST r w s m)
Instance details

Defined in Control.Monad.Trans.RWS.Strict

Methods

mzero :: RWST r w s m a Source #

mplus :: RWST r w s m a -> RWST r w s m a -> RWST r w s m a Source #

class IsString a where Source #

Class for string-like datastructures; used by the overloaded string extension (-XOverloadedStrings in GHC).

Instances

Instances details
IsString ShortByteString

Beware: fromString truncates multi-byte characters to octets. e.g. "枯朶に烏のとまりけり秋の暮" becomes �6k�nh~�Q��n�

Instance details

Defined in Data.ByteString.Short.Internal

IsString ByteString

Beware: fromString truncates multi-byte characters to octets. e.g. "枯朶に烏のとまりけり秋の暮" becomes �6k�nh~�Q��n�

Instance details

Defined in Data.ByteString.Lazy.Internal

IsString ByteString

Beware: fromString truncates multi-byte characters to octets. e.g. "枯朶に烏のとまりけり秋の暮" becomes �6k�nh~�Q��n�

Instance details

Defined in Data.ByteString.Internal

IsString Doc
Instance details

Defined in Text.PrettyPrint.HughesPJ

IsString CmdSpec

construct a ShellCommand from a string literal

Since: process-1.2.1.0

Instance details

Defined in System.Process.Common

IsString ShortText Source #
Instance details

Defined in Distribution.Utils.ShortText

IsString PkgconfigName Source #

mkPkgconfigName

Since: 2.0.0.2

Instance details

Defined in Distribution.Types.PkgconfigName

IsString PackageName Source #

mkPackageName

Since: 2.0.0.2

Instance details

Defined in Distribution.Types.PackageName

IsString UnqualComponentName Source #

mkUnqualComponentName

Since: 2.0.0.2

Instance details

Defined in Distribution.Types.UnqualComponentName

IsString FlagName Source #

mkFlagName

Since: 2.0.0.2

Instance details

Defined in Distribution.Types.Flag

IsString ComponentId Source #

mkComponentId

Since: 2.0.0.2

Instance details

Defined in Distribution.Types.ComponentId

IsString AbiHash Source #

mkAbiHash

Since: 2.0.0.2

Instance details

Defined in Distribution.Types.AbiHash

IsString ModuleName Source #

Construct a ModuleName from a valid module name String .

This is just a convenience function intended for valid module strings. It is an error if it is used with a string that is not a valid module name. If you are parsing user input then use simpleParse instead.

Instance details

Defined in Distribution.ModuleName

IsString UnitId Source #

mkUnitId

Since: 2.0.0.2

Instance details

Defined in Distribution.Types.UnitId

a ~ Char => IsString [a]

(a ~ Char) context was introduced in 4.9.0.0

Since: base-2.1

Instance details

Defined in Data.String

IsString a => IsString ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.String

a ~ Char => IsString ( Seq a)

Since: containers-0.5.7

Instance details

Defined in Data.Sequence.Internal

IsString ( Doc a)
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

IsString a => IsString ( Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.String

Some types

data Map k a Source #

A Map from keys k to values a .

The Semigroup operation for Map is union , which prefers values from the left operand. If m1 maps a key k to a value a1 , and m2 maps the same key to a different value a2 , then their union m1 <> m2 maps k to a1 .

Instances

Instances details
Bifoldable Map

Since: containers-0.6.3.1

Instance details

Defined in Data.Map.Internal

Methods

bifold :: Monoid m => Map m m -> m Source #

bifoldMap :: Monoid m => (a -> m) -> (b -> m) -> Map a b -> m Source #

bifoldr :: (a -> c -> c) -> (b -> c -> c) -> c -> Map a b -> c Source #

bifoldl :: (c -> a -> c) -> (c -> b -> c) -> c -> Map a b -> c Source #

Eq2 Map

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

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

Ord2 Map

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

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

Show2 Map

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

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

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

Functor ( Map k)
Instance details

Defined in Data.Map.Internal

Methods

fmap :: (a -> b) -> Map k a -> Map k b Source #

(<$) :: a -> Map k b -> Map k a Source #

Foldable ( Map k)

Folds in order of increasing key.

Instance details

Defined in Data.Map.Internal

Methods

fold :: Monoid m => Map k m -> m Source #

foldMap :: Monoid m => (a -> m) -> Map k a -> m Source #

foldMap' :: Monoid m => (a -> m) -> Map k a -> m Source #

foldr :: (a -> b -> b) -> b -> Map k a -> b Source #

foldr' :: (a -> b -> b) -> b -> Map k a -> b Source #

foldl :: (b -> a -> b) -> b -> Map k a -> b Source #

foldl' :: (b -> a -> b) -> b -> Map k a -> b Source #

foldr1 :: (a -> a -> a) -> Map k a -> a Source #

foldl1 :: (a -> a -> a) -> Map k a -> a Source #

toList :: Map k a -> [a] Source #

null :: Map k a -> Bool Source #

length :: Map k a -> Int Source #

elem :: Eq a => a -> Map k a -> Bool Source #

maximum :: Ord a => Map k a -> a Source #

minimum :: Ord a => Map k a -> a Source #

sum :: Num a => Map k a -> a Source #

product :: Num a => Map k a -> a Source #

Traversable ( Map k)

Traverses in order of increasing key.

Instance details

Defined in Data.Map.Internal

Methods

traverse :: Applicative f => (a -> f b) -> Map k a -> f ( Map k b) Source #

sequenceA :: Applicative f => Map k (f a) -> f ( Map k a) Source #

mapM :: Monad m => (a -> m b) -> Map k a -> m ( Map k b) Source #

sequence :: Monad m => Map k (m a) -> m ( Map k a) Source #

Eq k => Eq1 ( Map k)

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

liftEq :: (a -> b -> Bool ) -> Map k a -> Map k b -> Bool Source #

Ord k => Ord1 ( Map k)

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

( Ord k, Read k) => Read1 ( Map k)

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Show k => Show1 ( Map k)

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Ord k => IsList ( Map k v)

Since: containers-0.5.6.2

Instance details

Defined in Data.Map.Internal

Associated Types

type Item ( Map k v) Source #

( Eq k, Eq a) => Eq ( Map k a)
Instance details

Defined in Data.Map.Internal

( Data k, Data a, Ord k) => Data ( Map k a)
Instance details

Defined in Data.Map.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Map k a -> c ( Map k a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Map k a) Source #

toConstr :: Map k a -> Constr Source #

dataTypeOf :: Map k a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Map k a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Map k a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Map k a -> Map k a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Map k a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Map k a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Map k a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Map k a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Map k a -> m ( Map k a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Map k a -> m ( Map k a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Map k a -> m ( Map k a) Source #

( Ord k, Ord v) => Ord ( Map k v)
Instance details

Defined in Data.Map.Internal

( Ord k, Read k, Read e) => Read ( Map k e)
Instance details

Defined in Data.Map.Internal

( Show k, Show a) => Show ( Map k a)
Instance details

Defined in Data.Map.Internal

Ord k => Semigroup ( Map k v)
Instance details

Defined in Data.Map.Internal

Ord k => Monoid ( Map k v)
Instance details

Defined in Data.Map.Internal

( Binary k, Binary e) => Binary ( Map k e)
Instance details

Defined in Data.Binary.Class

( NFData k, NFData a) => NFData ( Map k a)
Instance details

Defined in Data.Map.Internal

Methods

rnf :: Map k a -> () Source #

( Structured k, Structured v) => Structured ( Map k v) Source #
Instance details

Defined in Distribution.Utils.Structured

ModSubst a => ModSubst ( Map k a) Source #
Instance details

Defined in Distribution.Backpack.ModSubst

type Item ( Map k v)
Instance details

Defined in Data.Map.Internal

type Item ( Map k v) = (k, v)

data Set a Source #

A set of values a .

Instances

Instances details
Foldable Set

Folds in order of increasing key.

Instance details

Defined in Data.Set.Internal

Eq1 Set

Since: containers-0.5.9

Instance details

Defined in Data.Set.Internal

Methods

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

Ord1 Set

Since: containers-0.5.9

Instance details

Defined in Data.Set.Internal

Show1 Set

Since: containers-0.5.9

Instance details

Defined in Data.Set.Internal

Ord a => IsList ( Set a)

Since: containers-0.5.6.2

Instance details

Defined in Data.Set.Internal

Associated Types

type Item ( Set a) Source #

Eq a => Eq ( Set a)
Instance details

Defined in Data.Set.Internal

( Data a, Ord a) => Data ( Set a)
Instance details

Defined in Data.Set.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Set a -> c ( Set a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Set a) Source #

toConstr :: Set a -> Constr Source #

dataTypeOf :: Set a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Set a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Set a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Set a -> Set a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Set a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Set a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Set a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Set a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Set a -> m ( Set a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Set a -> m ( Set a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Set a -> m ( Set a) Source #

Ord a => Ord ( Set a)
Instance details

Defined in Data.Set.Internal

( Read a, Ord a) => Read ( Set a)
Instance details

Defined in Data.Set.Internal

Show a => Show ( Set a)
Instance details

Defined in Data.Set.Internal

Ord a => Semigroup ( Set a)

Since: containers-0.5.7

Instance details

Defined in Data.Set.Internal

Ord a => Monoid ( Set a)
Instance details

Defined in Data.Set.Internal

Binary a => Binary ( Set a)
Instance details

Defined in Data.Binary.Class

NFData a => NFData ( Set a)
Instance details

Defined in Data.Set.Internal

Methods

rnf :: Set a -> () Source #

Structured k => Structured ( Set k) Source #
Instance details

Defined in Distribution.Utils.Structured

ModSubst ( Set ModuleName ) Source #
Instance details

Defined in Distribution.Backpack.ModSubst

Newtype ( Set a) ( Set' sep wrapper a) Source #
Instance details

Defined in Distribution.Parsec.Newtypes

Methods

pack :: Set a -> Set' sep wrapper a Source #

unpack :: Set' sep wrapper a -> Set a Source #

type Item ( Set a)
Instance details

Defined in Data.Set.Internal

type Item ( Set a) = a

newtype Identity a Source #

Identity functor and monad. (a non-strict monad)

Since: base-4.8.0.0

Constructors

Identity

Fields

Instances

Instances details
Monad Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Functor Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

MonadFix Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Applicative Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Foldable Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Traversable Identity

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Eq1 Identity

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Ord1 Identity

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Read1 Identity

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Show1 Identity

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

NFData1 Identity

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf :: (a -> ()) -> Identity a -> () Source #

Newtype a ( Identity a) Source #
Instance details

Defined in Distribution.Compat.Newtype

Bounded a => Bounded ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Enum a => Enum ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Eq a => Eq ( Identity a)

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Floating a => Floating ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Fractional a => Fractional ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Integral a => Integral ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Data a => Data ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Identity a -> c ( Identity a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Identity a) Source #

toConstr :: Identity a -> Constr Source #

dataTypeOf :: Identity a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Identity a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Identity a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Identity a -> Identity a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Identity a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Identity a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Identity a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Identity a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Identity a -> m ( Identity a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Identity a -> m ( Identity a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Identity a -> m ( Identity a) Source #

Num a => Num ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Ord a => Ord ( Identity a)

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Read a => Read ( Identity a)

This instance would be equivalent to the derived instances of the Identity newtype if the runIdentity field were removed

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Real a => Real ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

RealFloat a => RealFloat ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

RealFrac a => RealFrac ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Show a => Show ( Identity a)

This instance would be equivalent to the derived instances of the Identity newtype if the runIdentity field were removed

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Ix a => Ix ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

IsString a => IsString ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.String

Generic ( Identity a)

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Associated Types

type Rep ( Identity a) :: Type -> Type Source #

Semigroup a => Semigroup ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Monoid a => Monoid ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Storable a => Storable ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Bits a => Bits ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

FiniteBits a => FiniteBits ( Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Binary a => Binary ( Identity a)
Instance details

Defined in Data.Binary.Class

NFData a => NFData ( Identity a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Pretty a => Pretty ( Identity a) Source #
Instance details

Defined in Distribution.Pretty

Parsec a => Parsec ( Identity a) Source #
Instance details

Defined in Distribution.Parsec

Generic1 Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Associated Types

type Rep1 Identity :: k -> Type Source #

type Rep ( Identity a)
Instance details

Defined in Data.Functor.Identity

type Rep ( Identity a) = D1 (' MetaData "Identity" "Data.Functor.Identity" "base" ' True ) ( C1 (' MetaCons "Identity" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "runIdentity") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 a)))
type Rep1 Identity
Instance details

Defined in Data.Functor.Identity

type Rep1 Identity = D1 (' MetaData "Identity" "Data.Functor.Identity" "base" ' True ) ( C1 (' MetaCons "Identity" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "runIdentity") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) Par1 ))

data Proxy (t :: k) Source #

Proxy is a type that holds no data, but has a phantom parameter of arbitrary type (or even kind). Its use is to provide type information, even though there is no value available of that type (or it may be too costly to create one).

Historically, Proxy :: Proxy a is a safer alternative to the undefined :: a idiom.

>>> Proxy :: Proxy (Void, Int -> Int)
Proxy

Proxy can even hold types of higher kinds,

>>> Proxy :: Proxy Either
Proxy
>>> Proxy :: Proxy Functor
Proxy
>>> Proxy :: Proxy complicatedStructure
Proxy

Constructors

Proxy

Instances

Instances details
Generic1 ( Proxy :: k -> Type )

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep1 Proxy :: k -> Type Source #

Methods

from1 :: forall (a :: k0). Proxy a -> Rep1 Proxy a Source #

to1 :: forall (a :: k0). Rep1 Proxy a -> Proxy a Source #

Monad ( Proxy :: Type -> Type )

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Functor ( Proxy :: Type -> Type )

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Applicative ( Proxy :: Type -> Type )

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Foldable ( Proxy :: Type -> Type )

Since: base-4.7.0.0

Instance details

Defined in Data.Foldable

Traversable ( Proxy :: Type -> Type )

Since: base-4.7.0.0

Instance details

Defined in Data.Traversable

Eq1 ( Proxy :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

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

Ord1 ( Proxy :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Read1 ( Proxy :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Show1 ( Proxy :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Alternative ( Proxy :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Proxy

MonadPlus ( Proxy :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Proxy

NFData1 ( Proxy :: Type -> Type )

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf :: (a -> ()) -> Proxy a -> () Source #

Bounded ( Proxy t)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Enum ( Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Eq ( Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Data t => Data ( Proxy t)

Since: base-4.7.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Proxy t -> c ( Proxy t) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Proxy t) Source #

toConstr :: Proxy t -> Constr Source #

dataTypeOf :: Proxy t -> DataType Source #

dataCast1 :: Typeable t0 => ( forall d. Data d => c (t0 d)) -> Maybe (c ( Proxy t)) Source #

dataCast2 :: Typeable t0 => ( forall d e. ( Data d, Data e) => c (t0 d e)) -> Maybe (c ( Proxy t)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Proxy t -> Proxy t Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Proxy t -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Proxy t -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Proxy t -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Proxy t -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Proxy t -> m ( Proxy t) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Proxy t -> m ( Proxy t) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Proxy t -> m ( Proxy t) Source #

Ord ( Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Read ( Proxy t)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Show ( Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Ix ( Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Generic ( Proxy t)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( Proxy t) :: Type -> Type Source #

Semigroup ( Proxy s)

Since: base-4.9.0.0

Instance details

Defined in Data.Proxy

Monoid ( Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

NFData ( Proxy a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Proxy a -> () Source #

type Rep1 ( Proxy :: k -> Type )
Instance details

Defined in GHC.Generics

type Rep1 ( Proxy :: k -> Type ) = D1 (' MetaData "Proxy" "Data.Proxy" "base" ' False ) ( C1 (' MetaCons "Proxy" ' PrefixI ' False ) ( U1 :: k -> Type ))
type Rep ( Proxy t)
Instance details

Defined in GHC.Generics

type Rep ( Proxy t) = D1 (' MetaData "Proxy" "Data.Proxy" "base" ' False ) ( C1 (' MetaCons "Proxy" ' PrefixI ' False ) ( U1 :: Type -> Type ))

Data.Maybe

catMaybes :: [ Maybe a] -> [a] Source #

The catMaybes function takes a list of Maybe s and returns a list of all the Just values.

Examples

Expand

Basic usage:

>>> catMaybes [Just 1, Nothing, Just 3]
[1,3]

When constructing a list of Maybe values, catMaybes can be used to return all of the "success" results (if the list is the result of a map , then mapMaybe would be more appropriate):

>>> import Text.Read ( readMaybe )
>>> [readMaybe x :: Maybe Int | x <- ["1", "Foo", "3"] ]
[Just 1,Nothing,Just 3]
>>> catMaybes $ [readMaybe x :: Maybe Int | x <- ["1", "Foo", "3"] ]
[1,3]

mapMaybe :: (a -> Maybe b) -> [a] -> [b] Source #

The mapMaybe function is a version of map which can throw out elements. In particular, the functional argument returns something of type Maybe b . If this is Nothing , no element is added on to the result list. If it is Just b , then b is included in the result list.

Examples

Expand

Using mapMaybe f x is a shortcut for catMaybes $ map f x in most cases:

>>> import Text.Read ( readMaybe )
>>> let readMaybeInt = readMaybe :: String -> Maybe Int
>>> mapMaybe readMaybeInt ["1", "Foo", "3"]
[1,3]
>>> catMaybes $ map readMaybeInt ["1", "Foo", "3"]
[1,3]

If we map the Just constructor, the entire list should be returned:

>>> mapMaybe Just [1,2,3]
[1,2,3]

fromMaybe :: a -> Maybe a -> a Source #

The fromMaybe function takes a default value and and Maybe value. If the Maybe is Nothing , it returns the default values; otherwise, it returns the value contained in the Maybe .

Examples

Expand

Basic usage:

>>> fromMaybe "" (Just "Hello, World!")
"Hello, World!"
>>> fromMaybe "" Nothing
""

Read an integer from a string using readMaybe . If we fail to parse an integer, we want to return 0 by default:

>>> import Text.Read ( readMaybe )
>>> fromMaybe 0 (readMaybe "5")
5
>>> fromMaybe 0 (readMaybe "")
0

maybeToList :: Maybe a -> [a] Source #

The maybeToList function returns an empty list when given Nothing or a singleton list when given Just .

Examples

Expand

Basic usage:

>>> maybeToList (Just 7)
[7]
>>> maybeToList Nothing
[]

One can use maybeToList to avoid pattern matching when combined with a function that (safely) works on lists:

>>> import Text.Read ( readMaybe )
>>> sum $ maybeToList (readMaybe "3")
3
>>> sum $ maybeToList (readMaybe "")
0

listToMaybe :: [a] -> Maybe a Source #

The listToMaybe function returns Nothing on an empty list or Just a where a is the first element of the list.

Examples

Expand

Basic usage:

>>> listToMaybe []
Nothing
>>> listToMaybe [9]
Just 9
>>> listToMaybe [1,2,3]
Just 1

Composing maybeToList with listToMaybe should be the identity on singleton/empty lists:

>>> maybeToList $ listToMaybe [5]
[5]
>>> maybeToList $ listToMaybe []
[]

But not on lists with more than one element:

>>> maybeToList $ listToMaybe [1,2,3]
[1]

isNothing :: Maybe a -> Bool Source #

The isNothing function returns True iff its argument is Nothing .

Examples

Expand

Basic usage:

>>> isNothing (Just 3)
False
>>> isNothing (Just ())
False
>>> isNothing Nothing
True

Only the outer constructor is taken into consideration:

>>> isNothing (Just Nothing)
False

isJust :: Maybe a -> Bool Source #

The isJust function returns True iff its argument is of the form Just _ .

Examples

Expand

Basic usage:

>>> isJust (Just 3)
True
>>> isJust (Just ())
True
>>> isJust Nothing
False

Only the outer constructor is taken into consideration:

>>> isJust (Just Nothing)
True

Data.List

unfoldr :: (b -> Maybe (a, b)) -> b -> [a] Source #

The unfoldr function is a `dual' to foldr : while foldr reduces a list to a summary value, unfoldr builds a list from a seed value. The function takes the element and returns Nothing if it is done producing the list or returns Just (a,b) , in which case, a is a prepended to the list and b is used as the next element in a recursive call. For example,

iterate f == unfoldr (\x -> Just (x, f x))

In some cases, unfoldr can undo a foldr operation:

unfoldr f' (foldr f z xs) == xs

if the following holds:

f' (f x y) = Just (x,y)
f' z       = Nothing

A simple use of unfoldr:

>>> unfoldr (\b -> if b == 0 then Nothing else Just (b, b-1)) 10
[10,9,8,7,6,5,4,3,2,1]

isPrefixOf :: Eq a => [a] -> [a] -> Bool Source #

\(\mathcal{O}(\min(m,n))\) . The isPrefixOf function takes two lists and returns True iff the first list is a prefix of the second.

>>> "Hello" `isPrefixOf` "Hello World!"
True
>>> "Hello" `isPrefixOf` "Wello Horld!"
False

isSuffixOf :: Eq a => [a] -> [a] -> Bool Source #

The isSuffixOf function takes two lists and returns True iff the first list is a suffix of the second. The second list must be finite.

>>> "ld!" `isSuffixOf` "Hello World!"
True
>>> "World" `isSuffixOf` "Hello World!"
False

intercalate :: [a] -> [[a]] -> [a] Source #

intercalate xs xss is equivalent to ( concat ( intersperse xs xss)) . It inserts the list xs in between the lists in xss and concatenates the result.

>>> intercalate ", " ["Lorem", "ipsum", "dolor"]
"Lorem, ipsum, dolor"

intersperse :: a -> [a] -> [a] Source #

\(\mathcal{O}(n)\) . The intersperse function takes an element and a list and `intersperses' that element between the elements of the list. For example,

>>> intersperse ',' "abcde"
"a,b,c,d,e"

sort :: Ord a => [a] -> [a] Source #

The sort function implements a stable sorting algorithm. It is a special case of sortBy , which allows the programmer to supply their own comparison function.

Elements are arranged from lowest to highest, keeping duplicates in the order they appeared in the input.

>>> sort [1,6,4,3,2,5]
[1,2,3,4,5,6]

sortBy :: (a -> a -> Ordering ) -> [a] -> [a] Source #

The sortBy function is the non-overloaded version of sort .

>>> sortBy (\(a,_) (b,_) -> compare a b) [(2, "world"), (4, "!"), (1, "Hello")]
[(1,"Hello"),(2,"world"),(4,"!")]

nub :: Eq a => [a] -> [a] Source #

\(\mathcal{O}(n^2)\) . The nub function removes duplicate elements from a list. In particular, it keeps only the first occurrence of each element. (The name nub means `essence'.) It is a special case of nubBy , which allows the programmer to supply their own equality test.

>>> nub [1,2,3,4,3,2,1,2,4,3,5]
[1,2,3,4,5]

nubBy :: (a -> a -> Bool ) -> [a] -> [a] Source #

The nubBy function behaves just like nub , except it uses a user-supplied equality predicate instead of the overloaded == function.

>>> nubBy (\x y -> mod x 3 == mod y 3) [1,2,4,5,6]
[1,2,6]

Data.List.NonEmpty

data NonEmpty a Source #

Non-empty (and non-strict) list type.

Since: base-4.9.0.0

Constructors

a :| [a] infixr 5

Instances

Instances details
Monad NonEmpty

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Functor NonEmpty

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Applicative NonEmpty

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Foldable NonEmpty

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Traversable NonEmpty

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Eq1 NonEmpty

Since: base-4.10.0.0

Instance details

Defined in Data.Functor.Classes

Ord1 NonEmpty

Since: base-4.10.0.0

Instance details

Defined in Data.Functor.Classes

Read1 NonEmpty

Since: base-4.10.0.0

Instance details

Defined in Data.Functor.Classes

Show1 NonEmpty

Since: base-4.10.0.0

Instance details

Defined in Data.Functor.Classes

NFData1 NonEmpty

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf :: (a -> ()) -> NonEmpty a -> () Source #

Lift a => Lift ( NonEmpty a :: Type )

Since: template-haskell-2.15.0.0

Instance details

Defined in Language.Haskell.TH.Syntax

IsList ( NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Exts

Associated Types

type Item ( NonEmpty a) Source #

Eq a => Eq ( NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Data a => Data ( NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> NonEmpty a -> c ( NonEmpty a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( NonEmpty a) Source #

toConstr :: NonEmpty a -> Constr Source #

dataTypeOf :: NonEmpty a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( NonEmpty a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( NonEmpty a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> NonEmpty a -> NonEmpty a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> NonEmpty a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> NonEmpty a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> NonEmpty a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> NonEmpty a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> NonEmpty a -> m ( NonEmpty a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> NonEmpty a -> m ( NonEmpty a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> NonEmpty a -> m ( NonEmpty a) Source #

Ord a => Ord ( NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Read a => Read ( NonEmpty a)

Since: base-4.11.0.0

Instance details

Defined in GHC.Read

Show a => Show ( NonEmpty a)

Since: base-4.11.0.0

Instance details

Defined in GHC.Show

Generic ( NonEmpty a)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( NonEmpty a) :: Type -> Type Source #

Semigroup ( NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Binary a => Binary ( NonEmpty a)

Since: binary-0.8.4.0

Instance details

Defined in Data.Binary.Class

NFData a => NFData ( NonEmpty a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Structured a => Structured ( NonEmpty a) Source #
Instance details

Defined in Distribution.Utils.Structured

Generic1 NonEmpty

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep1 NonEmpty :: k -> Type Source #

type Rep ( NonEmpty a)
Instance details

Defined in GHC.Generics

type Item ( NonEmpty a)
Instance details

Defined in GHC.Exts

type Item ( NonEmpty a) = a
type Rep1 NonEmpty
Instance details

Defined in GHC.Generics

foldl1 :: (a -> a -> a) -> NonEmpty a -> a Source #

foldr1 :: (a -> a -> a) -> NonEmpty a -> a Source #

head :: NonEmpty a -> a Source #

Extract the first element of the stream.

tail :: NonEmpty a -> [a] Source #

Extract the possibly-empty tail of the stream.

last :: NonEmpty a -> a Source #

Extract the last element of the stream.

init :: NonEmpty a -> [a] Source #

Extract everything except the last element of the stream.

Data.Foldable

class Foldable (t :: Type -> Type ) Source #

Data structures that can be folded.

For example, given a data type

data Tree a = Empty | Leaf a | Node (Tree a) a (Tree a)

a suitable instance would be

instance Foldable Tree where
   foldMap f Empty = mempty
   foldMap f (Leaf x) = f x
   foldMap f (Node l k r) = foldMap f l `mappend` f k `mappend` foldMap f r

This is suitable even for abstract types, as the monoid is assumed to satisfy the monoid laws. Alternatively, one could define foldr :

instance Foldable Tree where
   foldr f z Empty = z
   foldr f z (Leaf x) = f x z
   foldr f z (Node l k r) = foldr f (f k (foldr f z r)) l

Foldable instances are expected to satisfy the following laws:

foldr f z t = appEndo (foldMap (Endo . f) t ) z
foldl f z t = appEndo (getDual (foldMap (Dual . Endo . flip f) t)) z
fold = foldMap id
length = getSum . foldMap (Sum . const  1)

sum , product , maximum , and minimum should all be essentially equivalent to foldMap forms, such as

sum = getSum . foldMap Sum

but may be less defined.

If the type is also a Functor instance, it should satisfy

foldMap f = fold . fmap f

which implies that

foldMap f . fmap g = foldMap (f . g)

Minimal complete definition

foldMap | foldr

Instances

Instances details
Foldable []

Since: base-2.1

Instance details

Defined in Data.Foldable

Methods

fold :: Monoid m => [m] -> m Source #

foldMap :: Monoid m => (a -> m) -> [a] -> m Source #

foldMap' :: Monoid m => (a -> m) -> [a] -> m Source #

foldr :: (a -> b -> b) -> b -> [a] -> b Source #

foldr' :: (a -> b -> b) -> b -> [a] -> b Source #

foldl :: (b -> a -> b) -> b -> [a] -> b Source #

foldl' :: (b -> a -> b) -> b -> [a] -> b Source #

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

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

toList :: [a] -> [a] Source #

null :: [a] -> Bool Source #

length :: [a] -> Int Source #

elem :: Eq a => a -> [a] -> Bool Source #

maximum :: Ord a => [a] -> a Source #

minimum :: Ord a => [a] -> a Source #

sum :: Num a => [a] -> a Source #

product :: Num a => [a] -> a Source #

Foldable Maybe

Since: base-2.1

Instance details

Defined in Data.Foldable

Foldable Par1

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Foldable Complex

Since: base-4.9.0.0

Instance details

Defined in Data.Complex

Foldable Min

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Foldable Max

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Foldable First

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Foldable Last

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Foldable Option

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Foldable ZipList

Since: base-4.9.0.0

Instance details

Defined in Control.Applicative

Foldable Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Foldable First

Since: base-4.8.0.0

Instance details

Defined in Data.Foldable

Foldable Last

Since: base-4.8.0.0

Instance details

Defined in Data.Foldable

Foldable Dual

Since: base-4.8.0.0

Instance details

Defined in Data.Foldable

Foldable Sum

Since: base-4.8.0.0

Instance details

Defined in Data.Foldable

Foldable Product

Since: base-4.8.0.0

Instance details

Defined in Data.Foldable

Foldable Down

Since: base-4.12.0.0

Instance details

Defined in Data.Foldable

Foldable NonEmpty

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Foldable IntMap

Folds in order of increasing key.

Instance details

Defined in Data.IntMap.Internal

Foldable SCC

Since: containers-0.5.9

Instance details

Defined in Data.Graph

Foldable Tree
Instance details

Defined in Data.Tree

Foldable Seq
Instance details

Defined in Data.Sequence.Internal

Foldable FingerTree
Instance details

Defined in Data.Sequence.Internal

Foldable Digit
Instance details

Defined in Data.Sequence.Internal

Foldable Node
Instance details

Defined in Data.Sequence.Internal

Foldable Elem
Instance details

Defined in Data.Sequence.Internal

Foldable ViewL
Instance details

Defined in Data.Sequence.Internal

Foldable ViewR
Instance details

Defined in Data.Sequence.Internal

Foldable Set

Folds in order of increasing key.

Instance details

Defined in Data.Set.Internal

Foldable Condition Source #
Instance details

Defined in Distribution.Types.Condition

Foldable Name Source #
Instance details

Defined in Distribution.Fields.Field

Foldable SectionArg Source #
Instance details

Defined in Distribution.Fields.Field

Foldable FieldLine Source #
Instance details

Defined in Distribution.Fields.Field

Foldable Field Source #
Instance details

Defined in Distribution.Fields.Field

Foldable VersionRangeF Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

Foldable Graph Source #
Instance details

Defined in Distribution.Compat.Graph

Foldable PrettyField Source #
Instance details

Defined in Distribution.Fields.Pretty

Foldable ( Either a)

Since: base-4.7.0.0

Instance details

Defined in Data.Foldable

Methods

fold :: Monoid m => Either a m -> m Source #

foldMap :: Monoid m => (a0 -> m) -> Either a a0 -> m Source #

foldMap' :: Monoid m => (a0 -> m) -> Either a a0 -> m Source #

foldr :: (a0 -> b -> b) -> b -> Either a a0 -> b Source #

foldr' :: (a0 -> b -> b) -> b -> Either a a0 -> b Source #

foldl :: (b -> a0 -> b) -> b -> Either a a0 -> b Source #

foldl' :: (b -> a0 -> b) -> b -> Either a a0 -> b Source #

foldr1 :: (a0 -> a0 -> a0) -> Either a a0 -> a0 Source #

foldl1 :: (a0 -> a0 -> a0) -> Either a a0 -> a0 Source #

toList :: Either a a0 -> [a0] Source #

null :: Either a a0 -> Bool Source #

length :: Either a a0 -> Int Source #

elem :: Eq a0 => a0 -> Either a a0 -> Bool Source #

maximum :: Ord a0 => Either a a0 -> a0 Source #

minimum :: Ord a0 => Either a a0 -> a0 Source #

sum :: Num a0 => Either a a0 -> a0 Source #

product :: Num a0 => Either a a0 -> a0 Source #

Foldable ( V1 :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Foldable ( U1 :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Foldable ( UAddr :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Foldable ( UChar :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Foldable ( UDouble :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Foldable ( UFloat :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Foldable ( UInt :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Foldable ( UWord :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Foldable ( (,) a)

Since: base-4.7.0.0

Instance details

Defined in Data.Foldable

Methods

fold :: Monoid m => (a, m) -> m Source #

foldMap :: Monoid m => (a0 -> m) -> (a, a0) -> m Source #

foldMap' :: Monoid m => (a0 -> m) -> (a, a0) -> m Source #

foldr :: (a0 -> b -> b) -> b -> (a, a0) -> b Source #

foldr' :: (a0 -> b -> b) -> b -> (a, a0) -> b Source #

foldl :: (b -> a0 -> b) -> b -> (a, a0) -> b Source #

foldl' :: (b -> a0 -> b) -> b -> (a, a0) -> b Source #

foldr1 :: (a0 -> a0 -> a0) -> (a, a0) -> a0 Source #

foldl1 :: (a0 -> a0 -> a0) -> (a, a0) -> a0 Source #

toList :: (a, a0) -> [a0] Source #

null :: (a, a0) -> Bool Source #

length :: (a, a0) -> Int Source #

elem :: Eq a0 => a0 -> (a, a0) -> Bool Source #

maximum :: Ord a0 => (a, a0) -> a0 Source #

minimum :: Ord a0 => (a, a0) -> a0 Source #

sum :: Num a0 => (a, a0) -> a0 Source #

product :: Num a0 => (a, a0) -> a0 Source #

Foldable ( Array i)

Since: base-4.8.0.0

Instance details

Defined in Data.Foldable

Foldable ( Arg a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

fold :: Monoid m => Arg a m -> m Source #

foldMap :: Monoid m => (a0 -> m) -> Arg a a0 -> m Source #

foldMap' :: Monoid m => (a0 -> m) -> Arg a a0 -> m Source #

foldr :: (a0 -> b -> b) -> b -> Arg a a0 -> b Source #

foldr' :: (a0 -> b -> b) -> b -> Arg a a0 -> b Source #

foldl :: (b -> a0 -> b) -> b -> Arg a a0 -> b Source #

foldl' :: (b -> a0 -> b) -> b -> Arg a a0 -> b Source #

foldr1 :: (a0 -> a0 -> a0) -> Arg a a0 -> a0 Source #

foldl1 :: (a0 -> a0 -> a0) -> Arg a a0 -> a0 Source #

toList :: Arg a a0 -> [a0] Source #

null :: Arg a a0 -> Bool Source #

length :: Arg a a0 -> Int Source #

elem :: Eq a0 => a0 -> Arg a a0 -> Bool Source #

maximum :: Ord a0 => Arg a a0 -> a0 Source #

minimum :: Ord a0 => Arg a a0 -> a0 Source #

sum :: Num a0 => Arg a a0 -> a0 Source #

product :: Num a0 => Arg a a0 -> a0 Source #

Foldable ( Proxy :: Type -> Type )

Since: base-4.7.0.0

Instance details

Defined in Data.Foldable

Foldable ( Map k)

Folds in order of increasing key.

Instance details

Defined in Data.Map.Internal

Methods

fold :: Monoid m => Map k m -> m Source #

foldMap :: Monoid m => (a -> m) -> Map k a -> m Source #

foldMap' :: Monoid m => (a -> m) -> Map k a -> m Source #

foldr :: (a -> b -> b) -> b -> Map k a -> b Source #

foldr' :: (a -> b -> b) -> b -> Map k a -> b Source #

foldl :: (b -> a -> b) -> b -> Map k a -> b Source #

foldl' :: (b -> a -> b) -> b -> Map k a -> b Source #

foldr1 :: (a -> a -> a) -> Map k a -> a Source #

foldl1 :: (a -> a -> a) -> Map k a -> a Source #

toList :: Map k a -> [a] Source #

null :: Map k a -> Bool Source #

length :: Map k a -> Int Source #

elem :: Eq a => a -> Map k a -> Bool Source #

maximum :: Ord a => Map k a -> a Source #

minimum :: Ord a => Map k a -> a Source #

sum :: Num a => Map k a -> a Source #

product :: Num a => Map k a -> a Source #

Foldable f => Foldable ( ListT f)
Instance details

Defined in Control.Monad.Trans.List

Foldable f => Foldable ( MaybeT f)
Instance details

Defined in Control.Monad.Trans.Maybe

Foldable f => Foldable ( Rec1 f)

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Foldable ( Const m :: Type -> Type )

Since: base-4.7.0.0

Instance details

Defined in Data.Functor.Const

Foldable f => Foldable ( Ap f)

Since: base-4.12.0.0

Instance details

Defined in Data.Foldable

Methods

fold :: Monoid m => Ap f m -> m Source #

foldMap :: Monoid m => (a -> m) -> Ap f a -> m Source #

foldMap' :: Monoid m => (a -> m) -> Ap f a -> m Source #

foldr :: (a -> b -> b) -> b -> Ap f a -> b Source #

foldr' :: (a -> b -> b) -> b -> Ap f a -> b Source #

foldl :: (b -> a -> b) -> b -> Ap f a -> b Source #

foldl' :: (b -> a -> b) -> b -> Ap f a -> b Source #

foldr1 :: (a -> a -> a) -> Ap f a -> a Source #

foldl1 :: (a -> a -> a) -> Ap f a -> a Source #

toList :: Ap f a -> [a] Source #

null :: Ap f a -> Bool Source #

length :: Ap f a -> Int Source #

elem :: Eq a => a -> Ap f a -> Bool Source #

maximum :: Ord a => Ap f a -> a Source #

minimum :: Ord a => Ap f a -> a Source #

sum :: Num a => Ap f a -> a Source #

product :: Num a => Ap f a -> a Source #

Foldable f => Foldable ( Alt f)

Since: base-4.12.0.0

Instance details

Defined in Data.Foldable

Methods

fold :: Monoid m => Alt f m -> m Source #

foldMap :: Monoid m => (a -> m) -> Alt f a -> m Source #

foldMap' :: Monoid m => (a -> m) -> Alt f a -> m Source #

foldr :: (a -> b -> b) -> b -> Alt f a -> b Source #

foldr' :: (a -> b -> b) -> b -> Alt f a -> b Source #

foldl :: (b -> a -> b) -> b -> Alt f a -> b Source #

foldl' :: (b -> a -> b) -> b -> Alt f a -> b Source #

foldr1 :: (a -> a -> a) -> Alt f a -> a Source #

foldl1 :: (a -> a -> a) -> Alt f a -> a Source #

toList :: Alt f a -> [a] Source #

null :: Alt f a -> Bool Source #

length :: Alt f a -> Int Source #

elem :: Eq a => a -> Alt f a -> Bool Source #

maximum :: Ord a => Alt f a -> a Source #

minimum :: Ord a => Alt f a -> a Source #

sum :: Num a => Alt f a -> a Source #

product :: Num a => Alt f a -> a Source #

Foldable f => Foldable ( IdentityT f)
Instance details

Defined in Control.Monad.Trans.Identity

Foldable f => Foldable ( ErrorT e f)
Instance details

Defined in Control.Monad.Trans.Error

Methods

fold :: Monoid m => ErrorT e f m -> m Source #

foldMap :: Monoid m => (a -> m) -> ErrorT e f a -> m Source #

foldMap' :: Monoid m => (a -> m) -> ErrorT e f a -> m Source #

foldr :: (a -> b -> b) -> b -> ErrorT e f a -> b Source #

foldr' :: (a -> b -> b) -> b -> ErrorT e f a -> b Source #

foldl :: (b -> a -> b) -> b -> ErrorT e f a -> b Source #

foldl' :: (b -> a -> b) -> b -> ErrorT e f a -> b Source #

foldr1 :: (a -> a -> a) -> ErrorT e f a -> a Source #

foldl1 :: (a -> a -> a) -> ErrorT e f a -> a Source #

toList :: ErrorT e f a -> [a] Source #

null :: ErrorT e f a -> Bool Source #

length :: ErrorT e f a -> Int Source #

elem :: Eq a => a -> ErrorT e f a -> Bool Source #

maximum :: Ord a => ErrorT e f a -> a Source #

minimum :: Ord a => ErrorT e f a -> a Source #

sum :: Num a => ErrorT e f a -> a Source #

product :: Num a => ErrorT e f a -> a Source #

Foldable f => Foldable ( ExceptT e f)
Instance details

Defined in Control.Monad.Trans.Except

Foldable f => Foldable ( WriterT w f)
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

Foldable f => Foldable ( WriterT w f)
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Foldable ( CondBranch v c) Source #
Instance details

Defined in Distribution.Types.CondTree

Foldable ( CondTree v c) Source #
Instance details

Defined in Distribution.Types.CondTree

Foldable ( K1 i c :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Methods

fold :: Monoid m => K1 i c m -> m Source #

foldMap :: Monoid m => (a -> m) -> K1 i c a -> m Source #

foldMap' :: Monoid m => (a -> m) -> K1 i c a -> m Source #

foldr :: (a -> b -> b) -> b -> K1 i c a -> b Source #

foldr' :: (a -> b -> b) -> b -> K1 i c a -> b Source #

foldl :: (b -> a -> b) -> b -> K1 i c a -> b Source #

foldl' :: (b -> a -> b) -> b -> K1 i c a -> b Source #

foldr1 :: (a -> a -> a) -> K1 i c a -> a Source #

foldl1 :: (a -> a -> a) -> K1 i c a -> a Source #

toList :: K1 i c a -> [a] Source #

null :: K1 i c a -> Bool Source #

length :: K1 i c a -> Int Source #

elem :: Eq a => a -> K1 i c a -> Bool Source #

maximum :: Ord a => K1 i c a -> a Source #

minimum :: Ord a => K1 i c a -> a Source #

sum :: Num a => K1 i c a -> a Source #

product :: Num a => K1 i c a -> a Source #

( Foldable f, Foldable g) => Foldable (f :+: g)

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Methods

fold :: Monoid m => (f :+: g) m -> m Source #

foldMap :: Monoid m => (a -> m) -> (f :+: g) a -> m Source #

foldMap' :: Monoid m => (a -> m) -> (f :+: g) a -> m Source #

foldr :: (a -> b -> b) -> b -> (f :+: g) a -> b Source #

foldr' :: (a -> b -> b) -> b -> (f :+: g) a -> b Source #

foldl :: (b -> a -> b) -> b -> (f :+: g) a -> b Source #

foldl' :: (b -> a -> b) -> b -> (f :+: g) a -> b Source #

foldr1 :: (a -> a -> a) -> (f :+: g) a -> a Source #

foldl1 :: (a -> a -> a) -> (f :+: g) a -> a Source #

toList :: (f :+: g) a -> [a] Source #

null :: (f :+: g) a -> Bool Source #

length :: (f :+: g) a -> Int Source #

elem :: Eq a => a -> (f :+: g) a -> Bool Source #

maximum :: Ord a => (f :+: g) a -> a Source #

minimum :: Ord a => (f :+: g) a -> a Source #

sum :: Num a => (f :+: g) a -> a Source #

product :: Num a => (f :+: g) a -> a Source #

( Foldable f, Foldable g) => Foldable (f :*: g)

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Methods

fold :: Monoid m => (f :*: g) m -> m Source #

foldMap :: Monoid m => (a -> m) -> (f :*: g) a -> m Source #

foldMap' :: Monoid m => (a -> m) -> (f :*: g) a -> m Source #

foldr :: (a -> b -> b) -> b -> (f :*: g) a -> b Source #

foldr' :: (a -> b -> b) -> b -> (f :*: g) a -> b Source #

foldl :: (b -> a -> b) -> b -> (f :*: g) a -> b Source #

foldl' :: (b -> a -> b) -> b -> (f :*: g) a -> b Source #

foldr1 :: (a -> a -> a) -> (f :*: g) a -> a Source #

foldl1 :: (a -> a -> a) -> (f :*: g) a -> a Source #

toList :: (f :*: g) a -> [a] Source #

null :: (f :*: g) a -> Bool Source #

length :: (f :*: g) a -> Int Source #

elem :: Eq a => a -> (f :*: g) a -> Bool Source #

maximum :: Ord a => (f :*: g) a -> a Source #

minimum :: Ord a => (f :*: g) a -> a Source #

sum :: Num a => (f :*: g) a -> a Source #

product :: Num a => (f :*: g) a -> a Source #

( Foldable f, Foldable g) => Foldable ( Product f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

( Foldable f, Foldable g) => Foldable ( Sum f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Sum

Methods

fold :: Monoid m => Sum f g m -> m Source #

foldMap :: Monoid m => (a -> m) -> Sum f g a -> m Source #

foldMap' :: Monoid m => (a -> m) -> Sum f g a -> m Source #

foldr :: (a -> b -> b) -> b -> Sum f g a -> b Source #

foldr' :: (a -> b -> b) -> b -> Sum f g a -> b Source #

foldl :: (b -> a -> b) -> b -> Sum f g a -> b Source #

foldl' :: (b -> a -> b) -> b -> Sum f g a -> b Source #

foldr1 :: (a -> a -> a) -> Sum f g a -> a Source #

foldl1 :: (a -> a -> a) -> Sum f g a -> a Source #

toList :: Sum f g a -> [a] Source #

null :: Sum f g a -> Bool Source #

length :: Sum f g a -> Int Source #

elem :: Eq a => a -> Sum f g a -> Bool Source #

maximum :: Ord a => Sum f g a -> a Source #

minimum :: Ord a => Sum f g a -> a Source #

sum :: Num a => Sum f g a -> a Source #

product :: Num a => Sum f g a -> a Source #

Foldable f => Foldable ( M1 i c f)

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Methods

fold :: Monoid m => M1 i c f m -> m Source #

foldMap :: Monoid m => (a -> m) -> M1 i c f a -> m Source #

foldMap' :: Monoid m => (a -> m) -> M1 i c f a -> m Source #

foldr :: (a -> b -> b) -> b -> M1 i c f a -> b Source #

foldr' :: (a -> b -> b) -> b -> M1 i c f a -> b Source #

foldl :: (b -> a -> b) -> b -> M1 i c f a -> b Source #

foldl' :: (b -> a -> b) -> b -> M1 i c f a -> b Source #

foldr1 :: (a -> a -> a) -> M1 i c f a -> a Source #

foldl1 :: (a -> a -> a) -> M1 i c f a -> a Source #

toList :: M1 i c f a -> [a] Source #

null :: M1 i c f a -> Bool Source #

length :: M1 i c f a -> Int Source #

elem :: Eq a => a -> M1 i c f a -> Bool Source #

maximum :: Ord a => M1 i c f a -> a Source #

minimum :: Ord a => M1 i c f a -> a Source #

sum :: Num a => M1 i c f a -> a Source #

product :: Num a => M1 i c f a -> a Source #

( Foldable f, Foldable g) => Foldable (f :.: g)

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Methods

fold :: Monoid m => (f :.: g) m -> m Source #

foldMap :: Monoid m => (a -> m) -> (f :.: g) a -> m Source #

foldMap' :: Monoid m => (a -> m) -> (f :.: g) a -> m Source #

foldr :: (a -> b -> b) -> b -> (f :.: g) a -> b Source #

foldr' :: (a -> b -> b) -> b -> (f :.: g) a -> b Source #

foldl :: (b -> a -> b) -> b -> (f :.: g) a -> b Source #

foldl' :: (b -> a -> b) -> b -> (f :.: g) a -> b Source #

foldr1 :: (a -> a -> a) -> (f :.: g) a -> a Source #

foldl1 :: (a -> a -> a) -> (f :.: g) a -> a Source #

toList :: (f :.: g) a -> [a] Source #

null :: (f :.: g) a -> Bool Source #

length :: (f :.: g) a -> Int Source #

elem :: Eq a => a -> (f :.: g) a -> Bool Source #

maximum :: Ord a => (f :.: g) a -> a Source #

minimum :: Ord a => (f :.: g) a -> a Source #

sum :: Num a => (f :.: g) a -> a Source #

product :: Num a => (f :.: g) a -> a Source #

( Foldable f, Foldable g) => Foldable ( Compose f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Compose

foldMap :: ( Foldable t, Monoid m) => (a -> m) -> t a -> m Source #

Map each element of the structure to a monoid, and combine the results.

foldr :: Foldable t => (a -> b -> b) -> b -> t a -> b Source #

Right-associative fold of a structure.

In the case of lists, foldr , when applied to a binary operator, a starting value (typically the right-identity of the operator), and a list, reduces the list using the binary operator, from right to left:

foldr f z [x1, x2, ..., xn] == x1 `f` (x2 `f` ... (xn `f` z)...)

Note that, since the head of the resulting expression is produced by an application of the operator to the first element of the list, foldr can produce a terminating expression from an infinite list.

For a general Foldable structure this should be semantically identical to,

foldr f z = foldr f z . toList

null :: Foldable t => t a -> Bool Source #

Test whether the structure is empty. The default implementation is optimized for structures that are similar to cons-lists, because there is no general way to do better.

Since: base-4.8.0.0

length :: Foldable t => t a -> Int Source #

Returns the size/length of a finite structure as an Int . The default implementation is optimized for structures that are similar to cons-lists, because there is no general way to do better.

Since: base-4.8.0.0

find :: Foldable t => (a -> Bool ) -> t a -> Maybe a Source #

The find function takes a predicate and a structure and returns the leftmost element of the structure matching the predicate, or Nothing if there is no such element.

foldl' :: Foldable t => (b -> a -> b) -> b -> t a -> b Source #

Left-associative fold of a structure but with strict application of the operator.

This ensures that each step of the fold is forced to weak head normal form before being applied, avoiding the collection of thunks that would otherwise occur. This is often what you want to strictly reduce a finite list to a single, monolithic result (e.g. length ).

For a general Foldable structure this should be semantically identical to,

foldl' f z = foldl' f z . toList

Since: base-4.6.0.0

traverse_ :: ( Foldable t, Applicative f) => (a -> f b) -> t a -> f () Source #

Map each element of a structure to an action, evaluate these actions from left to right, and ignore the results. For a version that doesn't ignore the results see traverse .

for_ :: ( Foldable t, Applicative f) => t a -> (a -> f b) -> f () Source #

for_ is traverse_ with its arguments flipped. For a version that doesn't ignore the results see for .

>>> for_ [1..4] print
1
2
3
4

any :: Foldable t => (a -> Bool ) -> t a -> Bool Source #

Determines whether any element of the structure satisfies the predicate.

all :: Foldable t => (a -> Bool ) -> t a -> Bool Source #

Determines whether all elements of the structure satisfy the predicate.

toList :: Foldable t => t a -> [a] Source #

List of elements of a structure, from left to right.

Since: base-4.8.0.0

Data.Traversable

class ( Functor t, Foldable t) => Traversable (t :: Type -> Type ) Source #

Functors representing data structures that can be traversed from left to right.

A definition of traverse must satisfy the following laws:

Naturality
t . traverse f = traverse (t . f) for every applicative transformation t
Identity
traverse Identity = Identity
Composition
traverse ( Compose . fmap g . f) = Compose . fmap ( traverse g) . traverse f

A definition of sequenceA must satisfy the following laws:

Naturality
t . sequenceA = sequenceA . fmap t for every applicative transformation t
Identity
sequenceA . fmap Identity = Identity
Composition
sequenceA . fmap Compose = Compose . fmap sequenceA . sequenceA

where an applicative transformation is a function

t :: (Applicative f, Applicative g) => f a -> g a

preserving the Applicative operations, i.e.

t (pure x) = pure x
t (f <*> x) = t f <*> t x

and the identity functor Identity and composition functors Compose are from Data.Functor.Identity and Data.Functor.Compose .

A result of the naturality law is a purity law for traverse

traverse pure = pure

(The naturality law is implied by parametricity and thus so is the purity law [1, p15].)

Instances are similar to Functor , e.g. given a data type

data Tree a = Empty | Leaf a | Node (Tree a) a (Tree a)

a suitable instance would be

instance Traversable Tree where
   traverse f Empty = pure Empty
   traverse f (Leaf x) = Leaf <$> f x
   traverse f (Node l k r) = Node <$> traverse f l <*> f k <*> traverse f r

This is suitable even for abstract types, as the laws for <*> imply a form of associativity.

The superclass instances should satisfy the following:

References: [1] The Essence of the Iterator Pattern, Jeremy Gibbons and Bruno C. d. S. Oliveira

Minimal complete definition

traverse | sequenceA

Instances

Instances details
Traversable []

Since: base-2.1

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f => (a -> f b) -> [a] -> f [b] Source #

sequenceA :: Applicative f => [f a] -> f [a] Source #

mapM :: Monad m => (a -> m b) -> [a] -> m [b] Source #

sequence :: Monad m => [m a] -> m [a] Source #

Traversable Maybe

Since: base-2.1

Instance details

Defined in Data.Traversable

Traversable Par1

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Traversable Complex

Since: base-4.9.0.0

Instance details

Defined in Data.Complex

Traversable Min

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Traversable Max

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Traversable First

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Traversable Last

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Traversable Option

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Traversable ZipList

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Traversable Identity

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Traversable First

Since: base-4.8.0.0

Instance details

Defined in Data.Traversable

Traversable Last

Since: base-4.8.0.0

Instance details

Defined in Data.Traversable

Traversable Dual

Since: base-4.8.0.0

Instance details

Defined in Data.Traversable

Traversable Sum

Since: base-4.8.0.0

Instance details

Defined in Data.Traversable

Traversable Product

Since: base-4.8.0.0

Instance details

Defined in Data.Traversable

Traversable Down

Since: base-4.12.0.0

Instance details

Defined in Data.Traversable

Traversable NonEmpty

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Traversable IntMap

Traverses in order of increasing key.

Instance details

Defined in Data.IntMap.Internal

Traversable SCC

Since: containers-0.5.9

Instance details

Defined in Data.Graph

Traversable Tree
Instance details

Defined in Data.Tree

Traversable Seq
Instance details

Defined in Data.Sequence.Internal

Traversable FingerTree
Instance details

Defined in Data.Sequence.Internal

Traversable Digit
Instance details

Defined in Data.Sequence.Internal

Traversable Node
Instance details

Defined in Data.Sequence.Internal

Traversable Elem
Instance details

Defined in Data.Sequence.Internal

Traversable ViewL
Instance details

Defined in Data.Sequence.Internal

Traversable ViewR
Instance details

Defined in Data.Sequence.Internal

Traversable Condition Source #
Instance details

Defined in Distribution.Types.Condition

Traversable Name Source #
Instance details

Defined in Distribution.Fields.Field

Traversable SectionArg Source #
Instance details

Defined in Distribution.Fields.Field

Traversable FieldLine Source #
Instance details

Defined in Distribution.Fields.Field

Traversable Field Source #
Instance details

Defined in Distribution.Fields.Field

Traversable VersionRangeF Source #
Instance details

Defined in Distribution.Types.VersionRange.Internal

Traversable PrettyField Source #
Instance details

Defined in Distribution.Fields.Pretty

Traversable ( Either a)

Since: base-4.7.0.0

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f => (a0 -> f b) -> Either a a0 -> f ( Either a b) Source #

sequenceA :: Applicative f => Either a (f a0) -> f ( Either a a0) Source #

mapM :: Monad m => (a0 -> m b) -> Either a a0 -> m ( Either a b) Source #

sequence :: Monad m => Either a (m a0) -> m ( Either a a0) Source #

Traversable ( V1 :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Traversable ( U1 :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Traversable ( UAddr :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Traversable ( UChar :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Traversable ( UDouble :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Traversable ( UFloat :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Traversable ( UInt :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Traversable ( UWord :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Traversable ( (,) a)

Since: base-4.7.0.0

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f => (a0 -> f b) -> (a, a0) -> f (a, b) Source #

sequenceA :: Applicative f => (a, f a0) -> f (a, a0) Source #

mapM :: Monad m => (a0 -> m b) -> (a, a0) -> m (a, b) Source #

sequence :: Monad m => (a, m a0) -> m (a, a0) Source #

Ix i => Traversable ( Array i)

Since: base-2.1

Instance details

Defined in Data.Traversable

Traversable ( Arg a)

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

traverse :: Applicative f => (a0 -> f b) -> Arg a a0 -> f ( Arg a b) Source #

sequenceA :: Applicative f => Arg a (f a0) -> f ( Arg a a0) Source #

mapM :: Monad m => (a0 -> m b) -> Arg a a0 -> m ( Arg a b) Source #

sequence :: Monad m => Arg a (m a0) -> m ( Arg a a0) Source #

Traversable ( Proxy :: Type -> Type )

Since: base-4.7.0.0

Instance details

Defined in Data.Traversable

Traversable ( Map k)

Traverses in order of increasing key.

Instance details

Defined in Data.Map.Internal

Methods

traverse :: Applicative f => (a -> f b) -> Map k a -> f ( Map k b) Source #

sequenceA :: Applicative f => Map k (f a) -> f ( Map k a) Source #

mapM :: Monad m => (a -> m b) -> Map k a -> m ( Map k b) Source #

sequence :: Monad m => Map k (m a) -> m ( Map k a) Source #

Traversable f => Traversable ( ListT f)
Instance details

Defined in Control.Monad.Trans.List

Methods

traverse :: Applicative f0 => (a -> f0 b) -> ListT f a -> f0 ( ListT f b) Source #

sequenceA :: Applicative f0 => ListT f (f0 a) -> f0 ( ListT f a) Source #

mapM :: Monad m => (a -> m b) -> ListT f a -> m ( ListT f b) Source #

sequence :: Monad m => ListT f (m a) -> m ( ListT f a) Source #

Traversable f => Traversable ( MaybeT f)
Instance details

Defined in Control.Monad.Trans.Maybe

Traversable f => Traversable ( Rec1 f)

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f0 => (a -> f0 b) -> Rec1 f a -> f0 ( Rec1 f b) Source #

sequenceA :: Applicative f0 => Rec1 f (f0 a) -> f0 ( Rec1 f a) Source #

mapM :: Monad m => (a -> m b) -> Rec1 f a -> m ( Rec1 f b) Source #

sequence :: Monad m => Rec1 f (m a) -> m ( Rec1 f a) Source #

Traversable ( Const m :: Type -> Type )

Since: base-4.7.0.0

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f => (a -> f b) -> Const m a -> f ( Const m b) Source #

sequenceA :: Applicative f => Const m (f a) -> f ( Const m a) Source #

mapM :: Monad m0 => (a -> m0 b) -> Const m a -> m0 ( Const m b) Source #

sequence :: Monad m0 => Const m (m0 a) -> m0 ( Const m a) Source #

Traversable f => Traversable ( Ap f)

Since: base-4.12.0.0

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f0 => (a -> f0 b) -> Ap f a -> f0 ( Ap f b) Source #

sequenceA :: Applicative f0 => Ap f (f0 a) -> f0 ( Ap f a) Source #

mapM :: Monad m => (a -> m b) -> Ap f a -> m ( Ap f b) Source #

sequence :: Monad m => Ap f (m a) -> m ( Ap f a) Source #

Traversable f => Traversable ( Alt f)

Since: base-4.12.0.0

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f0 => (a -> f0 b) -> Alt f a -> f0 ( Alt f b) Source #

sequenceA :: Applicative f0 => Alt f (f0 a) -> f0 ( Alt f a) Source #

mapM :: Monad m => (a -> m b) -> Alt f a -> m ( Alt f b) Source #

sequence :: Monad m => Alt f (m a) -> m ( Alt f a) Source #

Traversable f => Traversable ( IdentityT f)
Instance details

Defined in Control.Monad.Trans.Identity

Traversable f => Traversable ( ErrorT e f)
Instance details

Defined in Control.Monad.Trans.Error

Methods

traverse :: Applicative f0 => (a -> f0 b) -> ErrorT e f a -> f0 ( ErrorT e f b) Source #

sequenceA :: Applicative f0 => ErrorT e f (f0 a) -> f0 ( ErrorT e f a) Source #

mapM :: Monad m => (a -> m b) -> ErrorT e f a -> m ( ErrorT e f b) Source #

sequence :: Monad m => ErrorT e f (m a) -> m ( ErrorT e f a) Source #

Traversable f => Traversable ( ExceptT e f)
Instance details

Defined in Control.Monad.Trans.Except

Methods

traverse :: Applicative f0 => (a -> f0 b) -> ExceptT e f a -> f0 ( ExceptT e f b) Source #

sequenceA :: Applicative f0 => ExceptT e f (f0 a) -> f0 ( ExceptT e f a) Source #

mapM :: Monad m => (a -> m b) -> ExceptT e f a -> m ( ExceptT e f b) Source #

sequence :: Monad m => ExceptT e f (m a) -> m ( ExceptT e f a) Source #

Traversable f => Traversable ( WriterT w f)
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

Methods

traverse :: Applicative f0 => (a -> f0 b) -> WriterT w f a -> f0 ( WriterT w f b) Source #

sequenceA :: Applicative f0 => WriterT w f (f0 a) -> f0 ( WriterT w f a) Source #

mapM :: Monad m => (a -> m b) -> WriterT w f a -> m ( WriterT w f b) Source #

sequence :: Monad m => WriterT w f (m a) -> m ( WriterT w f a) Source #

Traversable f => Traversable ( WriterT w f)
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Methods

traverse :: Applicative f0 => (a -> f0 b) -> WriterT w f a -> f0 ( WriterT w f b) Source #

sequenceA :: Applicative f0 => WriterT w f (f0 a) -> f0 ( WriterT w f a) Source #

mapM :: Monad m => (a -> m b) -> WriterT w f a -> m ( WriterT w f b) Source #

sequence :: Monad m => WriterT w f (m a) -> m ( WriterT w f a) Source #

Traversable ( CondBranch v c) Source #
Instance details

Defined in Distribution.Types.CondTree

Traversable ( CondTree v c) Source #
Instance details

Defined in Distribution.Types.CondTree

Traversable ( K1 i c :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f => (a -> f b) -> K1 i c a -> f ( K1 i c b) Source #

sequenceA :: Applicative f => K1 i c (f a) -> f ( K1 i c a) Source #

mapM :: Monad m => (a -> m b) -> K1 i c a -> m ( K1 i c b) Source #

sequence :: Monad m => K1 i c (m a) -> m ( K1 i c a) Source #

( Traversable f, Traversable g) => Traversable (f :+: g)

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f0 => (a -> f0 b) -> (f :+: g) a -> f0 ((f :+: g) b) Source #

sequenceA :: Applicative f0 => (f :+: g) (f0 a) -> f0 ((f :+: g) a) Source #

mapM :: Monad m => (a -> m b) -> (f :+: g) a -> m ((f :+: g) b) Source #

sequence :: Monad m => (f :+: g) (m a) -> m ((f :+: g) a) Source #

( Traversable f, Traversable g) => Traversable (f :*: g)

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f0 => (a -> f0 b) -> (f :*: g) a -> f0 ((f :*: g) b) Source #

sequenceA :: Applicative f0 => (f :*: g) (f0 a) -> f0 ((f :*: g) a) Source #

mapM :: Monad m => (a -> m b) -> (f :*: g) a -> m ((f :*: g) b) Source #

sequence :: Monad m => (f :*: g) (m a) -> m ((f :*: g) a) Source #

( Traversable f, Traversable g) => Traversable ( Product f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

Methods

traverse :: Applicative f0 => (a -> f0 b) -> Product f g a -> f0 ( Product f g b) Source #

sequenceA :: Applicative f0 => Product f g (f0 a) -> f0 ( Product f g a) Source #

mapM :: Monad m => (a -> m b) -> Product f g a -> m ( Product f g b) Source #

sequence :: Monad m => Product f g (m a) -> m ( Product f g a) Source #

( Traversable f, Traversable g) => Traversable ( Sum f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Sum

Methods

traverse :: Applicative f0 => (a -> f0 b) -> Sum f g a -> f0 ( Sum f g b) Source #

sequenceA :: Applicative f0 => Sum f g (f0 a) -> f0 ( Sum f g a) Source #

mapM :: Monad m => (a -> m b) -> Sum f g a -> m ( Sum f g b) Source #

sequence :: Monad m => Sum f g (m a) -> m ( Sum f g a) Source #

Traversable f => Traversable ( M1 i c f)

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f0 => (a -> f0 b) -> M1 i c f a -> f0 ( M1 i c f b) Source #

sequenceA :: Applicative f0 => M1 i c f (f0 a) -> f0 ( M1 i c f a) Source #

mapM :: Monad m => (a -> m b) -> M1 i c f a -> m ( M1 i c f b) Source #

sequence :: Monad m => M1 i c f (m a) -> m ( M1 i c f a) Source #

( Traversable f, Traversable g) => Traversable (f :.: g)

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f0 => (a -> f0 b) -> (f :.: g) a -> f0 ((f :.: g) b) Source #

sequenceA :: Applicative f0 => (f :.: g) (f0 a) -> f0 ((f :.: g) a) Source #

mapM :: Monad m => (a -> m b) -> (f :.: g) a -> m ((f :.: g) b) Source #

sequence :: Monad m => (f :.: g) (m a) -> m ((f :.: g) a) Source #

( Traversable f, Traversable g) => Traversable ( Compose f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Compose

Methods

traverse :: Applicative f0 => (a -> f0 b) -> Compose f g a -> f0 ( Compose f g b) Source #

sequenceA :: Applicative f0 => Compose f g (f0 a) -> f0 ( Compose f g a) Source #

mapM :: Monad m => (a -> m b) -> Compose f g a -> m ( Compose f g b) Source #

sequence :: Monad m => Compose f g (m a) -> m ( Compose f g a) Source #

traverse :: ( Traversable t, Applicative f) => (a -> f b) -> t a -> f (t b) Source #

Map each element of a structure to an action, evaluate these actions from left to right, and collect the results. For a version that ignores the results see traverse_ .

sequenceA :: ( Traversable t, Applicative f) => t (f a) -> f (t a) Source #

Evaluate each action in the structure from left to right, and collect the results. For a version that ignores the results see sequenceA_ .

for :: ( Traversable t, Applicative f) => t a -> (a -> f b) -> f (t b) Source #

for is traverse with its arguments flipped. For a version that ignores the results see for_ .

Control.Arrow

first :: Arrow a => a b c -> a (b, d) (c, d) Source #

Send the first component of the input through the argument arrow, and copy the rest unchanged to the output.

Control.Monad

liftM :: Monad m => (a1 -> r) -> m a1 -> m r Source #

Promote a function to a monad.

liftM2 :: Monad m => (a1 -> a2 -> r) -> m a1 -> m a2 -> m r Source #

Promote a function to a monad, scanning the monadic arguments from left to right. For example,

liftM2 (+) [0,1] [0,2] = [0,2,1,3]
liftM2 (+) (Just 1) Nothing = Nothing

unless :: Applicative f => Bool -> f () -> f () Source #

The reverse of when .

when :: Applicative f => Bool -> f () -> f () Source #

Conditional execution of Applicative expressions. For example,

when debug (putStrLn "Debugging")

will output the string Debugging if the Boolean value debug is True , and otherwise do nothing.

ap :: Monad m => m (a -> b) -> m a -> m b Source #

In many situations, the liftM operations can be replaced by uses of ap , which promotes function application.

return f `ap` x1 `ap` ... `ap` xn

is equivalent to

liftMn f x1 x2 ... xn

void :: Functor f => f a -> f () Source #

void value discards or ignores the result of evaluation, such as the return value of an IO action.

Using ApplicativeDo : ' void as ' can be understood as the do expression

do as
   pure ()

with an inferred Functor constraint.

Examples

Expand

Replace the contents of a Maybe Int with unit:

>>> void Nothing
Nothing
>>> void (Just 3)
Just ()

Replace the contents of an Either Int Int with unit, resulting in an Either Int () :

>>> void (Left 8675309)
Left 8675309
>>> void (Right 8675309)
Right ()

Replace every element of a list with unit:

>>> void [1,2,3]
[(),(),()]

Replace the second element of a pair with unit:

>>> void (1,2)
(1,())

Discard the result of an IO action:

>>> mapM print [1,2]
1
2
[(),()]
>>> void $ mapM print [1,2]
1
2

foldM :: ( Foldable t, Monad m) => (b -> a -> m b) -> b -> t a -> m b Source #

The foldM function is analogous to foldl , except that its result is encapsulated in a monad. Note that foldM works from left-to-right over the list arguments. This could be an issue where ( >> ) and the `folded function' are not commutative.

foldM f a1 [x1, x2, ..., xm]

==

do
  a2 <- f a1 x1
  a3 <- f a2 x2
  ...
  f am xm

If right-to-left evaluation is required, the input list should be reversed.

Note: foldM is the same as foldlM

filterM :: Applicative m => (a -> m Bool ) -> [a] -> m [a] Source #

This generalizes the list-based filter function.

Data.Char

isSpace :: Char -> Bool Source #

Returns True for any Unicode space character, and the control characters \t , \n , \r , \f , \v .

isDigit :: Char -> Bool Source #

Selects ASCII digits, i.e. '0' .. '9' .

isUpper :: Char -> Bool Source #

Selects upper-case or title-case alphabetic Unicode characters (letters). Title case is used by a small number of letter ligatures like the single-character form of Lj .

isAlpha :: Char -> Bool Source #

Selects alphabetic Unicode characters (lower-case, upper-case and title-case letters, plus letters of caseless scripts and modifiers letters). This function is equivalent to isLetter .

isAlphaNum :: Char -> Bool Source #

Selects alphabetic or numeric Unicode characters.

Note that numeric digits outside the ASCII range, as well as numeric characters which aren't digits, are selected by this function but not by isDigit . Such characters may be part of identifiers but are not used by the printer and reader to represent numbers.

chr :: Int -> Char Source #

The toEnum method restricted to the type Char .

ord :: Char -> Int Source #

The fromEnum method restricted to the type Char .

toLower :: Char -> Char Source #

Convert a letter to the corresponding lower-case letter, if any. Any other character is returned unchanged.

toUpper :: Char -> Char Source #

Convert a letter to the corresponding upper-case letter, if any. Any other character is returned unchanged.

Data.Word & Data.Int

data Word Source #

A Word is an unsigned integral type, with the same size as Int .

Instances

Instances details
Bounded Word

Since: base-2.1

Instance details

Defined in GHC.Enum

Enum Word

Since: base-2.1

Instance details

Defined in GHC.Enum

Eq Word
Instance details

Defined in GHC.Classes

Integral Word

Since: base-2.1

Instance details

Defined in GHC.Real

Data Word

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Word -> c Word Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Word Source #

toConstr :: Word -> Constr Source #

dataTypeOf :: Word -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Word ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Word ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Word -> Word Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Word -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Word -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Word -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Word -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Word -> m Word Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word -> m Word Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word -> m Word Source #

Num Word

Since: base-2.1

Instance details

Defined in GHC.Num

Ord Word
Instance details

Defined in GHC.Classes

Read Word

Since: base-4.5.0.0

Instance details

Defined in GHC.Read

Real Word

Since: base-2.1

Instance details

Defined in GHC.Real

Show Word

Since: base-2.1

Instance details

Defined in GHC.Show

Ix Word

Since: base-4.6.0.0

Instance details

Defined in GHC.Ix

Bits Word

Since: base-2.1

Instance details

Defined in Data.Bits

FiniteBits Word

Since: base-4.6.0.0

Instance details

Defined in Data.Bits

Binary Word
Instance details

Defined in Data.Binary.Class

NFData Word
Instance details

Defined in Control.DeepSeq

Structured Word Source #
Instance details

Defined in Distribution.Utils.Structured

Lift Word
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Word
Instance details

Defined in Data.Array.Base

Generic1 ( URec Word :: k -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep1 ( URec Word ) :: k -> Type Source #

Foldable ( UWord :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Traversable ( UWord :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

MArray ( STUArray s) Word ( ST s)
Instance details

Defined in Data.Array.Base

Functor ( URec Word :: Type -> Type )

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Eq ( URec Word p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Ord ( URec Word p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Show ( URec Word p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Generic ( URec Word p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type Rep ( URec Word p) :: Type -> Type Source #

data URec Word (p :: k)

Used for marking occurrences of Word#

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

type Rep1 ( URec Word :: k -> Type )
Instance details

Defined in GHC.Generics

type Rep ( URec Word p)
Instance details

Defined in GHC.Generics

data Word8 Source #

8-bit unsigned integer type

Instances

Instances details
Bounded Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Enum Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Eq Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Integral Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Data Word8

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Word8 -> c Word8 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Word8 Source #

toConstr :: Word8 -> Constr Source #

dataTypeOf :: Word8 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Word8 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Word8 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Word8 -> Word8 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Word8 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Word8 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Word8 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Word8 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Word8 -> m Word8 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word8 -> m Word8 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word8 -> m Word8 Source #

Num Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Ord Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Read Word8

Since: base-2.1

Instance details

Defined in GHC.Read

Real Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Show Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Ix Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Bits Word8

Since: base-2.1

Instance details

Defined in GHC.Word

FiniteBits Word8

Since: base-4.6.0.0

Instance details

Defined in GHC.Word

Binary Word8
Instance details

Defined in Data.Binary.Class

NFData Word8
Instance details

Defined in Control.DeepSeq

Structured Word8 Source #
Instance details

Defined in Distribution.Utils.Structured

Lift Word8
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Word8
Instance details

Defined in Data.Array.Base

MArray ( STUArray s) Word8 ( ST s)
Instance details

Defined in Data.Array.Base

data Word16 Source #

16-bit unsigned integer type

Instances

Instances details
Bounded Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Enum Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Eq Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Integral Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Data Word16

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Word16 -> c Word16 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Word16 Source #

toConstr :: Word16 -> Constr Source #

dataTypeOf :: Word16 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Word16 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Word16 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Word16 -> Word16 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Word16 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Word16 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Word16 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Word16 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Word16 -> m Word16 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word16 -> m Word16 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word16 -> m Word16 Source #

Num Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Ord Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Read Word16

Since: base-2.1

Instance details

Defined in GHC.Read

Real Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Show Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Ix Word16

Since: base-2.1

Instance details

Defined in GHC.Word

Bits Word16

Since: base-2.1

Instance details

Defined in GHC.Word

FiniteBits Word16

Since: base-4.6.0.0

Instance details

Defined in GHC.Word

Binary Word16
Instance details

Defined in Data.Binary.Class

NFData Word16
Instance details

Defined in Control.DeepSeq

Structured Word16 Source #
Instance details

Defined in Distribution.Utils.Structured

Lift Word16
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Word16
Instance details

Defined in Data.Array.Base

MArray ( STUArray s) Word16 ( ST s)
Instance details

Defined in Data.Array.Base

data Word32 Source #

32-bit unsigned integer type

Instances

Instances details
Bounded Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Enum Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Eq Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Integral Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Data Word32

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Word32 -> c Word32 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Word32 Source #

toConstr :: Word32 -> Constr Source #

dataTypeOf :: Word32 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Word32 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Word32 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Word32 -> Word32 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Word32 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Word32 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Word32 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Word32 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Word32 -> m Word32 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word32 -> m Word32 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word32 -> m Word32 Source #

Num Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Ord Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Read Word32

Since: base-2.1

Instance details

Defined in GHC.Read

Real Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Show Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Ix Word32

Since: base-2.1

Instance details

Defined in GHC.Word

Bits Word32

Since: base-2.1

Instance details

Defined in GHC.Word

FiniteBits Word32

Since: base-4.6.0.0

Instance details

Defined in GHC.Word

Binary Word32
Instance details

Defined in Data.Binary.Class

NFData Word32
Instance details

Defined in Control.DeepSeq

Structured Word32 Source #
Instance details

Defined in Distribution.Utils.Structured

Lift Word32
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Word32
Instance details

Defined in Data.Array.Base

MArray ( STUArray s) Word32 ( ST s)
Instance details

Defined in Data.Array.Base

data Word64 Source #

64-bit unsigned integer type

Instances

Instances details
Bounded Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Enum Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Eq Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Integral Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Data Word64

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Word64 -> c Word64 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Word64 Source #

toConstr :: Word64 -> Constr Source #

dataTypeOf :: Word64 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Word64 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Word64 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Word64 -> Word64 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Word64 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Word64 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Word64 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Word64 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Word64 -> m Word64 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word64 -> m Word64 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Word64 -> m Word64 Source #

Num Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Ord Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Read Word64

Since: base-2.1

Instance details

Defined in GHC.Read

Real Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Show Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Ix Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Bits Word64

Since: base-2.1

Instance details

Defined in GHC.Word

FiniteBits Word64

Since: base-4.6.0.0

Instance details

Defined in GHC.Word

Binary Word64
Instance details

Defined in Data.Binary.Class

NFData Word64
Instance details

Defined in Control.DeepSeq

Structured Word64 Source #
Instance details

Defined in Distribution.Utils.Structured

Lift Word64
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Word64
Instance details

Defined in Data.Array.Base

MArray ( STUArray s) Word64 ( ST s)
Instance details

Defined in Data.Array.Base

data Int8 Source #

8-bit signed integer type

Instances

Instances details
Bounded Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Enum Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Eq Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Integral Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Data Int8

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Int8 -> c Int8 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Int8 Source #

toConstr :: Int8 -> Constr Source #

dataTypeOf :: Int8 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Int8 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Int8 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Int8 -> Int8 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Int8 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Int8 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Int8 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Int8 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Int8 -> m Int8 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int8 -> m Int8 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int8 -> m Int8 Source #

Num Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Ord Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Read Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Real Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Show Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Ix Int8

Since: base-2.1

Instance details

Defined in GHC.Int

Bits Int8

Since: base-2.1

Instance details

Defined in GHC.Int

FiniteBits Int8

Since: base-4.6.0.0

Instance details

Defined in GHC.Int

Binary Int8
Instance details

Defined in Data.Binary.Class

NFData Int8
Instance details

Defined in Control.DeepSeq

Structured Int8 Source #
Instance details

Defined in Distribution.Utils.Structured

Lift Int8
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Int8
Instance details

Defined in Data.Array.Base

MArray ( STUArray s) Int8 ( ST s)
Instance details

Defined in Data.Array.Base

data Int16 Source #

16-bit signed integer type

Instances

Instances details
Bounded Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Enum Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Eq Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Integral Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Data Int16

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Int16 -> c Int16 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Int16 Source #

toConstr :: Int16 -> Constr Source #

dataTypeOf :: Int16 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Int16 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Int16 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Int16 -> Int16 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Int16 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Int16 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Int16 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Int16 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Int16 -> m Int16 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int16 -> m Int16 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int16 -> m Int16 Source #

Num Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Ord Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Read Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Real Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Show Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Ix Int16

Since: base-2.1

Instance details

Defined in GHC.Int

Bits Int16

Since: base-2.1

Instance details

Defined in GHC.Int

FiniteBits Int16

Since: base-4.6.0.0

Instance details

Defined in GHC.Int

Binary Int16
Instance details

Defined in Data.Binary.Class

NFData Int16
Instance details

Defined in Control.DeepSeq

Structured Int16 Source #
Instance details

Defined in Distribution.Utils.Structured

Lift Int16
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Int16
Instance details

Defined in Data.Array.Base

MArray ( STUArray s) Int16 ( ST s)
Instance details

Defined in Data.Array.Base

data Int32 Source #

32-bit signed integer type

Instances

Instances details
Bounded Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Enum Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Eq Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Integral Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Data Int32

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Int32 -> c Int32 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Int32 Source #

toConstr :: Int32 -> Constr Source #

dataTypeOf :: Int32 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Int32 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Int32 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Int32 -> Int32 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Int32 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Int32 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Int32 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Int32 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Int32 -> m Int32 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int32 -> m Int32 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int32 -> m Int32 Source #

Num Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Ord Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Read Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Real Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Show Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Ix Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Bits Int32

Since: base-2.1

Instance details

Defined in GHC.Int

FiniteBits Int32

Since: base-4.6.0.0

Instance details

Defined in GHC.Int

Binary Int32
Instance details

Defined in Data.Binary.Class

NFData Int32
Instance details

Defined in Control.DeepSeq

Structured Int32 Source #
Instance details

Defined in Distribution.Utils.Structured

Lift Int32
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Int32
Instance details

Defined in Data.Array.Base

MArray ( STUArray s) Int32 ( ST s)
Instance details

Defined in Data.Array.Base

data Int64 Source #

64-bit signed integer type

Instances

Instances details
Bounded Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Enum Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Eq Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Integral Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Data Int64

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Int64 -> c Int64 Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Int64 Source #

toConstr :: Int64 -> Constr Source #

dataTypeOf :: Int64 -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Int64 ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Int64 ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Int64 -> Int64 Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Int64 -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Int64 -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Int64 -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Int64 -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Int64 -> m Int64 Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int64 -> m Int64 Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Int64 -> m Int64 Source #

Num Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Ord Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Read Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Real Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Show Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Ix Int64

Since: base-2.1

Instance details

Defined in GHC.Int

Bits Int64

Since: base-2.1

Instance details

Defined in GHC.Int

FiniteBits Int64

Since: base-4.6.0.0

Instance details

Defined in GHC.Int

Binary Int64
Instance details

Defined in Data.Binary.Class

NFData Int64
Instance details

Defined in Control.DeepSeq

Structured Int64 Source #
Instance details

Defined in Distribution.Utils.Structured

Lift Int64
Instance details

Defined in Language.Haskell.TH.Syntax

IArray UArray Int64
Instance details

Defined in Data.Array.Base

MArray ( STUArray s) Int64 ( ST s)
Instance details

Defined in Data.Array.Base

Text.PrettyPrint

Text.Read

readMaybe :: Read a => String -> Maybe a Source #

Parse a string using the Read instance. Succeeds if there is exactly one valid result.

>>> readMaybe "123" :: Maybe Int
Just 123
>>> readMaybe "hello" :: Maybe Int
Nothing

Since: base-4.6.0.0