apfelmus wrote:
> 
> Answer:
> 
>    split "<DOC>" . words . map toLower = (:[]) . words . map toLower
> 
> Since you converted everything to lowercase, the string "<DOC>" will 
> never appear in the text, resulting in a single huge document. 
> 

Oops, that should have been obvious, sorry for the dumb question.
Thanks,
--
Grzegorz

-- 
View this message in context: 
http://www.nabble.com/Strange-space-leak-tp18439685p18444159.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to