module TextShow.Data.Semigroup (
liftShowbMinPrec
, liftShowbMaxPrec
, liftShowbFirstPrec
, liftShowbLastPrec
, liftShowbWrappedMonoidPrec
, liftShowbOptionPrec
, liftShowbArgPrec2
) where
import Data.Semigroup (Min, Max, First, Last, WrappedMonoid, Option, Arg)
import Data.Text.Lazy.Builder (Builder)
import TextShow.Classes (TextShow1(..), TextShow2(..))
import TextShow.Data.Maybe ()
import TextShow.TH.Internal (deriveTextShow, deriveTextShow1, deriveTextShow2)
liftShowbMinPrec :: (Int -> a -> Builder) -> Int -> Min a -> Builder
liftShowbMinPrec sp = liftShowbPrec sp undefined
liftShowbMaxPrec :: (Int -> a -> Builder) -> Int -> Max a -> Builder
liftShowbMaxPrec sp = liftShowbPrec sp undefined
liftShowbFirstPrec :: (Int -> a -> Builder) -> Int -> First a -> Builder
liftShowbFirstPrec sp = liftShowbPrec sp undefined
liftShowbLastPrec :: (Int -> a -> Builder) -> Int -> Last a -> Builder
liftShowbLastPrec sp = liftShowbPrec sp undefined
liftShowbWrappedMonoidPrec :: (Int -> m -> Builder) -> Int -> WrappedMonoid m -> Builder
liftShowbWrappedMonoidPrec sp = liftShowbPrec sp undefined
liftShowbOptionPrec :: (Int -> a -> Builder) -> Int -> Option a -> Builder
liftShowbOptionPrec sp = liftShowbPrec sp undefined
liftShowbArgPrec2 :: (Int -> a -> Builder) -> (Int -> b -> Builder)
-> Int -> Arg a b -> Builder
liftShowbArgPrec2 sp1 sp2 = liftShowbPrec2 sp1 undefined sp2 undefined
$(deriveTextShow ''Min)
$(deriveTextShow1 ''Min)
$(deriveTextShow ''Max)
$(deriveTextShow1 ''Max)
$(deriveTextShow ''First)
$(deriveTextShow1 ''First)
$(deriveTextShow ''Last)
$(deriveTextShow1 ''Last)
$(deriveTextShow ''WrappedMonoid)
$(deriveTextShow1 ''WrappedMonoid)
$(deriveTextShow ''Option)
$(deriveTextShow1 ''Option)
$(deriveTextShow ''Arg)
$(deriveTextShow1 ''Arg)
$(deriveTextShow2 ''Arg)