module Text.Show.Text.Control.Applicative (showbZipListPrec) where
import Control.Applicative (ZipList)
import Data.Text.Lazy.Builder (Builder)
import Prelude hiding (Show)
import Text.Show.Text.Classes (Show(showbPrec), Show1(showbPrec1))
import Text.Show.Text.Data.List ()
import Text.Show.Text.TH.Internal (deriveShowPragmas, defaultInlineShowbPrec)
#include "inline.h"
showbZipListPrec :: Show a => Int -> ZipList a -> Builder
showbZipListPrec = showbPrec
$(deriveShowPragmas defaultInlineShowbPrec ''ZipList)
instance Show1 ZipList where
showbPrec1 = showbPrec
INLINE_INST_FUN(showbPrec1)