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
Haskell has a problem with random tests. The random tests expect incorrect things, but you can just retry submitting until you get a pass. Following example is real, but I clipped it for length.
This array is not sorted and should not expect "yes, ascending."
Fuzzers! I need fuzzers in the Elm tests! Thank you so much a) for translating (which I totally should have done) and b) for reminding me how to make a dang fuzz test!!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Can you provide an example of a false negative random test?
@albertocmgr can you take a look? Does tagging work on CW? EDIT: It does not.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Love the reset after output!! So clever.
for sure and thank you! It is slower and doesn't have elm-format which is half the delight for me tbh. But it can be nice to write code that's snack sized on here so I can't stay away.
I ended up making a safe version using phantom types and the next move would be to try to see if the phantom builder pattern can apply (I've never used it so maybe this is actually already it!)
https://www.codewars.com/kata/reviews/5e513d6d6971ed00018f144b/groups/6393ce91c7247d00017b1a1a
aww TY bud!! im gonna redo this with some wrapped up types because naked Ints for this doesn't make me happy
This comment is hidden because it contains spoiler information about the solution
TY for intercalate!! Hoogle is good, but not quite good enough to suggest it when I searched the signature
String -> [String] -> StringIf you look at the haskell solutions now only one passes. Everything else no longer does. The reference solution is incorrect now.
Loading more items...