Skip to content

Commit

Permalink
Added trd module
Browse files Browse the repository at this point in the history
  • Loading branch information
klaudiosinani committed Nov 12, 2018
1 parent b0f4287 commit 120a633
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/trd.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
'use strict'
const curry = require('./curry')
const getNth = require('./get-nth')

function trd(xs) {
return getNth(2, xs)
}

module.exports = curry(trd)

0 comments on commit 120a633

Please sign in to comment.