[Haskell-cafe] bug in Prelude.words?

malcolm.wallace malcolm.wallace at me.com
Mon Mar 28 18:20:48 CEST 2011


Consider an HTML page with that "sentence" displayed on it. If you ask the viewer of the page how many words are in the sentence, then surely you will get the answer 3?
 

But what about the author?  Surely there is no reason to use a non-breaking space unless they intend it to mean that the characters before and after it belong to the same logical unit-of-comprehension?

Regards,
    Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110328/1b11e4df/attachment.htm>


More information about the Haskell-Cafe mailing list