packages feed

miv-0.3.0: src/ShowText.hs

{-# LANGUAGE FlexibleInstances, IncoherentInstances, UndecidableInstances #-}
module ShowText where

import Data.Text

class ShowText a where
  show :: a -> Text

instance Show a => ShowText a where
  show = pack . Prelude.show