Hoogle Search

Within LTS Haskell 24.18 (ghc-9.10.3)

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

  1. showReadSpec :: (Show a, Eq a, Read a, Typeable a, GenValid a) => Spec

    genvalidity-hspec Test.Validity

    Standard test spec for properties of Show and Read instances for valid values Example usage:

    showReadSpec @Int
    

  2. showReadSpecOnArbitrary :: (Show a, Eq a, Read a, Typeable a, Arbitrary a) => Spec

    genvalidity-hspec Test.Validity

    Standard test spec for properties of Show and Read instances for arbitrary values Example usage:

    showReadSpecOnArbitrary @Double
    

  3. showReadSpecOnGen :: (Show a, Eq a, Read a, Typeable a) => Gen a -> String -> (a -> [a]) -> Spec

    genvalidity-hspec Test.Validity

    Standard test spec for properties of Show and Read instances for values generated by a custom generator Example usage:

    showReadSpecOnGen ((* 2) <$> genValid @Int) "even" (const [])
    

  4. showReadRoundTrip :: (Show a, Eq a, Read a, GenValid a) => Property

    genvalidity-hspec Test.Validity.Show

    showReadRoundTrip @Int
    

  5. showReadRoundTripOnArbitrary :: (Show a, Eq a, Read a, Arbitrary a) => Property

    genvalidity-hspec Test.Validity.Show

    showReadRoundTripOnArbitrary @Double
    

  6. showReadRoundTripOnGen :: (Show a, Eq a, Read a) => Gen a -> (a -> [a]) -> Property

    genvalidity-hspec Test.Validity.Show

    showReadRoundTripOnGen (abs <$> genValid :: Gen Int) (const [])
    

  7. showReadSpec :: (Show a, Eq a, Read a, Typeable a, GenValid a) => Spec

    genvalidity-hspec Test.Validity.Show

    Standard test spec for properties of Show and Read instances for valid values Example usage:

    showReadSpec @Int
    

  8. showReadSpecOnArbitrary :: (Show a, Eq a, Read a, Typeable a, Arbitrary a) => Spec

    genvalidity-hspec Test.Validity.Show

    Standard test spec for properties of Show and Read instances for arbitrary values Example usage:

    showReadSpecOnArbitrary @Double
    

  9. showReadSpecOnGen :: (Show a, Eq a, Read a, Typeable a) => Gen a -> String -> (a -> [a]) -> Spec

    genvalidity-hspec Test.Validity.Show

    Standard test spec for properties of Show and Read instances for values generated by a custom generator Example usage:

    showReadSpecOnGen ((* 2) <$> genValid @Int) "even" (const [])
    

  10. showList :: Show a => [a] -> ShowS

    haskell-gi-base Data.GI.Base.ShortPrelude

    The method showList is provided to allow the programmer to give a specialised way of showing lists of values. For example, this is used by the predefined Show instance of the Char type, where values of type String should be shown in double quotes, rather than between square brackets.

Page 37 of many | Previous | Next