Skip to content

Instantly share code, notes, and snippets.

@jrsinclair
Created December 5, 2018 06:41
Show Gist options
  • Save jrsinclair/d474ff663028d3fdaf5ed3b2971b924d to your computer and use it in GitHub Desktop.
Save jrsinclair/d474ff663028d3fdaf5ed3b2971b924d to your computer and use it in GitHub Desktop.
function processRow(headerFields, row) {
const fieldsEither = right(row).map(splitFields);
const rowObj = fieldsEither.map(zipRow(headerFields)).join();
const rowObjWithDate = rowObj.map(addDateStr).join();
// Slowly getting better... but what do we return?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment