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.
I agree. My comment is from three years ago, I don't even remember this kata. Looks like I let a bit of frustration get the best of me.
Rounding is ( almost ) never the appropriate solution. If something's wrong, provide the problem, not the solution.
Ah, I didn't see that - it's annoying that it's still unfixed after so long
I added
= 0
to the equationadded in JavaScript. already existing in Haskell
fixed
isnt this a duplicate of that issue ?
I don't know how this can be wrong - it says it's expecting exactly what I'm returning!
Every comment you leave is visible from the home page, so if you post full solutions like this, please use the spoiler flag.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The last line of the description
This comment is hidden because it contains spoiler information about the solution
The
suggestion
tag should be used for giving potential improvements to the kata itself, this is just a solutionYour solution returns the number passed in, so
add(1)
returns1
- if you then doadd(1)(2)
, you're trying to call the number1
as a function, which causes the error.Loading more items...