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

2007-11-09 Thread ChrisK
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

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

2007-11-09 Thread Bryan O'Sullivan
ChrisK wrote: 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). I've updated the stringsearch package on hackage so that it

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

2007-11-09 Thread Don Stewart
bos: ChrisK wrote: 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). I've updated the stringsearch package on hackage

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

2007-11-08 Thread Niko Korhonen
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: