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.
My comments:
labelDepth
a bit more detailed description would be nice.runWriterMonoid
means just the opposite of the expected one, especially for lists.runWriterMonoid
andrunWriterList
it would be good to add thatFree (Writer w) a
is also a functor inw
.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
added test cases
Very nice kata, I feel I learned a lot!
A good kata! But tests should be improved:
No random tests for
local
,labelDepth
.modify
is not tested.Challenging but also interesting and satisfying! Would love to see more payoff at the end, e.g. using the monad instances in example computations.