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.
You can use a simpler form to pattern match multiple elements from the beginning:
[a, b | tail]
Cool. Thanks... I was wondering how cold this be done in a nicer way.
I know. I think that the report has nothing to do with random/rand replace. I think is due to the changes they made. Wohever, in order to submit a solution, the changes has to be made for all the katas.
Again... thanks for the update.
Colud you update the tests for Elixir, please?
I can submit now. Thanks.
This is how the test appeared when I started the kata.
The issue from the hidden tests is a general one, I see it on other katas as well. I think they changed versions of elixir/OTP. So the tests need to be updated so people can submit their solutions.
For Elixir the tests needs to be updated
assert make_negative(-42) == 42
, is not according to the description, expected result should be -42.And in the hidden tests:
I see. Thanks for the fix, I can submit now.
This comment is hidden because it contains spoiler information about the solution