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.
Thank you for improving. I added this test case.
foldr'
is required to be lazy.I added a line a to clarify this. Apparently if you get stuck at the part where this is tested, the whole thing just breaks down without showing the describe block:
foldr should allow lazy evaluation
.This comment is hidden because it contains spoiler information about the solution
You're right, the description can be polished a bit more. However, everything that is needed to complete the kata is present in the description and being under polished doesn't stop anyone from successfully completing it. I feel modifying the description to be more eloquent won't add to the validity of the kata so in that regard, I'm not too bothered with updating it. Thanks for your feedback tho.