{-# LANGUAGE CPP #-}
#if MIN_VERSION_base(4,7,0)
{-# LANGUAGE GADTs #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
#endif
module TextShow.Data.Type.Equality () where
#if MIN_VERSION_base(4,7,0)
import Data.Type.Equality ((:~:))
# if MIN_VERSION_base(4,10,0)
import Data.Type.Equality ((:~~:))
# endif
import TextShow.Classes (TextShow1(..))
import TextShow.TH.Internal (deriveTextShow, deriveTextShow2, makeLiftShowbPrec)
$(deriveTextShow ''(:~:))
instance TextShow1 ((:~:) a) where
liftShowbPrec = $(makeLiftShowbPrec ''(:~:))
$(deriveTextShow2 ''(:~:))
# if MIN_VERSION_base(4,10,0)
$(deriveTextShow ''(:~~:))
instance TextShow1 ((:~~:) a) where
liftShowbPrec = $(makeLiftShowbPrec ''(:~~:))
$(deriveTextShow2 ''(:~~:))
# endif
#endif