sorindragan
3/20/2018 - 6:41 PM

Sum from list

Sum up all the elements from a list.

suml [] = 0
suml (x:xs) = x + suml xs