summaryrefslogtreecommitdiffstats
path: root/src/Blessings/String.hs
blob: c2c7273f333aa2b6cdd759daffac2c075dd6ff60 (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
  fromInt = show