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.
Use spoiler flag next time please. Your post was visible in the homepage.
This comment is hidden because it contains spoiler information about the solution
New to Haskell, how does this work?
This comment is hidden because it contains spoiler information about the solution
Upgraded tests and example solution.
The test cases in Haskell are wery weak. Consider using
instead of
Simple and clean.
It's not about size. In point-free version
cycle "10"
will most likely be evaluated only once (even if you don't really need it in this case)Thanks :)
Applicative/Monadic parsers are really great.
Wow, yours is so much nicer than mine. Although I haven't grokked how to use ReadP at all, so I have an excuse.
Actually, the tutorials are all rather in-depth, so seeing such nice simple code examples turns out to be the best learning method.
That's beautiful Haskell though!
Can someone please explain this? (I'm mostly curious about the last line.)