Skip to content

Commit f8d88f5

Browse files
committed
Merge pull request #7 from plaid/dc-ramda
ramda@0.18.x
2 parents d413983 + e788fc7 commit f8d88f5

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

bin/transcribe

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,10 @@ var parseLine = R.curry(function(options, filename, line, value) {
5353
//. parseFile :: Options -> String -> String
5454
var parseFile = R.curry(function(options, filename) {
5555
return R.pipe(
56-
R.unary(fs.readFileSync),
56+
fs.readFileSync,
5757
String,
5858
R.match(/^.*$/gm),
59-
R.converge(R.zip,
60-
R.pipe(R.length, R.inc, R.range(1)),
61-
R.identity),
59+
R.lift(R.zip)(R.pipe(R.length, R.inc, R.range(1)), R.identity),
6260
R.map(R.apply(parseLine(options, filename))),
6361
R.join('')
6462
)(filename);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
],
1919
"dependencies": {
2020
"commander": "2.8.x",
21-
"ramda": "0.17.x"
21+
"ramda": "0.18.x"
2222
},
2323
"devDependencies": {
2424
"jscs": "1.12.x",

0 commit comments

Comments
 (0)