_.mixin
  sum: (array) ->
    sum = 0
    for element in array
      sum += element
    sum
