[Haskell-cafe] bug in Prelude.words?

malcolm.wallace malcolm.wallace at me.com
Mon Mar 28 17:55:52 CEST 2011

Does anyone else think it odd that Prelude.words will break a string at a non-breaking space?

Prelude> words "abc def\xA0ghi"

I would have expected this to be the obvious behaviour: 

Prelude> words "abc def\xA0ghi"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110328/f93c3bac/attachment.htm>

More information about the Haskell-Cafe mailing list