import _curryN from './internal/_curryN'

var indexOf = _curryN(2, [], function (y, xs) {
  var i   = 0
    , len = xs.length
      
  for (; i < len; i++) {
    if (xs[i] === y) {
      return i
    }
  }
  return -1
})

export default indexOf
@@ -73,16 +73,24 @@
 unction 
+indexOf 
 (y, xs) 

use named function