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
kysya!
Looks like the last func (the one about
a ^ 1 = a
) isn't tested at all. Was able to leave it aserror "..."
and still pass the tests. Of course, one can't tests if it is done the proper 'hard way', but the general functionality is testable nontheless.We might also want to make it more apparent from the comments, that 'the hard way' stands for chain of operations on isomorphisms, just like the previous two examples. Judging by the existing solutions, half the folk just ignore the instructions completely. If not 'the hard way', the kata would be so much more boring and less insightful.
Note, that this
pass2
fails on constant expressions more than 2 levels deep.