Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
hxt Text.XML.HXT.DOM.XmlKeywords No documentation available.
-
hxt Text.XML.HXT.DOM.XmlKeywords No documentation available.
-
hxt Text.XML.HXT.XMLSchema.DataTypeLibW3CNames No documentation available.
lawsCheckMany :: [(String, [Laws])] -> IO ()quickcheck-classes-base Test.QuickCheck.Classes.Base A convenience function for checking multiple typeclass instances of multiple types. Consider the following Haskell source file:
import Data.Proxy (Proxy(..)) import Data.Map (Map) import Data.Set (Set) -- A Proxy for Set Int. setInt :: Proxy (Set Int) setInt = Proxy -- A Proxy for Map Int Int. mapInt :: Proxy (Map Int Int) mapInt = Proxy myLaws :: Proxy a -> [Laws] myLaws p = [eqLaws p, monoidLaws p] namedTests :: [(String, [Laws])] namedTests = [ ("Set Int", myLaws setInt) , ("Map Int Int", myLaws mapInt) ]
Now, in GHCi:>>> lawsCheckMany namedTests
Testing properties for common typeclasses ------------- -- Set Int -- ------------- Eq: Transitive +++ OK, passed 100 tests. Eq: Symmetric +++ OK, passed 100 tests. Eq: Reflexive +++ OK, passed 100 tests. Monoid: Associative +++ OK, passed 100 tests. Monoid: Left Identity +++ OK, passed 100 tests. Monoid: Right Identity +++ OK, passed 100 tests. Monoid: Concatenation +++ OK, passed 100 tests. ----------------- -- Map Int Int -- ----------------- Eq: Transitive +++ OK, passed 100 tests. Eq: Symmetric +++ OK, passed 100 tests. Eq: Reflexive +++ OK, passed 100 tests. Monoid: Associative +++ OK, passed 100 tests. Monoid: Left Identity +++ OK, passed 100 tests. Monoid: Right Identity +++ OK, passed 100 tests. Monoid: Concatenation +++ OK, passed 100 tests.
In the case of a failing test, the program terminates with exit code 1.-
selective Control.Selective.Multi A potentially uncountable collection of tags for the same unit () payload.
Many :: forall a . a -> Many a ()selective Control.Selective.Multi No documentation available.
-
selective Control.Selective.Multi No documentation available.
matchAny :: Graph gr => gr a b -> GDecomp gr a bfgl Data.Graph.Inductive.Graph Decompose a graph into the Context for an arbitrarily-chosen Node and the remaining Graph.
matchAnyM :: GraphM m gr => m (gr a b) -> m (GDecomp gr a b)fgl Data.Graph.Inductive.Monad No documentation available.
-
ghc-boot-th GHC.LanguageExtensions.Type No documentation available.