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

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

function _lodash() {
  return _.map(_.zip(a, b), function (n) { return n[0] - n[1] })
}

function _fu() {
  return fu.zipWith(function (a, b) { return a - b }, a, b)
}

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