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.
The tests for my
.check()
function give:My code doesn't mention JSON, nor does the problem specification say "keys must not crash when attempting to json serialize them"
How exactly do those solutions work? What does codewars interpret a top-level
return
in a javascript solution as?I think fixed in https://www.codewars.com/kumite/5ee9ba7eb44cc3000fcd6bb1?sel=5eec704497084e002874c861?
The fix is to replace the word
CompareOp
withCompare
in the tests. I tried to fix it, but I'm finding it really hard to work out how to edit a kata translation.Fixed
ah, i see the issue, typo in an ast node name.
didn't my update above fix that?
Lean translation: https://www.codewars.com/kumite/5eeb6edee8db87001c07b721?sel=5eeb6edee8db87001c07b721
This seems to match https://www.codewars.com/kata/5ea9b14c9b7bf50001b88e55 too.
Do you have a link to a kata using SUBMISSION?
Fixed in https://www.codewars.com/kumite/5ee8cf1b16e9820028c08c2c?sel=5ee9ba7eb44cc3000fcd6bb1, mind approving?
Whoops, that should probably be forbidden!
i don't see your solution?
Just updated the description to not clobber the Coq one - I was not aware the description was shared.
My approach here is copied from the one used by https://www.codewars.com/kata/5e90c3814af7f4002e2535af.
I agree I've seen the
SUBMISSION
pattern too, but I didn't have an example to hand to copy from.I believe this is covered by the
(@nat_is_not_bool : nat ≠ bool)
, which requires@nat_is_not_bool
to be of the correct type.Python translation: https://www.codewars.com/kumite/5b0657957fb2172fe50000a9?sel=5ee8cf1b16e9820028c08c2c
Loading more items...