On Wed, Apr 02, 2003 at 06:45:54AM -0500, David Roundy wrote:
> 
> tok s = map (concatMap (++ "\n")) $ break null $ lines s

This should be 

tok s = map unlines $ break null $ lines s

which restores the symmetry to the operation, and is therefore much more
readable.

David
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to