Safe Haskell | None |
---|---|
Language | Haskell2010 |
A lot of quasiquoters to format and interpolate string expression
- f :: QuasiQuoter
- f' :: QuasiQuoter
- fIO :: QuasiQuoter
- fString :: QuasiQuoter
- fBuilder :: QuasiQuoter
- fLazyText :: QuasiQuoter
- fStrictText :: QuasiQuoter
- runFormat :: Format r a -> (Builder -> r) -> a
- format :: Format Text a -> a
- sformat :: Format Text a -> a
- bprint :: Format Builder a -> a
- fprint :: Format (IO ()) a -> a
- hprint :: Handle -> Format (IO ()) a -> a
Documentation
f :: QuasiQuoter Source #
Returns an expression usable with Formatting.format (and similar functions)
f' :: QuasiQuoter Source #
Generic formatter, can format an expression to (lazy) Text, String, Builder and IO () depending on type inference
fIO :: QuasiQuoter Source #
Format the format string and directly print it to stdout
fString :: QuasiQuoter Source #
Format the format string as a String
fBuilder :: QuasiQuoter Source #
Format the format string as a Builder
fLazyText :: QuasiQuoter Source #
Format the format string as a Lazy Text
fStrictText :: QuasiQuoter Source #
Format the format string as a strict Text