-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Compile-time printf -- -- Quasiquoters for printf: string, bytestring, text. @package th-printf @version 0.5.0 module Text.Printf.TH -- |
--   [s|Hello, %s! (%d people greeted)|] :: ... -> String
--   
-- -- This formatter follows the guidelines listed here, except for -- %n (store number of printed characters) for obvious reasons. -- --
--   %c     :: Char
--   %s     :: String
--   
--   %?     :: Show a => a
--   
--   %u     :: Natural
--   
--   %d, %i :: Integral i => i
--   %o     :: Integral i => i
--   %x, %X :: Integral i => i
--   
--   %a, %A :: RealFloat f => f
--   %e, %E :: RealFloat f => f
--   %f, %F :: RealFloat f => f
--   %g, %G :: RealFloat f => f
--   
--   %p     :: Ptr a
--   
s :: QuasiQuoter -- |
--   [st|Hello, %s! (%d people greeted)|] :: ... -> Text
--   
st :: QuasiQuoter -- |
--   [sb|Hello, %s! (%d people greeted)|] :: ... -> ByteString
--   
-- -- The resulting string is UTF8-encoded. sb :: QuasiQuoter -- |
--   [hp|Hello, %s! (%d people greeted)|] :: MonadIO m => Handle -> ... -> m ()
--   
-- -- Prints the produced string to the provided Handle. Like C -- printf, newline is not appended. hp :: QuasiQuoter -- |
--   [p|Hello, %s! (%d people greeted)|] :: MonadIO m => ... -> m ()
--   
-- --
--   [p|...|] arg1 arg2...
--   
-- -- is equivalent to -- --
--   [hp|...|] stdout arg1 arg2...
--   
p :: QuasiQuoter instance GHC.Show.Show Text.Printf.TH.ParseError instance GHC.Exception.Exception Text.Printf.TH.ParseError