Copyright | (c) 2016-2018 Rudy Matela |
---|---|
License | 3-Clause BSD (see the file LICENSE) |
Maintainer | Rudy Matela <rudy@matela.com.br> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This file is part of PercentFormat a library for printf-style string formatting.
This module provides miscellaneous utility functions.
Synopsis
- maybeRead :: Read a => String -> Maybe a
- align :: Bool -> Char -> Int -> String -> String
- rightAlign :: Char -> Int -> String -> String
- leftAlign :: Char -> Int -> String -> String
- showWithBase :: Integral a => Int -> a -> String
- applyWhen :: Bool -> (a -> a) -> a -> a
- intsToDigits :: [Int] -> String
- theLast :: Int -> [a] -> [a]
- loop :: [a] -> [a]
- none :: (a -> Bool) -> [a] -> Bool
- integerToDigits :: Integral a => Int -> a -> [Int]