Hoogle Search
Within LTS Haskell 24.19 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
showFunctionLine :: ShowFunction a => Int -> a -> Stringleancheck Test.LeanCheck.Function.ShowFunction Same as showFunction, but has no line breaks.
> putStrLn $ showFunctionLine 3 (id::Int->Int) \x -> case x of 0 -> 0; 1 -> 1; -1 -> -1; ... > putStrLn $ showFunctionLine 3 (&&) \x y -> case (x,y) of (True,True) -> True; _ -> False
This can be used as an implementation of show for functions:instance (Show a, Listable a, ShowFunction b) => Show (a->b) where show = showFunction 8
showTiers :: Show a => Int -> [[a]] -> Stringleancheck Test.LeanCheck.Tiers Alternative to show for tiers with one element per line. (useful for debugging, see also printTiers). This function can be useful when debugging your Listable instances.
showEncodingException :: EncodingException -> Stringos-string System.OsString.Encoding No documentation available.
showEncodingException :: EncodingException -> Stringos-string System.OsString.Encoding.Internal No documentation available.
showLaws :: (Show a, Arbitrary a) => Proxy a -> Lawsquickcheck-classes-base Test.QuickCheck.Classes.Base Tests the following properties:
showReadLaws :: (Show a, Read a, Eq a, Arbitrary a) => Proxy a -> Lawsquickcheck-classes-base Test.QuickCheck.Classes.Base Tests the following properties:
- Partial Isomorphism: show / read readMaybe (show a) ≡ Just a
- Partial Isomorphism: show / read with initial space readMaybe (" " ++ show a) ≡ Just a
- Partial Isomorphism: showsPrec / readsPrec (a,"") `elem` readsPrec p (showsPrec p a "")
- Partial Isomorphism: showList / readList (as,"") `elem` readList (showList as "")
- Partial Isomorphism: showListWith shows / readListDefault (as,"") `elem` readListDefault (showListWith shows as "")
-
dependent-map Data.Dependent.Map O(n). The expression (showTreeWith showelem hang wide map) shows the tree that implements the map. Elements are shown using the showElem function. If hang is True, a hanging tree is shown otherwise a rotated tree is shown. If wide is True, an extra wide version is shown.
showStackTrace :: IO (Maybe String)relude Relude.Base Get a string representation of the current execution stack state.
showFingerprint :: Fingerprint -> ShowSdistributed-process Control.Distributed.Process.Serializable Show fingerprint (for debugging purposes)
showSigned' :: Real a => (a -> ShowS) -> a -> ShowSfmt Fmt.Internal.Numeric No documentation available.