Safe Haskell | Safe |
---|---|

Language | Haskell2010 |

- bracket1 :: (a, a) -> [a] -> [a]
- bracket :: ([a], [a]) -> [a] -> [a]
- string_pp :: String -> String
- label_pp :: String -> String
- int_pp :: Int -> String
- right_variant :: ([a] -> [b]) -> [a] -> [b]
- limit_precision_p :: PrintfArg n => Bool -> Int -> n -> String
- limit_precision_e :: (Read n, Show n) => Int -> n -> String
- limit_precision :: (Floating n, Ord n, Read n, Show n, PrintfArg n) => Bool -> Int -> n -> String

# Documentation

right_variant :: ([a] -> [b]) -> [a] -> [b] Source #

limit_precision_p :: PrintfArg n => Bool -> Int -> n -> String Source #

Limited precision PP for `n`

, no scientific notation.

map (limit_precision_p True 2) [1,1.25,1.12345,0,0.05,pi*1e8,1e9]