Hoogle Search

Within LTS Haskell 24.50 (ghc-9.10.3)

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

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

    tasty-quickcheck Test.Tasty.QuickCheck

    coarbitrary helper for lazy people :-).

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

    tasty-quickcheck Test.Tasty.QuickCheck

    Like forAll, but with an explicitly given show function.

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

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

    tasty-quickcheck Test.Tasty.QuickCheck

    Provides a Function instance for types with Show and Read.

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

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

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

  8. helpShowGlobals :: PrefsMod

    optparse-applicative Options.Applicative

    Show global help information in subparser usage.

  9. prefHelpShowGlobal :: ParserPrefs -> Bool

    optparse-applicative Options.Applicative

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

  10. prefShowHelpOnEmpty :: ParserPrefs -> Bool

    optparse-applicative Options.Applicative

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

Page 225 of many | Previous | Next