[Haskell-cafe] Re: ByteString search code available in easy-to-digest form

ChrisK haskell at list.mightyreason.com
Fri Nov 9 11:55:38 EST 2007

Yeah, my code wants to open up the internals of Lazy bytestrings.  Until
recently this was possible toChunks, but it would be best to rewrite it for the
newest Lazy representation (which comes with new shiny ghc 6.8.1).

It is a trivial change, but I due to ghc-6.8.1 failing on ppc G4 OS X, I won't
be updating it myself at the moment.


Niko Korhonen wrote:
> Bryan O'Sullivan wrote:
>> Patches against the darcs repo welcome:
>>   darcs get http://darcs.serpentine.com/stringsearch
>> Credit to Justin Bailey, Daniel Fischer, and Chris Kuklewicz for their
>> hard work.
>> (Currently only tested against GHC 6.6.1, FYI.)
> Does not compile with GHC 6.8.1:
>> runhaskell Setup.lhs build
> Preprocessing library stringsearch-0.1.1...
> Building stringsearch-0.1.1...
> Data/ByteString/Search/BoyerMoore.hs:59:7:
>     Could not find module `Data.Array.Unboxed':
>       it is a member of package array-, which is hidden

More information about the Haskell-Cafe mailing list