summaryrefslogtreecommitdiffstats
path: root/src/Blessings/Text.hs
blob: 4516d723ae1b73170ac823ac3923872cfb52c26f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{-# 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
  break = T.break
  intercalate = T.intercalate
  fromWord8 = T.pack . show