{-# LANGUAGE MagicHash #-}
{-# LANGUAGE CPP #-}
module Data.Text.Format.Functions
(
(<>)
, i2d
) where
import Data.Monoid (mappend)
import Data.Text.Lazy.Builder (Builder)
#if MIN_VERSION_base(4,11,0)
import Prelude hiding ((<>))
import GHC.Base hiding ((<>))
#else
import GHC.Base
#endif
{-# INLINE i2d #-}
i2d :: Int -> Char
i2d :: Int -> Char
i2d (I# Int#
i#) = Char# -> Char
C# (Int# -> Char#
chr# (Char# -> Int#
ord# Char#
'0'# Int# -> Int# -> Int#
+# Int#
i#))
(<>) :: Builder -> Builder -> Builder
<> :: Builder -> Builder -> Builder
(<>) = Builder -> Builder -> Builder
forall a. Monoid a => a -> a -> a
mappend
{-# INLINE (<>) #-}
infixr 4 <>