I really didn't expect mapAccumL to have quadratic complexity. Thank you a
lot for the fix!
On Mon, Sep 13, 2010 at 5:06 AM, Bryan O'Sullivan b...@serpentine.comwrote:
On Sun, Sep 12, 2010 at 12:23 PM, Petr Prokhorenkov
prokhoren...@gmail.com wrote:
I experienced a following problem while
On Mon, Sep 13, 2010 at 3:26 AM, Petr Prokhorenkov
prokhoren...@gmail.comwrote:
I really didn't expect mapAccumL to have quadratic complexity. Thank you a
lot for the fix!
No problem. By the way, in my benchmarks, mapAccumL on Text is now faster
than on ByteString :-)
I experienced a following problem while dealing with some text processing.
I have a text and want to get the same text with parts enclosed into {} or
[] stripped away. Substituting them with a ' ' would also work.
Here is the code I wrote (T is Data.Text):
stripBrackets :: T.Text - T.Text
On Sunday 12 September 2010 21:23:50, Petr Prokhorenkov wrote:
I experienced a following problem while dealing with some text
processing.
I have a text and want to get the same text with parts enclosed into {}
or [] stripped away. Substituting them with a ' ' would also work.
Here is the
On Sun, Sep 12, 2010 at 12:23 PM, Petr Prokhorenkov
prokhoren...@gmail.comwrote:
I experienced a following problem while dealing with some text processing.
Thanks for the report and the test case. There's nothing wrong with your
code - read on for details.
You ran into one of the few
On Sun, Sep 12, 2010 at 10:06 PM, Bryan O'Sullivan b...@serpentine.com wrote:
text 0.8.1.0 is now up on hackage, with the fix included. Enjoy!
Wow! That was fast! =)
--
Felipe.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org