Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. putTextToShowS :: PutText ShowS

    HUnit Test.HUnit.Text

    Accumulates persistent lines (dropping progess lines) for return by runTestText. The accumulated lines are represented by a ShowS (String -> String) function whose first argument is the string to be appended to the accumulated report lines.

  2. newtype QuickCheckShowReplay

    tasty-quickcheck Test.Tasty.QuickCheck

    If a test case fails unexpectedly, show the replay token

  3. QuickCheckShowReplay :: Bool -> QuickCheckShowReplay

    tasty-quickcheck Test.Tasty.QuickCheck

    No documentation available.

  4. coarbitraryShow :: Show a => a -> Gen b -> Gen b

    tasty-quickcheck Test.Tasty.QuickCheck

    coarbitrary helper for lazy people :-).

  5. forAllShow :: Testable prop => Gen a -> (a -> String) -> (a -> prop) -> Property

    tasty-quickcheck Test.Tasty.QuickCheck

    Like forAll, but with an explicitly given show function.

  6. forAllShrinkShow :: Testable prop => Gen a -> (a -> [a]) -> (a -> String) -> (a -> prop) -> Property

    tasty-quickcheck Test.Tasty.QuickCheck

    Like forAllShrink, but with an explicitly given show function.

  7. functionShow :: (Show a, Read a) => (a -> c) -> a :-> c

    tasty-quickcheck Test.Tasty.QuickCheck

    Provides a Function instance for types with Show and Read.

  8. propertyForAllShrinkShow :: Testable prop => Gen a -> (a -> [a]) -> (a -> [String]) -> (a -> prop) -> Property

    tasty-quickcheck Test.Tasty.QuickCheck

    Optional; used internally in order to improve shrinking. Tests a property but also quantifies over an extra value (with a custom shrink and show function). The Testable instance for functions defines propertyForAllShrinkShow in a way that improves shrinking.

  9. _Show :: (Read a, Show a) => Prism' String a

    lens Control.Lens.Combinators

    This is an improper prism for text formatting based on Read and Show. This Prism is "improper" in the sense that it normalizes the text formatting, but round tripping is idempotent given sane Read/Show instances.

    >>> _Show # 2
    "2"
    
    >>> "EQ" ^? _Show :: Maybe Ordering
    Just EQ
    
    _Showprism' show readMaybe
    

  10. _Show :: (Read a, Show a) => Prism' String a

    lens Control.Lens.Prism

    This is an improper prism for text formatting based on Read and Show. This Prism is "improper" in the sense that it normalizes the text formatting, but round tripping is idempotent given sane Read/Show instances.

    >>> _Show # 2
    "2"
    
    >>> "EQ" ^? _Show :: Maybe Ordering
    Just EQ
    
    _Showprism' show readMaybe
    

Page 225 of many | Previous | Next