[Haskell-beginners] A better way?

Daniel Fischer daniel.is.fischer at web.de
Sat Feb 21 18:21:11 EST 2009


Am Sonntag, 22. Februar 2009 00:16 schrieb Daniel Fischer:
>
> maxTableColumnWidths = foldr ((evalList .) . zipWithD max) []

Oops again:

maxTableColumnWidths = 
	foldr ((evalList .) . zipWithD max) [] . map (map length)

>

>
> maxTCWs = evalList . foldr (zipWithD max) []
>

maxTCWs = evalList . foldr (zipWithD max) [] . map (map length)

> > Cheers,
> > Daniel
>



More information about the Beginners mailing list