Ghcitui.Util
showT :: Show a => a -> Text Source #
show but to Text.
show
splitBy Source #
Arguments
Delimeter.
Text to split on.
Split text based on a delimiter.
linesToText :: [String] -> Text Source #
Convert Strings to Text.
clamp Source #
The minimum and maximum (inclusive)
Value to clamp
Result
getNumDigits :: Integral a => a -> Int Source #
formatDigits Source #
Number of spaces
Number to format digits of
Formatted Text
Format digits into a string with padding.