{-# LANGUAGE MagicHash #-}
module Data.Text.Internal.Builder.Functions
(
(<>)
, i2d
) where
import Data.Monoid (mappend)
import Data.Text.Lazy.Builder (Builder)
import GHC.Base
{-# INLINE i2d #-}
i2d :: Int -> Char
i2d (I# i#) = C# (chr# (ord# '0'# +# i#))
(<>) :: Builder -> Builder -> Builder
(<>) = mappend
{-# INLINE (<>) #-}
infixr 4 <>