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.
EZ game when using minifiers
You can rename the predefined class to
Kata
and you should be able to submit your solution (if it's correct). But the author should rework his template.This comment is hidden because it contains spoiler information about the solution
one thing to watch out for - the ?? won't catch index out of range errors (I also tried this first thinking it would)
Hi!
I'm trying to solve your kata (which is great) in Haskell and one last test is failing:
Your test is expecting
Just 0
in this case. But why? Shouldn't your test expectNothing
instead?Fixed.
Hi!
I'm trying to solve your kata in Haskell.
Could you please print out the expected value when a random-valued test is failing?
It would be easier for me to debug my code...
Thanks.
Replaced wrong reference solution.
The
"Should work for random positive tests"
block in Haskell generates random inputs like this:which means the error messages will show the
x, y
values instead ofn, y
making them very misleading.Ok, but thank you for your answers!
I will wait then.
nope, you'll have to wait for someone who can update them... Sorry.
Thanks for your fast answer :)
Yes in the random tests.
So, I cannot not fix it myself, can I :(?
in the random tests? might just be because the random tests seem to be broken (see issue below)
JS needs an update as well
Loading more items...