Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
description formatting is broken
Hey RichardB, thanks so much for sharing that link to currying. It was a really good read...
If you are trying to introduce something new to someone, you need to give some tips!
Spent a good time trying to google things like "weird way to pass parameters to functions" because I didnt even know the name of that technique.
This comment is hidden because it contains spoiler information about the solution
No cat skinning involved. 0/10, would not solve again.
Yeah, this kind of short tips is what I'm often missing trying to decide from where to start solving a kata.
Defenitely! Today, I learned something new.
Keeps returning "should work with zeros - Expected: 0, instead got: undefined", but I pass zeros and they are appropriately summed up. Not sure what is erroring ??
Thanks for sharing that tip. I found a really nice explanation of currying here: http://www.drdobbs.com/open-source/currying-and-partial-functions-in-javasc/231001821?pgno=2
This comment is hidden because it contains spoiler information about the solution
In the case of sum(a,b) you return a function, not a number
the test cases are different from the "submit" part to the "train" part so that's why the test case seems to be passing
Ah! Thank you!
You're not thinking of the (2,3) case. Yours would only work for the (2)(3) tests.
It seems that the simplest solution would be:
But the test says that it doesn't return a number.(?) Can anyone point me in the right direction? Thanks
This comment is hidden because it contains spoiler information about the solution
Loading more items...