[commit: packages/bytestring] master: Re-export isSuffixOf from D.B.L.Char8 (c3457d7)
git at git.haskell.org
git at git.haskell.org
Fri Jan 23 22:43:35 UTC 2015
Repository : ssh://git@git.haskell.org/bytestring
On branch : master
Link : http://git.haskell.org/packages/bytestring.git/commitdiff/c3457d7cbd54ec11d3f5a000801116466ac7f75e
>---------------------------------------------------------------
commit c3457d7cbd54ec11d3f5a000801116466ac7f75e
Author: Duncan Coutts <duncan at community.haskell.org>
Date: Sun Dec 14 14:12:47 2014 +0000
Re-export isSuffixOf from D.B.L.Char8
As requested in issue 30
>---------------------------------------------------------------
c3457d7cbd54ec11d3f5a000801116466ac7f75e
Data/ByteString/Lazy/Char8.hs | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Data/ByteString/Lazy/Char8.hs b/Data/ByteString/Lazy/Char8.hs
index 279902d..f737697 100644
--- a/Data/ByteString/Lazy/Char8.hs
+++ b/Data/ByteString/Lazy/Char8.hs
@@ -129,7 +129,7 @@ module Data.ByteString.Lazy.Char8 (
-- * Predicates
isPrefixOf, -- :: ByteString -> ByteString -> Bool
--- isSuffixOf, -- :: ByteString -> ByteString -> Bool
+ isSuffixOf, -- :: ByteString -> ByteString -> Bool
-- * Searching ByteStrings
@@ -197,7 +197,8 @@ module Data.ByteString.Lazy.Char8 (
import Data.ByteString.Lazy
(fromChunks, toChunks, fromStrict, toStrict
,empty,null,length,tail,init,append,reverse,transpose,cycle
- ,concat,take,drop,splitAt,intercalate,isPrefixOf,group,inits,tails,copy
+ ,concat,take,drop,splitAt,intercalate
+ ,isPrefixOf,isSuffixOf,group,inits,tails,copy
,hGetContents, hGet, hPut, getContents
,hGetNonBlocking, hPutNonBlocking
,putStr, hPutStr, interact)
More information about the ghc-commits
mailing list