News for hackers. Stuff that matters.
Re:Why Haskell is beyond ready for Prime Time by felixmar on Wednesday January 14, 2009 @04:56PM (#434374)
A case expression is more common:

  sum ys = sum' ys 0
    where sum' list total =
      case list of
        []   -> total
        x:xs -> sum' xs (total + x)

There are no comments on this comment yet.