module TextShow.Functions (showbFunction) where
import Data.Text.Lazy.Builder (Builder)
import TextShow.Classes (TextShow(..), TextShow1(..), TextShow2(..))
#include "inline.h"
showbFunction :: (a -> b) -> Builder
showbFunction = showb
instance TextShow (a -> b) where
showbPrec = liftShowbPrec undefined undefined
INLINE_INST_FUN(showbPrec)
instance TextShow1 ((->) a) where
liftShowbPrec = liftShowbPrec2 undefined undefined
INLINE_INST_FUN(liftShowbPrec)
instance TextShow2 (->) where
liftShowbPrec2 _ _ _ _ _ _ = "<function>"
INLINE_INST_FUN(liftShowbPrec2)