[Haskell-cafe] Strange space leak

Grzegorz Chrupala grzegorz.chrupala at computing.dcu.ie
Mon Jul 14 09:41:11 EDT 2008



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.



More information about the Haskell-Cafe mailing list