Ad
  • Custom User Avatar

    Good call. I should have done this from the start!

  • Custom User Avatar

    Unfortunately most of the tests are compile-time and therefore quite slow, and the codewars servers have inconsistent performance regarding that. However, writing a concise proof will also speed it up considerably.

  • Custom User Avatar

    Distance is euclidean distance. What kind of distance were you thinking of?

  • Custom User Avatar

    I didn't spot that issue, thank you for pointing that out. Go with the version that's included in the implementation. ie the first example you gave.

    I've now updated the description.

  • Custom User Avatar

    Yeah, this is intended to be a sort of intro to template Haskell. I'm glad you liked it!

  • Custom User Avatar

    Thanks for the translations! They seem to be great, there's just an issue with the descriptions, which I'm iffy on. Could you take the time to have a check of the descriptions? I don't want to make a new translation and take the credit.

  • Custom User Avatar

    My impulse would be to ignore digits, to try and keep all languages as consistent as possible by translating the tests directly. However, if you would like to handle digits I think you're right to treat them as lowercase letters, but remember to add examples in the description. Thank you for translating!

  • Custom User Avatar

    Yes, I see this. This is in all languages it seems, and so I'm reluctant to add tests considering the number of solutions that could be invalidated.

  • Custom User Avatar

    @Blind4Basics the function's returning "" when given an empty string is enforced in all translations. I don't see what you mean?

  • Custom User Avatar

    Fixed, thanks for the flag!

  • Custom User Avatar

    Just fixed that, thank you.

  • Custom User Avatar

    The changeCase "" "kebab" = Nothing was an oversight of mine, I've updated the tests to check for changeCase "" "kebab" = Just "". This was only a problem in Haskell though and was very easy to change. Thank you for bringing this to my attention.

  • Custom User Avatar

    Approved, thank you!

  • Custom User Avatar

    Approved, thank you!

  • Custom User Avatar

    Thank you so much, this is a great translation! There's only one thing that's an issue, which is the description. Could you add examples for Haskell like the ones for Javascript? I would add this myself, but I'm reluctant to do this in your place, since it's your work.

  • Loading more items...