Instant is
off
|
Search plugin
|
Manual
|
haskell.org
isPrefixOf
-text
Packages
text
base
bytestring
isPrefixOf
:: Eq a => [a] -> [a] -> Bool
base
Data.List
The
isPrefixOf
function takes two lists and returns
True
iff the first list is a prefix of the second.
isPrefixOf
:: ByteString -> ByteString -> Bool
bytestring
Data.ByteString
,
bytestring
Data.ByteString.Char8
,
bytestring
Data.ByteString.Lazy
,
bytestring
Data.ByteString.Lazy.Char8
O(n)
The
isPrefixOf
function takes two ByteStrings and returns
True
iff the first is a prefix of the second.
©
Neil Mitchell
2004-2012, version 4.2.11