{"size": 183, "ext": "js", "max_stars_repo_path": "src/reduce.js", "max_stars_repo_name": "farwayer/rambda", "max_stars_repo_stars_event_min_datetime": "2019-06-30T15:33:01.000Z", "max_stars_repo_stars_event_max_datetime": "2019-06-30T15:33:01.000Z", "max_issues_repo_path": "src/reduce.js", "max_issues_repo_name": "farwayer/rambda", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/reduce.js", "max_forks_repo_name": "farwayer/rambda", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 15.25, "max_line_length": 37, "alphanum_fraction": 0.6885245902}
import { curry } from './curry'

function reduceFn(
  reducer, acc, list
){
  const clone = list.slice()

  return clone.reduce(reducer, acc)
}

export const reduce = curry(reduceFn)
