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. showE0Dup :: String -> String

    end-of-exe EndOfExe2

    If executable not found, then returns empty String. Uses unsafeDupablePerformIO.

  2. showEDup :: String -> Maybe String

    end-of-exe EndOfExe2

    Similar to showE but uses unsafeDupablePerformIO, which is more efficient, but for the multiprocessor can lead to executing the IO action multiple times.

  3. showExpr :: Expr -> String

    express Data.Express

    O(n). Returns a string representation of an expression. Differently from show (:: Expr -> String) this function does not include the type in the output.

    > putStrLn $ showExpr (one -+- two)
    1 + 2
    
    > putStrLn $ showExpr $ (pp -||- true) -&&- (qq -||- false)
    (p || True) && (q || False)
    

  4. showOpExpr :: String -> Expr -> String

    express Data.Express

    O(n). Like showPrecExpr but the precedence is taken from the given operator name.

    > showOpExpr "*" (two -*- three)
    "(2 * 3)"
    
    > showOpExpr "+" (two -*- three)
    "2 * 3"
    
    To imply that the surrounding environment is a function application, use " " as the given operator.
    > showOpExpr " " (two -*- three)
    "(2 * 3)"
    

  5. showPrecExpr :: Int -> Expr -> String

    express Data.Express

    O(n). Like showExpr but allows specifying the surrounding precedence.

    > showPrecExpr 6 (one -+- two)
    "1 + 2"
    
    > showPrecExpr 7 (one -+- two)
    "(1 + 2)"
    

  6. showExpr :: Expr -> String

    express Data.Express.Core

    O(n). Returns a string representation of an expression. Differently from show (:: Expr -> String) this function does not include the type in the output.

    > putStrLn $ showExpr (one -+- two)
    1 + 2
    
    > putStrLn $ showExpr $ (pp -||- true) -&&- (qq -||- false)
    (p || True) && (q || False)
    

  7. showOpExpr :: String -> Expr -> String

    express Data.Express.Core

    O(n). Like showPrecExpr but the precedence is taken from the given operator name.

    > showOpExpr "*" (two -*- three)
    "(2 * 3)"
    
    > showOpExpr "+" (two -*- three)
    "2 * 3"
    
    To imply that the surrounding environment is a function application, use " " as the given operator.
    > showOpExpr " " (two -*- three)
    "(2 * 3)"
    

  8. showPrecExpr :: Int -> Expr -> String

    express Data.Express.Core

    O(n). Like showExpr but allows specifying the surrounding precedence.

    > showPrecExpr 6 (one -+- two)
    "1 + 2"
    
    > showPrecExpr 7 (one -+- two)
    "(1 + 2)"
    

  9. showJustName :: Name -> String

    express Data.Express.Utils.TH

    Encodes a Name as a String. This is useful when generating error messages.

    > showJustName ''Int
    "Int"
    
    > showJustName ''String
    "String"
    
    > showJustName ''Maybe
    "Maybe"
    

  10. showLinkAttr :: LinkRelation -> String -> String

    feed Text.Atom.Feed.Link

    No documentation available.

Page 120 of many | Previous | Next