 # Curry helper
 curry = (fn) ->
   accumulator = (given) ->
-    ->
-      args = arrayProto.slice.call arguments, 0
+    (args...)->
       given2 = given.concat args
 
       if given2.length >= fn.length



# Composer
compose = ->
  fns = arrayProto.slice.call(arguments, 0).reverse()

  ->
    args = arrayProto.slice.call arguments, 0
    for fn in fns
      args = [fn.apply(this, args)]
    args[0]


d = deobjectify = module.exports = {}

arrayProto = Array.prototype
strProto   = String.prototype
