[Haskell-cafe] dropSpace not exported in ByteString
olivier.boudry at gmail.com
Thu Nov 15 17:36:46 EST 2007
In fact I'm not really looking at performance, I don't expect performance to
be a big issue in my application.
I was just looking at using some simple functions found in the documentation
and avoid redefining them.
In fact dropSpace and dropSpaceEnd are doing exactly what I'm looking for.
But of course if they're not exported it's not a problem and I'll use their
Thanks for your reply,
On Nov 15, 2007 5:24 PM, Don Stewart <dons at galois.com> wrote:
> The latter:
> "FPS specialise dropWhile isSpace -> dropSpace"
> dropWhile isSpace = dropSpace
> check that the rule fires with -ddump-simpl-stats
> There's no rule for dropSpaceEnd, but you can certainly inline the defn
> in your code, if perf. matters.
> -- Don
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe