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 should've been added as a test case if it mattered to the kata author.
This comment is hidden because it contains spoiler information about the solution
This kata made me actually use applicatives. That was cool.
Nope.
See http://lunar.s-ul.eu/bM1wWRVI
The haskell type interface gave me a lot of trouble, lol. At least I learnt that since sum returned Int, and n may not have been an Int... I had to use fromIntegral.
The class is provided. You only need to implment the function, and the members are already there, rest and value.
Ah! Sorry, my bad. I hadn't noticed that! Thanks for the find!
The second change was applied already in practice. I changed the name of the class to LinkedList. This should hopefully be clear enough that it's not Python's list()?
Nope.