module Text.Show.Text.Data.Proxy (showbProxy) where
import Data.Proxy (Proxy(..))
import Data.Text.Lazy.Builder (Builder)
import Prelude hiding (Show)
import Text.Show.Text.Classes (Show(showb, showbPrec), Show1(showbPrec1))
import Text.Show.Text.TH.Internal (mkShowbPrec)
#include "inline.h"
showbProxy :: Proxy s -> Builder
showbProxy = showb
instance Show (Proxy s) where
showbPrec = $(mkShowbPrec ''Proxy)
INLINE_INST_FUN(showb)
instance Show1 Proxy where
showbPrec1 = showbPrec
INLINE_INST_FUN(showbPrec1)