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.
Random Perl tests produce strings with less than two characters.
Thanks, Johan, I'll try!
Very cool kata, thanks! My Haskell solution seems to work correctly, but times out with the big test set. Generating 10k entries takes 2-7 seconds on my machine, which is not very satisfying. Currently I have no idea what to improve. :/
You don't like it?
I don't know how this passed the tests... Equivalent (point free) versions of it did not.
I'm sorry for your time, but I'm also glad you liked it. :)
You're right, it's an unlawful instance. :)
which is true with and without the parentheses because of Haskell's autocurrying. But I agree that the parentheses should be omitted as they do nothing.
Fixed by inserting two newlines. :)
Nice! I would prefer
zipWith ($)
overzipWith id
for readability reasons. :)Thanks, fixed! :)
That's great, looking forward to it!
I added some random boolean tests! Thanks!
Should be fixed now! :)
I wrote a generalized version of this kata for Haskell here as my very first kata. Feedback welcome! :)
Loading more items...