var fu = require('../')
var _ = require('lodash')

var a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

var sum = function (a, b) {
  return a + b
}

function _lodash() {
  return _.reduce(a, sum)
}

function _fu() {
  return fu.foldl(sum, a)
}

require('./')({
  'lodash': _lodash,
  'fu': _fu
})
