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

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

var sqr = function (n) {
  return n * n
}

function _lodash() {
  return _.first(_.map(data, sqr), 5)
}

function _fu() {
  return fu.map(sqr, data).slice(0, 5)
}

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