[Haskell-cafe] ANN: bytestring-lexing 0.4.0

Erik de Castro Lopo mle+hs at mega-nerd.com
Sat Feb 4 04:37:20 CET 2012


wren ng thornton wrote:

> --------------------------------------------
> -- Changes (since 0.3.0)
> --------------------------------------------
> 
> * Data.ByteString.Lex.Integral: added the function
> 
>      readDecimal_ :: Integral a => ByteString -> a
> 
>      A variant of readDecimal which does not return the tail of the
>      string, and returns 0 instead of Nothing. This is twice as fast
>      for Int64 on 32-bit systems, but has identical performance to
>      readDecimal for all other types and architectures.

Thanks Wren, that is awesome!

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Haskell-Cafe mailing list