Debian Codegraph @

src-ghc/Data/Text/Extra.hs

raw
1 module Data.Text.Extra
2 ( showt
3 , showtl
4 ) where
5
6 import Prelude
7 import qualified Data.Text as TS
8 import qualified Data.Text.Lazy as TL
9
10 showt :: (Show a) => a -> TS.Text
11 showt = TS.pack . show
12
13 showtl :: (Show a) => a -> TL.Text
14 showtl = TL.pack . show