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.
That's tested in the actual tests.
Also, in Haskell, type checking and being able to compile is usually good enough as "example tests".
Suggestion
I don't see how a
Num
instance would improve the Kata.The examples do not necessarily show Haskell code, my intention was to convey a bit of the theory through some code. Additionally it makes the
Show
instance easier to define, to focus on what's really important about this Kata.I don't think this is an issue, but thanks for your feedback anyway!
Yes, you are right!