Hoogle Search

Within LTS Haskell 24.42 (ghc-9.10.3)

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

  1. showFlagAssignment :: FlagAssignment -> String

    Cabal-syntax Distribution.Types.Flag

    Show flag assignment.

  2. showFlagValue :: (FlagName, Bool) -> String

    Cabal-syntax Distribution.Types.Flag

    String representation of a flag-value pair.

  3. showLibraryName :: LibraryName -> String

    Cabal-syntax Distribution.Types.LibraryName

    No documentation available.

  4. showMD5 :: MD5 -> String

    Cabal-syntax Distribution.Utils.MD5

    Show MD5 in human readable form

    >>> showMD5 (Fingerprint 123 456)
    "000000000000007b00000000000001c8"
    
    >>> showMD5 $ md5 $ BS.pack [0..127]
    "37eff01866ba3f538421b30b7cbefcac"
    
    @since 3.2.0.0

  5. showPickled :: XmlPickler a => SysConfigList -> a -> String

    hxt Text.XML.HXT.Arrow.Pickle

    Pickles a value, then writes the document to a string.

  6. showPickled :: XmlPickler a => SysConfigList -> a -> String

    hxt Text.XML.HXT.Arrow.Pickle.Xml

    Pickles a value, then writes the document to a string.

  7. showOptions :: [OptDescr SysConfig]

    hxt Text.XML.HXT.Arrow.XmlOptions

    debug output options

  8. showFunction :: ShowFunction a => Int -> a -> String

    leancheck Test.LeanCheck.Function.ShowFunction

    Given the number of patterns to show, shows a ShowFunction value.

    > putStrLn $ showFunction undefined True
    True
    
    > putStrLn $ showFunction 3 (id::Int->Int)
    \x -> case x of
    0 -> 0
    1 -> 1
    -1 -> -1
    ...
    
    > putStrLn $ showFunction 4 (&&)
    \x y -> case (x,y) of
    (True,True) -> True
    _ -> False
    
    In the examples above, "..." should be interpreted literally. 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
    
    See showFunctionLine for an alternative without line breaks.

  9. showFunctionLine :: ShowFunction a => Int -> a -> String

    leancheck 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
    

  10. showTiers :: Show a => Int -> [[a]] -> String

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

Page 81 of many | Previous | Next