{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module TextShow.Data.Dynamic () where
import Data.Dynamic (Dynamic, dynTypeRep)
import Prelude ()
import Prelude.Compat
import TextShow.Classes (TextShow(..))
import TextShow.Data.Typeable ()
instance TextShow Dynamic where
showb :: Dynamic -> Builder
showb Dynamic
dyn = Builder
"<<" forall a. Semigroup a => a -> a -> a
<> forall a. TextShow a => a -> Builder
showb (Dynamic -> SomeTypeRep
dynTypeRep Dynamic
dyn) forall a. Semigroup a => a -> a -> a
<> Builder
">>"
{-# INLINE showb #-}