quickcheck-groups-0.0.1.1: Testing group class instances with QuickCheck
Copyright© 2022–2023 Jonathan Knowles
LicenseApache-2.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Internal.Semigroup.Tuple

Description

 

Documentation

data BindingSet s Source #

Constructors

BindingSet 

Fields

Instances

Instances details
Arbitrary s => Arbitrary (BindingSet s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Generic (BindingSet s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Associated Types

type Rep (BindingSet s) :: Type -> Type #

Methods

from :: BindingSet s -> Rep (BindingSet s) x #

to :: Rep (BindingSet s) x -> BindingSet s #

Show s => Show (BindingSet s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Eq s => Eq (BindingSet s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Methods

(==) :: BindingSet s -> BindingSet s -> Bool #

(/=) :: BindingSet s -> BindingSet s -> Bool #

Ord s => Ord (BindingSet s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

type Rep (BindingSet s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

type Rep (BindingSet s) = D1 ('MetaData "BindingSet" "Internal.Semigroup.Tuple" "quickcheck-groups-0.0.1.1-LDXEC82JndU6yQMeMgDBQI-internal" 'False) (C1 ('MetaCons "BindingSet" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bindingForA") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 s) :*: S1 ('MetaSel ('Just "bindingForB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 s)) :*: (S1 ('MetaSel ('Just "bindingForC") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 s) :*: S1 ('MetaSel ('Just "bindingForD") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 s))))

data Tuple1 s Source #

Constructors

Tuple1 VariableSum (BindingSet s) 

Instances

Instances details
Arbitrary a => Arbitrary (Tuple1 a) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Methods

arbitrary :: Gen (Tuple1 a) #

shrink :: Tuple1 a -> [Tuple1 a] #

(Show s, Semigroup s) => Show (Tuple1 s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Methods

showsPrec :: Int -> Tuple1 s -> ShowS #

show :: Tuple1 s -> String #

showList :: [Tuple1 s] -> ShowS #

Eq s => Eq (Tuple1 s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Methods

(==) :: Tuple1 s -> Tuple1 s -> Bool #

(/=) :: Tuple1 s -> Tuple1 s -> Bool #

Ord s => Ord (Tuple1 s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Methods

compare :: Tuple1 s -> Tuple1 s -> Ordering #

(<) :: Tuple1 s -> Tuple1 s -> Bool #

(<=) :: Tuple1 s -> Tuple1 s -> Bool #

(>) :: Tuple1 s -> Tuple1 s -> Bool #

(>=) :: Tuple1 s -> Tuple1 s -> Bool #

max :: Tuple1 s -> Tuple1 s -> Tuple1 s #

min :: Tuple1 s -> Tuple1 s -> Tuple1 s #

data Tuple2 s Source #

Instances

Instances details
Arbitrary a => Arbitrary (Tuple2 a) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Methods

arbitrary :: Gen (Tuple2 a) #

shrink :: Tuple2 a -> [Tuple2 a] #

(Show s, Semigroup s) => Show (Tuple2 s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Methods

showsPrec :: Int -> Tuple2 s -> ShowS #

show :: Tuple2 s -> String #

showList :: [Tuple2 s] -> ShowS #

Eq s => Eq (Tuple2 s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Methods

(==) :: Tuple2 s -> Tuple2 s -> Bool #

(/=) :: Tuple2 s -> Tuple2 s -> Bool #

Ord s => Ord (Tuple2 s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Methods

compare :: Tuple2 s -> Tuple2 s -> Ordering #

(<) :: Tuple2 s -> Tuple2 s -> Bool #

(<=) :: Tuple2 s -> Tuple2 s -> Bool #

(>) :: Tuple2 s -> Tuple2 s -> Bool #

(>=) :: Tuple2 s -> Tuple2 s -> Bool #

max :: Tuple2 s -> Tuple2 s -> Tuple2 s #

min :: Tuple2 s -> Tuple2 s -> Tuple2 s #

data Tuple3 s Source #

Instances

Instances details
Arbitrary a => Arbitrary (Tuple3 a) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Methods

arbitrary :: Gen (Tuple3 a) #

shrink :: Tuple3 a -> [Tuple3 a] #

(Show s, Semigroup s) => Show (Tuple3 s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Methods

showsPrec :: Int -> Tuple3 s -> ShowS #

show :: Tuple3 s -> String #

showList :: [Tuple3 s] -> ShowS #

Eq s => Eq (Tuple3 s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Methods

(==) :: Tuple3 s -> Tuple3 s -> Bool #

(/=) :: Tuple3 s -> Tuple3 s -> Bool #

Ord s => Ord (Tuple3 s) Source # 
Instance details

Defined in Internal.Semigroup.Tuple

Methods

compare :: Tuple3 s -> Tuple3 s -> Ordering #

(<) :: Tuple3 s -> Tuple3 s -> Bool #

(<=) :: Tuple3 s -> Tuple3 s -> Bool #

(>) :: Tuple3 s -> Tuple3 s -> Bool #

(>=) :: Tuple3 s -> Tuple3 s -> Bool #

max :: Tuple3 s -> Tuple3 s -> Tuple3 s #

min :: Tuple3 s -> Tuple3 s -> Tuple3 s #

genTuple2 :: forall a. Arbitrary a => Gen (Tuple2 a) Source #

genTuple3 :: forall a. Arbitrary a => Gen (Tuple3 a) Source #

evalTuple2 :: Semigroup s => Tuple2 s -> (s, s) Source #

evalTuple3 :: Semigroup s => Tuple3 s -> (s, s, s) Source #

showWrap :: Show a => a -> String Source #

universe :: (Bounded a, Enum a) => [a] Source #