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