hemanth / ramda-repl

Ramdajs REPL.
MIT License
28 stars 6 forks source link

Load functions into repl context with for-in loop not R.functions() #5

Closed branweb1 closed 8 years ago

branweb1 commented 8 years ago

Looks like in Ramda v0.19.0, R.functions() is no longer defined, so the call to R.functions in index.js was throwing this error: "R.functions is not a function". I swapped the forEach with a for-in loop which loops through each key in the object exported by the Ramda v0.19.0 module and inserts it into the repl context.

branweb1 commented 8 years ago

Not sure what was causing the indentation weirdness. Should be good to go now.

branweb1 commented 8 years ago

Ah sorry about that.

hemanth commented 8 years ago

Thanks.