[Haskell-cafe] dropSpace not exported in ByteString
Don Stewart
dons at galois.com
Thu Nov 15 22:55:49 EST 2007
olivier.boudry:
> On 11/15/07, Don Stewart <[1]dons at galois.com> wrote:
>
> Let me know if the rule fires. If it isn't, that's a bug, essentially.
>
> -- Don
>
> Don,
>
> As you can see the rule fires.
>
> C:\Temp>ghc --make -O2 -fasm -ddump-simpl-stats DropSpaceTest.hs
> ...
> 3 RuleFired
> 1 FPS pack/packAddress
> 2 FPS specialise dropWhile isSpace -> dropSpace
> ...
Great! The first rule is also a good sign.
>
> By the way, what's the reason dropSpaceEnd is defined but not exported nor
> used through a rule? I'm just curious.
Looking at the source, its not actually defined -- its commented out.
Perhaps you're looking at an older version of the source?
-- Don
More information about the Haskell-Cafe
mailing list