Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
monoidSpec :: (Show a, Eq a, Monoid a, Typeable a, GenValid a) => Specgenvalidity-sydtest Test.Syd.Validity Standard test spec for properties of Monoid instances for valid values Example usage:
monoidSpec @[Int]
monoidSpecOnArbitrary :: (Show a, Eq a, Monoid a, Typeable a, Arbitrary a) => Specgenvalidity-sydtest Test.Syd.Validity Standard test spec for properties of Monoid instances for arbitrary values Example usage:
monoidSpecOnArbitrary @[Int]
monoidSpecOnGen :: (Show a, Eq a, Monoid a, Typeable a) => Gen a -> String -> (a -> [a]) -> Specgenvalidity-sydtest Test.Syd.Validity Standard test spec for properties of Monoid instances for values generated by a given generator (and name for that generator). Example usage:
monoidSpecOnGen (pure "a") "singleton list of 'a'"
monoidSpec :: (Show a, Eq a, Monoid a, Typeable a, GenValid a) => Specgenvalidity-sydtest Test.Syd.Validity.Monoid Standard test spec for properties of Monoid instances for valid values Example usage:
monoidSpec @[Int]
monoidSpecOnArbitrary :: (Show a, Eq a, Monoid a, Typeable a, Arbitrary a) => Specgenvalidity-sydtest Test.Syd.Validity.Monoid Standard test spec for properties of Monoid instances for arbitrary values Example usage:
monoidSpecOnArbitrary @[Int]
monoidSpecOnGen :: (Show a, Eq a, Monoid a, Typeable a) => Gen a -> String -> (a -> [a]) -> Specgenvalidity-sydtest Test.Syd.Validity.Monoid Standard test spec for properties of Monoid instances for values generated by a given generator (and name for that generator). Example usage:
monoidSpecOnGen (pure "a") "singleton list of 'a'"
-
Subclasses of Monoid A hierarchy of subclasses of Monoid together with their instances for all data structures from base, containers, and text packages.
-
Cabal-syntax Distribution.FieldGrammar Field which can be define multiple times, and the results are mappended.
-
Cabal-syntax Distribution.FieldGrammar Monoidal field. Values are combined with mappend. Note: optionalFieldAla is a monoidalField with Last monoid.
-
Cabal-syntax Distribution.FieldGrammar.Class Field which can be define multiple times, and the results are mappended.