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.
Attractive solution! Despite the unnecessary conversion to an indexed list (2x), I love the
for
comprehension skills. Very clever!This comment is hidden because it contains spoiler information about the solution
This solution seeks to:
false
as soon as an error is found without needing to reach the end of the inputdef do_sum({n1, n2, n3}), do: [n1, n2, n3] |> Enum.sum()
as this would be a valid use of braces alsoInteresting. So, you are using a defmacro in place of a defguard? I'm assuming that a defguard IS a marco then. Interesting.
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
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yikes! This is pretty rough.
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
hum
This comment is hidden because it contains spoiler information about the solution
Loading more items...