For starters...

Rafael Gustavo da Cunha Pereira Pinto RafaelGCPP.Linux at
Thu Jul 17 10:34:32 EDT 2008

I am trying to write a toy function to sum all members of a list but the
biggest. This list is entirely composed by integers bigger than 0.

I have:

f a = x a - y a where
                 y=foldr max 0

Is there any way to implement that using composition, so I have a point-free

Rafael Gustavo da Cunha Pereira Pinto
Electronic Engineer, MSc.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Beginners mailing list