Created
December 5, 2018 06:50
-
-
Save jrsinclair/01d1fcdbc9f256aa40d89aa4d22eb7c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function processRow(headerFields, row) { | |
const fieldsEither = right(row).map(splitFields); | |
const rowObj = fieldsEither.chain(zipRow(headerFields)); | |
const rowObjWithDate = rowObj.chain(addDateStr); | |
// 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