
17 Jul
2008
17 Jul
'08
2:52 p.m.
Hi. Em Qui, 2008-07-17 às 11:42 -0300, Felipe Lessa escreveu:
f = sum &&& foldr max 0 >>> uncurry (-)
You can replace
foldr max 0 with simply foldr1 max or even maximum So you get: f = sum &&& maximum >>> uncurry (-)
Greetings. -- Marco Túlio Gontijo e Silva Página: http://marcotmarcot.googlepages.com/ Blog: http://marcotmarcot.blogspot.com/ Correio: marcot@riseup.net XMPP: marcot@jabber.org IRC: marcot@irc.freenode.net Telefone: 25151920 Celular: 98116720 Endereço: Rua Turfa, 639/701 Prado 30410-370 Belo Horizonte/MG Brasil