hedgehog-1.0.5: Release with confidence.

Hedgehog.Internal.Prelude

Description

Mostly for compatibility across different base Prelude changes.

Synopsis

# Documentation

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

Minimal complete definition

(<>)

Methods

(<>) :: a -> a -> a infixr 6 Source #

An associative operation.

>>> [1,2,3] <> [4,5,6]
[1,2,3,4,5,6]


sconcat :: NonEmpty a -> a Source #

Reduce a non-empty list with <>

The default definition should be sufficient, but this can be overridden for efficiency.

>>> import Data.List.NonEmpty
>>> sconcat $"Hello" :| [" ", "Haskell", "!"] "Hello Haskell!"  stimes :: Integral b => b -> a -> a Source # Repeat a value n times. Given that this works on a Semigroup it is allowed to fail if you request 0 or fewer repetitions, and the default definition will do so. By making this a member of the class, idempotent semigroups and monoids can upgrade this to execute in $$\mathcal{O}(1)$$ by picking stimes = stimesIdempotent or stimes = stimesIdempotentMonoid respectively. >>> stimes 4 [1] [1,1,1,1]  #### Instances Instances details  Since: base-4.9.0.0 Instance detailsDefined in GHC.Base Methodsstimes :: Integral b => b -> Ordering -> Ordering Source # Since: base-4.9.0.0 Instance detailsDefined in GHC.Base Methods(<>) :: () -> () -> () Source #sconcat :: NonEmpty () -> () Source #stimes :: Integral b => b -> () -> () Source # Since: base-4.9.0.0 Instance detailsDefined in Data.Void Methods(<>) :: Void -> Void -> Void Source #stimes :: Integral b => b -> Void -> Void Source # Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup.Internal Methods(<>) :: All -> All -> All Source #stimes :: Integral b => b -> All -> All Source # Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup.Internal Methods(<>) :: Any -> Any -> Any Source #stimes :: Integral b => b -> Any -> Any Source # Instance detailsDefined in Data.ByteString.Short.Internal Methodsstimes :: Integral b => b -> ShortByteString -> ShortByteString Source # Instance detailsDefined in Data.ByteString.Lazy.Internal Methodsstimes :: Integral b => b -> ByteString -> ByteString Source # Instance detailsDefined in Data.ByteString.Internal Methodsstimes :: Integral b => b -> ByteString -> ByteString Source # Instance detailsDefined in Data.ByteString.Builder.Internal Methodsstimes :: Integral b => b -> Builder -> Builder Source # Since: containers-0.5.7 Instance detailsDefined in Data.IntSet.Internal Methodsstimes :: Integral b => b -> IntSet -> IntSet Source # Instance detailsDefined in Text.PrettyPrint.HughesPJ Methods(<>) :: Doc -> Doc -> Doc Source #stimes :: Integral b => b -> Doc -> Doc Source # Source # Instance detailsDefined in Hedgehog.Internal.Property Methodsstimes :: Integral b => b -> LabelName -> LabelName Source # Source # Instance detailsDefined in Hedgehog.Internal.Property Methodsstimes :: Integral b => b -> CoverCount -> CoverCount Source # Source # Instance detailsDefined in Hedgehog.Internal.Property Methodsstimes :: Integral b => b -> Cover -> Cover Source # Source # Instance detailsDefined in Hedgehog.Internal.Property Methodsstimes :: Integral b => b -> Journal -> Journal Source # Source # Instance detailsDefined in Hedgehog.Internal.Property Methodsstimes :: Integral b => b -> GroupName -> GroupName Source # Source # Instance detailsDefined in Hedgehog.Internal.Property Methodsstimes :: Integral b => b -> PropertyName -> PropertyName Source # Source # Instance detailsDefined in Hedgehog.Internal.Report Methodsstimes :: Integral b => b -> Style -> Style Source # Source # Instance detailsDefined in Hedgehog.Internal.Report Methodsstimes :: Integral b => b -> Summary -> Summary Source # Semigroup [a] Since: base-4.9.0.0 Instance detailsDefined 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 detailsDefined in GHC.Base Methods(<>) :: Maybe a -> Maybe a -> Maybe a Source #sconcat :: NonEmpty (Maybe a) -> Maybe a Source #stimes :: Integral b => b -> Maybe a -> Maybe a Source # Semigroup a => Semigroup (IO a) Since: base-4.10.0.0 Instance detailsDefined in GHC.Base Methods(<>) :: IO a -> IO a -> IO a Source #sconcat :: NonEmpty (IO a) -> IO a Source #stimes :: Integral b => b -> IO a -> IO a Source # Semigroup p => Semigroup (Par1 p) Since: base-4.12.0.0 Instance detailsDefined in GHC.Generics Methods(<>) :: Par1 p -> Par1 p -> Par1 p Source #sconcat :: NonEmpty (Par1 p) -> Par1 p Source #stimes :: Integral b => b -> Par1 p -> Par1 p Source # Only defined by async for base >= 4.9Since: async-2.1.0 Instance detailsDefined in Control.Concurrent.Async Methodsstimes :: Integral b => b -> Concurrently a -> Concurrently a Source # Ord a => Semigroup (Min a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methods(<>) :: Min a -> Min a -> Min a Source #sconcat :: NonEmpty (Min a) -> Min a Source #stimes :: Integral b => b -> Min a -> Min a Source # Ord a => Semigroup (Max a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methods(<>) :: Max a -> Max a -> Max a Source #sconcat :: NonEmpty (Max a) -> Max a Source #stimes :: Integral b => b -> Max a -> Max a Source # Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methods(<>) :: First a -> First a -> First a Source #sconcat :: NonEmpty (First a) -> First a Source #stimes :: Integral b => b -> First a -> First a Source # Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methods(<>) :: Last a -> Last a -> Last a Source #sconcat :: NonEmpty (Last a) -> Last a Source #stimes :: Integral b => b -> Last a -> Last a Source # Monoid m => Semigroup (WrappedMonoid m) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methodsstimes :: Integral b => b -> WrappedMonoid m -> WrappedMonoid m Source # Semigroup a => Semigroup (Option a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methods(<>) :: Option a -> Option a -> Option a Source #sconcat :: NonEmpty (Option a) -> Option a Source #stimes :: Integral b => b -> Option a -> Option a Source # Semigroup a => Semigroup (Identity a) Since: base-4.9.0.0 Instance detailsDefined in Data.Functor.Identity Methods(<>) :: Identity a -> Identity a -> Identity a Source #stimes :: Integral b => b -> Identity a -> Identity a Source # Since: base-4.9.0.0 Instance detailsDefined in Data.Monoid Methods(<>) :: First a -> First a -> First a Source #sconcat :: NonEmpty (First a) -> First a Source #stimes :: Integral b => b -> First a -> First a Source # Since: base-4.9.0.0 Instance detailsDefined in Data.Monoid Methods(<>) :: Last a -> Last a -> Last a Source #sconcat :: NonEmpty (Last a) -> Last a Source #stimes :: Integral b => b -> Last a -> Last a Source # Semigroup a => Semigroup (Dual a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup.Internal Methods(<>) :: Dual a -> Dual a -> Dual a Source #sconcat :: NonEmpty (Dual a) -> Dual a Source #stimes :: Integral b => b -> Dual a -> Dual a Source # Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup.Internal Methods(<>) :: Endo a -> Endo a -> Endo a Source #sconcat :: NonEmpty (Endo a) -> Endo a Source #stimes :: Integral b => b -> Endo a -> Endo a Source # Num a => Semigroup (Sum a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup.Internal Methods(<>) :: Sum a -> Sum a -> Sum a Source #sconcat :: NonEmpty (Sum a) -> Sum a Source #stimes :: Integral b => b -> Sum a -> Sum a Source # Num a => Semigroup (Product a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup.Internal Methods(<>) :: Product a -> Product a -> Product a Source #sconcat :: NonEmpty (Product a) -> Product a Source #stimes :: Integral b => b -> Product a -> Product a Source # Semigroup a => Semigroup (Down a) Since: base-4.11.0.0 Instance detailsDefined in Data.Ord Methods(<>) :: Down a -> Down a -> Down a Source #sconcat :: NonEmpty (Down a) -> Down a Source #stimes :: Integral b => b -> Down a -> Down a Source # Since: base-4.9.0.0 Instance detailsDefined in GHC.Base Methods(<>) :: NonEmpty a -> NonEmpty a -> NonEmpty a Source #stimes :: Integral b => b -> NonEmpty a -> NonEmpty a Source # Num a => Semigroup (Colour a) Instance detailsDefined in Data.Colour.Internal Methods(<>) :: Colour a -> Colour a -> Colour a Source #sconcat :: NonEmpty (Colour a) -> Colour a Source #stimes :: Integral b => b -> Colour a -> Colour a Source # Num a => Semigroup (AlphaColour a) AlphaColour forms a monoid with over and transparent. Instance detailsDefined in Data.Colour.Internal Methods(<>) :: AlphaColour a -> AlphaColour a -> AlphaColour a Source #stimes :: Integral b => b -> AlphaColour a -> AlphaColour a Source # Since: containers-0.5.7 Instance detailsDefined in Data.IntMap.Internal Methods(<>) :: IntMap a -> IntMap a -> IntMap a Source #sconcat :: NonEmpty (IntMap a) -> IntMap a Source #stimes :: Integral b => b -> IntMap a -> IntMap a Source # Semigroup (Seq a) Since: containers-0.5.7 Instance detailsDefined in Data.Sequence.Internal Methods(<>) :: Seq a -> Seq a -> Seq a Source #sconcat :: NonEmpty (Seq a) -> Seq a Source #stimes :: Integral b => b -> Seq a -> Seq a Source # Ord a => Semigroup (Set a) Since: containers-0.5.7 Instance detailsDefined in Data.Set.Internal Methods(<>) :: Set a -> Set a -> Set a Source #sconcat :: NonEmpty (Set a) -> Set a Source #stimes :: Integral b => b -> Set a -> Set a Source # Semigroup (Doc a) Instance detailsDefined in Text.PrettyPrint.Annotated.HughesPJ Methods(<>) :: Doc a -> Doc a -> Doc a Source #sconcat :: NonEmpty (Doc a) -> Doc a Source #stimes :: Integral b => b -> Doc a -> Doc a Source # Semigroup (Doc a) Instance detailsDefined in Text.PrettyPrint.Annotated.WL Methods(<>) :: Doc a -> Doc a -> Doc a Source #sconcat :: NonEmpty (Doc a) -> Doc a Source #stimes :: Integral b => b -> Doc a -> Doc a Source # Semigroup (MergeSet a) Instance detailsDefined 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 (Coverage a) Source # Instance detailsDefined in Hedgehog.Internal.Property Methods(<>) :: Coverage a -> Coverage a -> Coverage a Source #stimes :: Integral b => b -> Coverage a -> Coverage a Source # Semigroup a => Semigroup (Label a) Source # This semigroup is right biased. The name, location and percentage from the rightmost Label will be kept. This shouldn't be a problem since the library doesn't allow setting multiple classes with the same ClassifierName. Instance detailsDefined in Hedgehog.Internal.Property Methods(<>) :: Label a -> Label a -> Label a Source #sconcat :: NonEmpty (Label a) -> Label a Source #stimes :: Integral b => b -> Label a -> Label a Source # Semigroup a => Semigroup (Pos a) Source # Instance detailsDefined in Hedgehog.Internal.Discovery Methods(<>) :: Pos a -> Pos a -> Pos a Source #sconcat :: NonEmpty (Pos a) -> Pos a Source #stimes :: Integral b => b -> Pos a -> Pos a Source # Semigroup b => Semigroup (a -> b) Since: base-4.9.0.0 Instance detailsDefined 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 detailsDefined in Data.Either Methods(<>) :: Either a b -> Either a b -> Either a b Source #sconcat :: NonEmpty (Either a b) -> Either a b Source #stimes :: Integral b0 => b0 -> Either a b -> Either a b Source # Semigroup (V1 p) Since: base-4.12.0.0 Instance detailsDefined in GHC.Generics Methods(<>) :: V1 p -> V1 p -> V1 p Source #sconcat :: NonEmpty (V1 p) -> V1 p Source #stimes :: Integral b => b -> V1 p -> V1 p Source # Semigroup (U1 p) Since: base-4.12.0.0 Instance detailsDefined in GHC.Generics Methods(<>) :: U1 p -> U1 p -> U1 p Source #sconcat :: NonEmpty (U1 p) -> U1 p Source #stimes :: Integral b => b -> U1 p -> U1 p Source # (Semigroup a, Semigroup b) => Semigroup (a, b) Since: base-4.9.0.0 Instance detailsDefined 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 detailsDefined in GHC.ST Methods(<>) :: ST s a -> ST s a -> ST s a Source #sconcat :: NonEmpty (ST s a) -> ST s a Source #stimes :: Integral b => b -> ST s a -> ST s a Source # Since: base-4.9.0.0 Instance detailsDefined in Data.Proxy Methods(<>) :: Proxy s -> Proxy s -> Proxy s Source #sconcat :: NonEmpty (Proxy s) -> Proxy s Source #stimes :: Integral b => b -> Proxy s -> Proxy s Source # Ord k => Semigroup (Map k v) Instance detailsDefined in Data.Map.Internal Methods(<>) :: Map k v -> Map k v -> Map k v Source #sconcat :: NonEmpty (Map k v) -> Map k v Source #stimes :: Integral b => b -> Map k v -> Map k v Source # (MonadBaseControl IO m, Semigroup a) => Semigroup (Concurrently m a) Instance detailsDefined in Control.Concurrent.Async.Lifted Methods(<>) :: Concurrently m a -> Concurrently m a -> Concurrently m a Source #sconcat :: NonEmpty (Concurrently m a) -> Concurrently m a Source #stimes :: Integral b => b -> Concurrently m a -> Concurrently m a Source # (Monad m, Semigroup a) => Semigroup (GenT m a) Source # Instance detailsDefined in Hedgehog.Internal.Gen Methods(<>) :: GenT m a -> GenT m a -> GenT m a Source #sconcat :: NonEmpty (GenT m a) -> GenT m a Source #stimes :: Integral b => b -> GenT m a -> GenT m a Source # Semigroup (f p) => Semigroup (Rec1 f p) Since: base-4.12.0.0 Instance detailsDefined in GHC.Generics Methods(<>) :: Rec1 f p -> Rec1 f p -> Rec1 f p Source #sconcat :: NonEmpty (Rec1 f p) -> Rec1 f p Source #stimes :: Integral b => b -> Rec1 f p -> Rec1 f p Source # (Semigroup a, Semigroup b, Semigroup c) => Semigroup (a, b, c) Since: base-4.9.0.0 Instance detailsDefined 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 detailsDefined in Data.Functor.Const Methods(<>) :: Const a b -> Const a b -> Const a b Source #sconcat :: NonEmpty (Const a b) -> Const a b Source #stimes :: Integral b0 => b0 -> Const a b -> Const a b Source # (Applicative f, Semigroup a) => Semigroup (Ap f a) Since: base-4.12.0.0 Instance detailsDefined in Data.Monoid Methods(<>) :: Ap f a -> Ap f a -> Ap f a Source #sconcat :: NonEmpty (Ap f a) -> Ap f a Source #stimes :: Integral b => b -> Ap f a -> Ap f a Source # Alternative f => Semigroup (Alt f a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup.Internal Methods(<>) :: Alt f a -> Alt f a -> Alt f a Source #sconcat :: NonEmpty (Alt f a) -> Alt f a Source #stimes :: Integral b => b -> Alt f a -> Alt f a Source # Semigroup c => Semigroup (K1 i c p) Since: base-4.12.0.0 Instance detailsDefined in GHC.Generics Methods(<>) :: K1 i c p -> K1 i c p -> K1 i c p Source #sconcat :: NonEmpty (K1 i c p) -> K1 i c p Source #stimes :: Integral b => b -> K1 i c p -> K1 i c p Source # (Semigroup (f p), Semigroup (g p)) => Semigroup ((f :*: g) p) Since: base-4.12.0.0 Instance detailsDefined 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 detailsDefined 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 (f p) => Semigroup (M1 i c f p) Since: base-4.12.0.0 Instance detailsDefined 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 detailsDefined 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 detailsDefined 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 # class Monad m => MonadFail (m :: Type -> Type) 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 Minimal complete definition fail #### Instances Instances details  Since: base-4.9.0.0 Instance detailsDefined in Control.Monad.Fail Methodsfail :: String -> [a] Source # Since: base-4.9.0.0 Instance detailsDefined in Control.Monad.Fail Methods Since: base-4.9.0.0 Instance detailsDefined in Control.Monad.Fail Methodsfail :: String -> IO a Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methodsfail :: String -> Q a Source # Since: base-4.9.0.0 Instance detailsDefined in Text.ParserCombinators.ReadPrec Methods Since: base-4.9.0.0 Instance detailsDefined in Text.ParserCombinators.ReadP Methods Since: base-4.9.0.0 Instance detailsDefined in Text.ParserCombinators.ReadP Methodsfail :: String -> P a Source # MonadFail (ST s) Since: base-4.11.0.0 Instance detailsDefined in GHC.ST Methodsfail :: String -> ST s a Source # MonadFail (ST s) Since: base-4.10 Instance detailsDefined in Control.Monad.ST.Lazy.Imp Methodsfail :: String -> ST s a Source # Monad m => MonadFail (MaybeT m) Instance detailsDefined in Control.Monad.Trans.Maybe Methodsfail :: String -> MaybeT m a Source # Monad m => MonadFail (ListT m) Instance detailsDefined in Control.Monad.Trans.List Methodsfail :: String -> ListT m a Source # MonadFail m => MonadFail (ResourceT m) Since: resourcet-1.2.2 Instance detailsDefined in Control.Monad.Trans.Resource.Internal Methodsfail :: String -> ResourceT m a Source # Monad m => MonadFail (GenT m) Source # Instance detailsDefined in Hedgehog.Internal.Gen Methodsfail :: String -> GenT m a Source # Monad m => MonadFail (TestT m) Source # Instance detailsDefined in Hedgehog.Internal.Property Methodsfail :: String -> TestT m a Source # Monad m => MonadFail (PropertyT m) Source # Instance detailsDefined in Hedgehog.Internal.Property Methodsfail :: String -> PropertyT m a Source # MonadFail f => MonadFail (Ap f) Since: base-4.12.0.0 Instance detailsDefined in Data.Monoid Methodsfail :: String -> Ap f a Source # MonadFail m => MonadFail (ExceptT e m) Instance detailsDefined in Control.Monad.Trans.Except Methodsfail :: String -> ExceptT e m a Source # (Monoid w, MonadFail m) => MonadFail (WriterT w m) Instance detailsDefined in Control.Monad.Trans.Writer.Lazy Methodsfail :: String -> WriterT w m a Source # MonadFail m => MonadFail (StateT s m) Instance detailsDefined in Control.Monad.Trans.State.Lazy Methodsfail :: String -> StateT s m a Source # MonadFail m => MonadFail (ReaderT r m) Instance detailsDefined in Control.Monad.Trans.Reader Methodsfail :: String -> ReaderT r m a Source # (Monad m, Error e) => MonadFail (ErrorT e m) Instance detailsDefined in Control.Monad.Trans.Error Methodsfail :: String -> ErrorT e m a Source # MonadFail m => MonadFail (IdentityT m) Instance detailsDefined in Control.Monad.Trans.Identity Methodsfail :: String -> IdentityT m a Source # MonadFail m => MonadFail (StateT s m) Instance detailsDefined in Control.Monad.Trans.State.Strict Methodsfail :: String -> StateT s m a Source # (Monoid w, MonadFail m) => MonadFail (WriterT w m) Instance detailsDefined in Control.Monad.Trans.Writer.Strict Methodsfail :: String -> WriterT w m a Source # (Monoid w, MonadFail m) => MonadFail (AccumT w m) Instance detailsDefined in Control.Monad.Trans.Accum Methodsfail :: String -> AccumT w m a Source # MonadFail m => MonadFail (WriterT w m) Instance detailsDefined in Control.Monad.Trans.Writer.CPS Methodsfail :: String -> WriterT w m a Source # MonadFail m => MonadFail (SelectT r m) Instance detailsDefined in Control.Monad.Trans.Select Methodsfail :: String -> SelectT r m a Source # MonadFail m => MonadFail (ContT r m) Instance detailsDefined in Control.Monad.Trans.Cont Methodsfail :: String -> ContT r m a Source # (Monoid w, MonadFail m) => MonadFail (RWST r w s m) Instance detailsDefined in Control.Monad.Trans.RWS.Lazy Methodsfail :: String -> RWST r w s m a Source # (Monoid w, MonadFail m) => MonadFail (RWST r w s m) Instance detailsDefined in Control.Monad.Trans.RWS.Strict Methodsfail :: String -> RWST r w s m a Source # MonadFail m => MonadFail (RWST r w s m) Instance detailsDefined in Control.Monad.Trans.RWS.CPS Methodsfail :: String -> RWST r w s m a Source # (++) :: [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. 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. 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 is defined as the value True. It helps to make guards more readable. eg.  f x | x < 0 = ... | otherwise = ... ($) :: 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.

Methods

minBound :: a Source #

maxBound :: a Source #

#### Instances

Instances details
 Since: base-2.1 Instance detailsDefined in GHC.Enum Methods Since: base-2.1 Instance detailsDefined in GHC.Enum Methods Since: base-2.1 Instance detailsDefined in GHC.Enum Methods Since: base-2.1 Instance detailsDefined in GHC.Int Methods Since: base-2.1 Instance detailsDefined in GHC.Int Methods Since: base-2.1 Instance detailsDefined in GHC.Int Methods Since: base-2.1 Instance detailsDefined in GHC.Int Methods Since: base-2.1 Instance detailsDefined in GHC.Enum Methods Since: base-2.1 Instance detailsDefined in GHC.Enum Methods Since: base-2.1 Instance detailsDefined in GHC.Word Methods Since: base-2.1 Instance detailsDefined in GHC.Word Methods Since: base-2.1 Instance detailsDefined in GHC.Word Methods Since: base-2.1 Instance detailsDefined in GHC.Word Methods Since: base-4.10.0.0 Instance detailsDefined in GHC.Enum Methods Since: base-4.10.0.0 Instance detailsDefined in GHC.Enum Methods Bounded () Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: () Source #maxBound :: () Source # Instance detailsDefined in System.Console.ANSI.Types Methods Instance detailsDefined in System.Console.ANSI.Types Methods Instance detailsDefined in System.Console.ANSI.Types Methods Instance detailsDefined in System.Console.ANSI.Types Methods Instance detailsDefined in System.Console.ANSI.Types Methods Instance detailsDefined in System.Console.ANSI.Types Methods Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal Methods Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-2.1 Instance detailsDefined in GHC.Unicode Methods Instance detailsDefined in GHC.LanguageExtensions.Type Methods Bounded a => Bounded (Min a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methods Bounded a => Bounded (Max a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methods Bounded a => Bounded (First a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methods Bounded a => Bounded (Last a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methods Bounded m => Bounded (WrappedMonoid m) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methods Bounded a => Bounded (Identity a) Since: base-4.9.0.0 Instance detailsDefined in Data.Functor.Identity Methods Bounded a => Bounded (Dual a) Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal Methods Bounded a => Bounded (Sum a) Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal Methods Bounded a => Bounded (Product a) Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal Methods Bounded a => Bounded (Down a) Since: base-4.14.0.0 Instance detailsDefined in Data.Ord Methods (Bounded a, Bounded b) => Bounded (a, b) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b) Source #maxBound :: (a, b) Source # Bounded (Proxy t) Since: base-4.7.0.0 Instance detailsDefined in Data.Proxy Methods (Bounded a, Bounded b, Bounded c) => Bounded (a, b, c) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c) Source #maxBound :: (a, b, c) Source # Bounded a => Bounded (Const a b) Since: base-4.9.0.0 Instance detailsDefined in Data.Functor.Const MethodsminBound :: Const a b Source #maxBound :: Const a b Source # (Applicative f, Bounded a) => Bounded (Ap f a) Since: base-4.12.0.0 Instance detailsDefined in Data.Monoid MethodsminBound :: Ap f a Source #maxBound :: Ap f a Source # (Bounded a, Bounded b, Bounded c, Bounded d) => Bounded (a, b, c, d) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c, d) Source #maxBound :: (a, b, c, d) Source # (Bounded a, Bounded b, Bounded c, Bounded d, Bounded e) => Bounded (a, b, c, d, e) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (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 detailsDefined in GHC.Enum MethodsminBound :: (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 detailsDefined in GHC.Enum MethodsminBound :: (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 detailsDefined in GHC.Enum MethodsminBound :: (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 detailsDefined in GHC.Enum MethodsminBound :: (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 detailsDefined in GHC.Enum MethodsminBound :: (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 detailsDefined in GHC.Enum MethodsminBound :: (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 detailsDefined in GHC.Enum MethodsminBound :: (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 detailsDefined in GHC.Enum MethodsminBound :: (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 detailsDefined in GHC.Enum MethodsminBound :: (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 detailsDefined in GHC.Enum MethodsminBound :: (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:

• The calls succ maxBound and pred minBound should result in a runtime error.
• fromEnum and toEnum should give a runtime error if the result value is not representable in the result type. For example, toEnum 7 :: Bool is an error.
• enumFrom and enumFromThen should be defined with an implicit bound, thus:
   enumFrom     x   = enumFromTo     x maxBound
enumFromThen x y = enumFromThenTo x y bound
where
| otherwise                = minBound

Minimal complete definition

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

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
 Instance detailsDefined in GHC.Classes Methods(==) :: Bool -> Bool -> Bool Source #(/=) :: Bool -> Bool -> Bool Source # Instance detailsDefined in GHC.Classes Methods(==) :: Char -> Char -> Bool Source #(/=) :: Char -> Char -> Bool Source # 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 detailsDefined in GHC.Classes Methods 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 detailsDefined in GHC.Classes Methods Instance detailsDefined in GHC.Classes Methods(==) :: Int -> Int -> Bool Source #(/=) :: Int -> Int -> Bool Source # Since: base-2.1 Instance detailsDefined in GHC.Int Methods(==) :: Int8 -> Int8 -> Bool Source #(/=) :: Int8 -> Int8 -> Bool Source # Since: base-2.1 Instance detailsDefined in GHC.Int Methods Since: base-2.1 Instance detailsDefined in GHC.Int Methods Since: base-2.1 Instance detailsDefined in GHC.Int Methods Instance detailsDefined in GHC.Integer.Type Methods Since: base-4.8.0.0 Instance detailsDefined in GHC.Natural Methods Instance detailsDefined in GHC.Classes Methods Instance detailsDefined in GHC.Classes Methods(==) :: Word -> Word -> Bool Source #(/=) :: Word -> Word -> Bool Source # Since: base-2.1 Instance detailsDefined in GHC.Word Methods Since: base-2.1 Instance detailsDefined in GHC.Word Methods Since: base-2.1 Instance detailsDefined in GHC.Word Methods Since: base-2.1 Instance detailsDefined in GHC.Word Methods Instance detailsDefined in Data.Typeable.Internal Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Exp -> Exp -> Bool Source #(/=) :: Exp -> Exp -> Bool Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Pat -> Pat -> Bool Source #(/=) :: Pat -> Pat -> Bool Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Type -> Type -> Bool Source #(/=) :: Type -> Type -> Bool Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Dec -> Dec -> Bool Source #(/=) :: Dec -> Dec -> Bool Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Name -> Name -> Bool Source #(/=) :: Name -> Name -> Bool Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Eq () Instance detailsDefined in GHC.Classes Methods(==) :: () -> () -> Bool Source #(/=) :: () -> () -> Bool Source # Instance detailsDefined in GHC.Classes Methods Instance detailsDefined in GHC.Classes Methods Instance detailsDefined in GHC.Classes Methods Instance detailsDefined in System.Console.ANSI.Types Methods Instance detailsDefined in System.Console.ANSI.Types Methods Instance detailsDefined in System.Console.ANSI.Types Methods Instance detailsDefined in System.Console.ANSI.Types Methods Instance detailsDefined in System.Console.ANSI.Types Methods Instance detailsDefined in System.Console.ANSI.Types Methods Instance detailsDefined in System.Console.ANSI.Types Methods(==) :: SGR -> SGR -> Bool Source #(/=) :: SGR -> SGR -> Bool Source # Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Handle.Types Methods Since: base-4.2.0.0 Instance detailsDefined in GHC.Conc.Sync Methods Instance detailsDefined in Control.Concurrent.Async Methods Since: base-4.8.0.0 Instance detailsDefined in Data.Void Methods(==) :: Void -> Void -> Bool Source #(/=) :: Void -> Void -> Bool Source # Since: base-4.3.0.0 Instance detailsDefined in GHC.Exts Methods Since: base-2.1 Instance detailsDefined in Data.Version Methods Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Handle Methods Since: base-4.3.0.0 Instance detailsDefined in GHC.Conc.Sync Methods Since: base-4.3.0.0 Instance detailsDefined in GHC.Conc.Sync Methods Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Exception Methods Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Handle.Types Methods Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Handle.Types Methods Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Handle.Types Methods Since: base-4.3.0.0 Instance detailsDefined in GHC.IO Methods Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-3.0 Instance detailsDefined in GHC.Exception.Type Methods Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal Methods(==) :: All -> All -> Bool Source #(/=) :: All -> All -> Bool Source # Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal Methods(==) :: Any -> Any -> Bool Source #(/=) :: Any -> Any -> Bool Source # Since: base-4.6.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.6.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-2.1 Instance detailsDefined in GHC.Unicode Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Stack.Types Methods Instance detailsDefined in Data.ByteString.Short.Internal Methods Instance detailsDefined in Data.ByteString.Lazy.Internal Methods Instance detailsDefined in Data.ByteString.Internal Methods Instance detailsDefined in System.Console.Regions Methods Instance detailsDefined in System.Console.Regions Methods Instance detailsDefined in System.Console.Concurrent.Internal Methods Instance detailsDefined in System.Console.Concurrent.Internal Methods Instance detailsDefined in System.Console.Concurrent.Internal Methods Instance detailsDefined in Data.IntSet.Internal Methods Instance detailsDefined in GHC.LanguageExtensions.Type Methods Instance detailsDefined in GHC.ForeignSrcLang.Type Methods Instance detailsDefined in GHC.Integer.Type Methods Instance detailsDefined in Text.PrettyPrint.HughesPJ Methods(==) :: Doc -> Doc -> Bool Source #(/=) :: Doc -> Doc -> Bool Source # Instance detailsDefined in Text.PrettyPrint.Annotated.HughesPJ Methods Instance detailsDefined in Text.PrettyPrint.Annotated.HughesPJ Methods Instance detailsDefined in Text.PrettyPrint.Annotated.HughesPJ Methods(==) :: Mode -> Mode -> Bool Source #(/=) :: Mode -> Mode -> Bool Source # Instance detailsDefined in Text.Show.Value Methods Instance detailsDefined in System.Random.Internal Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Loc -> Loc -> Bool Source #(/=) :: Loc -> Loc -> Bool Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Info -> Info -> Bool Source #(/=) :: Info -> Info -> Bool Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Lit -> Lit -> Bool Source #(/=) :: Lit -> Lit -> Bool Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Body -> Body -> Bool Source #(/=) :: Body -> Body -> Bool Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Stmt -> Stmt -> Bool Source #(/=) :: Stmt -> Stmt -> Bool Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Con -> Con -> Bool Source #(/=) :: Con -> Con -> Bool Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Bang -> Bang -> Bool Source #(/=) :: Bang -> Bang -> Bool Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Role -> Role -> Bool Source #(/=) :: Role -> Role -> Bool Source # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Data.Time.LocalTime.Internal.LocalTime Methods Instance detailsDefined in Data.Time.Clock.Internal.UniversalTime Methods Instance detailsDefined in Data.Time.Clock.Internal.UTCTime Methods Instance detailsDefined in Data.Time.Clock.Internal.NominalDiffTime Methods Instance detailsDefined in Data.Time.Calendar.Days Methods(==) :: Day -> Day -> Bool Source #(/=) :: Day -> Day -> Bool Source # Source # Instance detailsDefined in Hedgehog.Internal.Config Methods Source # Instance detailsDefined in Hedgehog.Internal.Config Methods Source # Instance detailsDefined in Hedgehog.Internal.Config Methods Source # Instance detailsDefined in Hedgehog.Internal.Queue Methods Source # Instance detailsDefined in Hedgehog.Internal.Range Methods(==) :: Size -> Size -> Bool Source #(/=) :: Size -> Size -> Bool Source # Eq LineUpdate Instance detailsDefined in System.Console.Regions Methods(==) :: LineUpdate -> LineUpdate -> Bool Source #(/=) :: LineUpdate -> LineUpdate -> Bool Source # Source # Instance detailsDefined in Hedgehog.Internal.Seed Methods(==) :: Seed -> Seed -> Bool Source #(/=) :: Seed -> Seed -> Bool Source # Source # Instance detailsDefined in Hedgehog.Internal.Show Methods Source # Instance detailsDefined in Hedgehog.Internal.Show Methods Source # Instance detailsDefined in Hedgehog.Internal.Source Methods(==) :: Span -> Span -> Bool Source #(/=) :: Span -> Span -> Bool Source # Source # Instance detailsDefined in Hedgehog.Internal.Source Methods Source # Instance detailsDefined in Hedgehog.Internal.Source Methods Eq CodePoint Instance detailsDefined in Data.Text.Encoding Methods(==) :: CodePoint -> CodePoint -> Bool Source #(/=) :: CodePoint -> CodePoint -> Bool Source # Eq DecoderState Instance detailsDefined in Data.Text.Encoding Methods(==) :: DecoderState -> DecoderState -> Bool Source #(/=) :: DecoderState -> DecoderState -> Bool Source # Source # Instance detailsDefined in Hedgehog.Internal.Property Methods Source # Instance detailsDefined in Hedgehog.Internal.Property Methods Source # Instance detailsDefined in Hedgehog.Internal.Property Methods Source # Instance detailsDefined in Hedgehog.Internal.Property Methods