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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Question to both authors: how do we know the performance requirements are consistent between versions? What are the intended performance requirements of the original?
My feeling is that a correct, efficient implementation should have no performance issues at all. An inefficient one ( hey, I wrote one initially! they're definitely possible ) will have insurmountable problems with even a limited amount of tests.
If you have any unapproved translations, please make sure they're in
GHC 8.8
. This one should have been as well.There were two kata left in
8.2
but not8.8
, and I am working on those two. Now there are three. :[If you can't enable
8.8
without changes, you probably have aMonoid
definition which is missing aSemigroup
definition. ( I haven't yet solved this one, so I can't see the testing, and I can't see if you have any pending translations. )Done. Gracias, senor.
I think it can be solved by making non-terminating coroutines polymorphic in their return type, similar to how
forever
itself is defined:In that case, the functions could be used with
consume
by substitutingvoid ~ ()
; and at the same time, the fact that they never return is both signalled (by similarity with functions likeforever
andthrowIO
) and enforced by the type system (as GHC won't allow to stick any non-bottom value into a now rigid type variablevoid
).At least, that's what I did with my solution, and it seems to have worked.
Python globals are not shared between modules, though if you need totally global name you can use builtins
please give link - at the end
Nope, they are fine
Depends on the language, the instructions say
false/False
already.You MUST map it to the left, since (Eiter x Void) is just x!
Think hilbert hotel.
not really, you would only be hurting yourself, having no challenge, nor learning anythin soooo.... just dont exploit it
I don't think you can get more honor by solving katas twice.
And their first submission is still shown in the head-to-head compare page anyway, so there is proof that they submitted something else before the top solution.
You don't get extra honor from doing that. Only the original (first) author gets honor from upvotes.
It is mainly out of sheer curiosity!
And what about users copy/pasting top upvoted solutions after solving katas in order to get more honor? I believe such abuse should also be punished, or at least prevented.
Loading more items...