X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FByteString%2FLazy%2FChar8.hs;h=250a6597423b1ea43d5430ea4e5f7cfaedd0406d;hb=6b1a36a595eddf1e124529646afdb75c76a9966d;hp=beec2ba118e72d791f4a85680329a953cc6e3bc8;hpb=1d644d67d64186aeb2b840adf4d1cceed27a5bc6;p=haskell-directory.git diff --git a/Data/ByteString/Lazy/Char8.hs b/Data/ByteString/Lazy/Char8.hs index beec2ba..250a659 100644 --- a/Data/ByteString/Lazy/Char8.hs +++ b/Data/ByteString/Lazy/Char8.hs @@ -1,18 +1,16 @@ {-# OPTIONS_GHC -cpp -fno-warn-orphans #-} --- +-- | -- Module : Data.ByteString.Lazy.Char8 -- Copyright : (c) Don Stewart 2006 -- License : BSD-style -- -- Maintainer : dons@cse.unsw.edu.au -- Stability : experimental --- Portability : portable (tested with GHC>=6.4.1 and Hugs 2005) --- - +-- Portability : non-portable (imports Data.ByteString.Lazy) -- --- | Manipulate /lazy/ 'ByteString's using 'Char' operations. All Chars will +-- Manipulate /lazy/ 'ByteString's using 'Char' operations. All Chars will -- be truncated to 8 bits. It can be expected that these functions will --- run at identical speeds to their Word8 equivalents in +-- run at identical speeds to their 'Data.Word.Word8' equivalents in -- "Data.ByteString.Lazy". -- -- This module is intended to be imported @qualified@, to avoid name @@ -179,7 +177,7 @@ module Data.ByteString.Lazy.Char8 ( -- Functions transparently exported import Data.ByteString.Lazy (ByteString, fromChunks, toChunks - ,empty,null,length,tail,init,append,reverse,transpose + ,empty,null,length,tail,init,append,reverse,transpose,cycle ,concat,take,drop,splitAt,join,isPrefixOf,group,inits,tails,copy ,hGetContents, hGet, hPut, getContents ,hGetNonBlocking @@ -202,7 +200,7 @@ import Prelude hiding ,concat,any,take,drop,splitAt,takeWhile,dropWhile,span,break,elem,filter ,unwords,words,maximum,minimum,all,concatMap,scanl,scanl1,foldl1,foldr1 ,readFile,writeFile,appendFile,replicate,getContents,getLine,putStr,putStrLn - ,zip,zipWith,unzip,notElem,repeat,iterate,interact) + ,zip,zipWith,unzip,notElem,repeat,iterate,interact,cycle) import System.IO (hClose,openFile,IOMode(..)) import Control.Exception (bracket)