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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
hi,
you need to do both: rollback AND throw the error. ;)
Check out the
Debug.Trace
module in Haskell for quick and dirty debugging.This comment is hidden because it contains spoiler information about the solution
I'm afraid you're heading towards the wrong path ;-)
The concept around this kata is simple, really, no need to think too deeply about it. The execution, though, is far from trivial ;-)
Sorry, found out at last. The hint is already there ;)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yes, and no.
I won't say any more than that, otherwise it'd become a big spoiler. Though I know a few people who knows what to do, and is currently struggling on the implementation.
If you have absolutely no idea what to do, my suggestion is to come back after you're finally ready for this. This kata is not for the faint of heart, and IMO people who haven't even figured out the approach is not qualified to claim that it's guesswork.
Hi,
There's a constant fact, on CW: "old kata = easy kata". ;) This one is old, but the python translation is recent. That's why.