[Haskell-cafe] Re: Some trouble with AttoParsec.

Jason Dusek jason.dusek at gmail.com
Wed Aug 19 05:38:41 EDT 2009

  Aha. From `Data.ByteString.Lazy` we have:

    null :: ByteString -> Bool
    null Empty = True
    null _     = False

  So either users need to norm ByteStrings before testing
  them for emptiness or it needs to happen within the ByteString

Jason Dusek

More information about the Haskell-Cafe mailing list