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.

  1. showDeriver :: Deriver

    domain Domain

    Derives Show. Requires to have the StandaloneDeriving compiler extension enabled.

  2. showE :: String -> Maybe String

    end-of-exe EndOfExe2

    Gets the proper name of the executable in the system (it must be seen in the directories in the PATH variable). Further you can adopt it to be used inside the callCommand as the name of the executable

  3. showE0 :: String -> String

    end-of-exe EndOfExe2

    If executable not found, then returns empty String.

  4. showE0Dup :: String -> String

    end-of-exe EndOfExe2

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

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

  6. 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)
    

  7. 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)"
    

  8. 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)"
    

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

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

Page 87 of many | Previous | Next