summaryrefslogtreecommitdiffstats
path: root/src/Blessings/String.hs
blob: 005cd7b5e891aa79a4ba1ded3035dd8efb627e9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{-# LANGUAGE FlexibleInstances #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}

module Blessings.String
    ( module Blessings
    ) where

import Blessings
import Blessings.Internal
import qualified Data.List as L


instance Blessable String where
  length = L.length
  drop = L.drop
  take = L.take
  intercalate = L.intercalate
  fromWord8 = show