Safe Haskell | None |
---|
A module with behavior as close to realistically possible to C printf, including variadic width and precision specifiers.
The only thing you don't get with this package is printing pointers (although if you really want this behavior, send a pull request).
- s :: QuasiQuoter
- st :: QuasiQuoter
- lt :: QuasiQuoter
- sb :: QuasiQuoter
- lb :: QuasiQuoter
- sP :: QuasiQuoter
- stP :: QuasiQuoter
- ltP :: QuasiQuoter
- sbP :: QuasiQuoter
- lbP :: QuasiQuoter
Documentation
A formatter that produces a String
.
>>>
[s|%s %d %.3f|] "foobar" 10 1.23456
"foobar 10 1.235"
A formatter that produces Text
. See s
.
A formatter that produces lazy Text
. See s
.
A formatter that produces ByteString
. See s
.
A formatter that produces lazy ByteString
. See s
.
A formatter that produces and prints Text
. See sP
.
A formatter that produces and prints lazy Text
. See sP
.
A formatter that produces and prints ByteString
. See sP
.
A formatter that produces and prints lazy ByteString
. See sP
.