Hoogle Search
Within LTS Haskell 24.10 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
showReadRoundTrip :: (Show a, Eq a, Read a, GenValid a) => Propertygenvalidity-hspec Test.Validity.Show showReadRoundTrip @Int
showReadRoundTripOnArbitrary :: (Show a, Eq a, Read a, Arbitrary a) => Propertygenvalidity-hspec Test.Validity.Show showReadRoundTripOnArbitrary @Double
showReadRoundTripOnGen :: (Show a, Eq a, Read a) => Gen a -> (a -> [a]) -> Propertygenvalidity-hspec Test.Validity.Show showReadRoundTripOnGen (abs <$> genValid :: Gen Int) (const [])
showReadSpec :: (Show a, Eq a, Read a, Typeable a, GenValid a) => Specgenvalidity-hspec Test.Validity.Show Standard test spec for properties of Show and Read instances for valid values Example usage:
showReadSpec @Int
showReadSpecOnArbitrary :: (Show a, Eq a, Read a, Typeable a, Arbitrary a) => Specgenvalidity-hspec Test.Validity.Show Standard test spec for properties of Show and Read instances for arbitrary values Example usage:
showReadSpecOnArbitrary @Double
showReadSpecOnGen :: (Show a, Eq a, Read a, Typeable a) => Gen a -> String -> (a -> [a]) -> Specgenvalidity-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 [])
showList :: Show a => [a] -> ShowShaskell-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.
showsPrec :: Show a => Int -> a -> ShowShaskell-gi-base Data.GI.Base.ShortPrelude Convert a value to a readable String. showsPrec should satisfy the law
showsPrec d x r ++ s == showsPrec d x (r ++ s)
Derived instances of Read and Show satisfy the following: That is, readsPrec parses the string produced by showsPrec, and delivers the value that showsPrec started with.showTree :: Show a => CharMap a -> Stringregex-tdfa Data.IntMap.CharMap2 No documentation available.
showTreeWith :: Show a => Bool -> Bool -> CharMap a -> Stringregex-tdfa Data.IntMap.CharMap2 No documentation available.