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
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] -> String
If you look at the haskell solutions now only one passes. Everything else no longer does. The reference solution is incorrect now.
for the last one the result in either the
if
orelse
case is the same right? I could def see the condition beingdepth <= 0
to silently move past unbalanced parentheses though.I have been acting like a wildman trying to find what I'm doing wrong!! Thank you!!
This comment is hidden because it contains spoiler information about the solution
I wrote a gcd function, and it of course collided with Prelude's, so I took it out. At no point did I stop and think that if Prelude defines a GCD function it stands to reason that it would provide an LCM function too.
You're really close! What's the formula for distance between two points?
YO I just saw this since I'm not on here enough but this is GREAT!! I'm honored! TYSM
ooh smart to use range. If you want to go point free you can flip the direction of composition
Loading more items...