[Haskell-cafe] how to calculate the sum of list of lists?

Mark T.B. Carroll Mark.Carroll at Aetion.com
Mon Feb 5 12:04:41 EST 2007


"Miranda Kajtazi" <mirandakajtazi at gmail.com> writes:

> Help,
>
> How to calculate the sum of list of lists in Haskell?

So the answer for [[1,2],[3,4]] would be 10?

(Is this homework? If so, we're still happy to give hints.)

-- Mark



More information about the Haskell-Cafe mailing list