The library provides some operations to format values of basic
data types with arbitrary flags similarly to the printf
statement of C.
These operations are used for the translation of integrated code with the format tag to replace the format specifiers.
This library follows the C specification for the formatting. This
specification may be found at
http://pubs.opengroup.org/onlinepubs/009695399/functions/fprintf.html
Author: Jasper Sikorra - jsi@informatik.uni-kiel.de
Version: October 2020
showChar
:: Char -> Maybe String -> Maybe Int -> Maybe Int -> Char -> String
The function showChar formats a character |
showInt
:: Char -> Maybe String -> Maybe Int -> Maybe Int -> Int -> String
The function showInt formats an Int |
showFloat
:: Char -> Maybe String -> Maybe Int -> Maybe Int -> Float -> String
The function showFloat formats a Float |
showString
:: Char -> Maybe String -> Maybe Int -> Maybe Int -> String -> String
The function showString formats a String |
The function showChar formats a character
|
The function showInt formats an Int
|
The function showFloat formats a Float
|
The function showString formats a String
|