blob: 236b5d0ccb244a6eb883a0224ca44c09bda61ac7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Blessings.Text
( module Blessings
) where
import Blessings
import Blessings.Internal
import Data.Text (Text)
import qualified Data.Text as T
instance Blessable Text where
length = T.length
drop = T.drop
take = T.take
splitAt = T.splitAt
intercalate = T.intercalate
fromWord8 = T.pack . show
|