Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. 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.

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

    tasty-quickcheck Test.Tasty.QuickCheck

    Provides a Function instance for types with Show and Read.

  3. 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.

  4. 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.

  5. _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
    

  6. _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
    

  7. helpShowGlobals :: PrefsMod

    optparse-applicative Options.Applicative

    Show global help information in subparser usage.

  8. prefHelpShowGlobal :: ParserPrefs -> Bool

    optparse-applicative Options.Applicative

    when displaying subparsers' usage help, show parent options under a "global options" section (default: False)

  9. prefShowHelpOnEmpty :: ParserPrefs -> Bool

    optparse-applicative Options.Applicative

    show the help text for a command or subcommand if it fails with no input (default: False)

  10. prefShowHelpOnError :: ParserPrefs -> Bool

    optparse-applicative Options.Applicative

    always show help text on parse errors (default: False)

Page 226 of many | Previous | Next