diff options
Diffstat (limited to 'src/Blessings/ByteString.hs')
-rw-r--r-- | src/Blessings/ByteString.hs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Blessings/ByteString.hs b/src/Blessings/ByteString.hs new file mode 100644 index 0000000..d914818 --- /dev/null +++ b/src/Blessings/ByteString.hs @@ -0,0 +1,17 @@ +{-# OPTIONS_GHC -fno-warn-orphans #-} + +module Blessings.ByteString + ( module Blessings + ) where + +import Blessings +import Blessings.Internal +import qualified Data.ByteString.Char8 as B + + +instance Blessable B.ByteString where + length = B.length + drop = B.drop + take = B.take + intercalate = B.intercalate + fromWord8 = B.pack . show |