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.
Prolog translation
It is necessary to add to the condition that the Euclidean distance must be rounded down before comparing with the radius, otherwise this was not initially described in any way.
Description is unclear and one cannot figure out what he is supposed to do from the very poor basic tests. Euclidean distance implies continuous (non integer) values, so we don't know how we're supposed to calculate the number of characters to fill. Please state clearly what we're supposed to do, or at least add more basic tests.
Add
-Wincomplete-patterns, -Werror=incomplete-patterns
GHC flags.It will make some unfair tricks unavailable.
Can anyone help me with generating testcases with random types? Template Haskell may make this possible, but I don't know Template Haskell.
This seemed like a good place to find people who know it though. :P
This question concerns a prospective Haskell translation of Join until impossible. I have posted this question there, as well as on several CodeWars Gitter fora. Feel free to react anywhere.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Is the trailing new line really necessary?