Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. showComponentName :: ComponentName -> String

    Cabal-syntax Distribution.Types.ComponentName

    No documentation available.

  2. showFlagAssignment :: FlagAssignment -> String

    Cabal-syntax Distribution.Types.Flag

    Show flag assignment.

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

    Cabal-syntax Distribution.Types.Flag

    String representation of a flag-value pair.

  4. showLibraryName :: LibraryName -> String

    Cabal-syntax Distribution.Types.LibraryName

    No documentation available.

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

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

    hxt Text.XML.HXT.Arrow.Pickle

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

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

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

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

  8. showOptions :: [OptDescr SysConfig]

    hxt Text.XML.HXT.Arrow.XmlOptions

    debug output options

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

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

Page 81 of many | Previous | Next