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