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.
There is no Nothing in F#, None or Option would make more sense. Quite vague.
This comment is hidden because it contains spoiler information about the solution
This is bit over my head. I only heard about phantom types, never used them and know little about it, will do some resarch. But this looks greate tbh.
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
Make sense, I was just very impresedd by your little 'expand' abstraction and then you ended up in such a clean pipline. I would do more here on codewars but the whole thing is so slow, compared to Ellie for example.
aww TY bud!! im gonna redo this with some wrapped up types because naked Ints for this doesn't make me happy
wow, lovely!
Sure thing, but pure luck :D
You're on all platforms answering my question today Razzeee :). Thanks
Yes, I think in most languages it is, if you can correctly match on the data. Usually comes up on top, especially with more cases.
Is it more common in Elm to prefer pattern matching as oppose if . then . else?
Why this works? Can we do it with x amount of arguments?
This comment is hidden because it contains spoiler information about the solution
'Cause when the kata was made it'd accept it, due to the actual'===' be '==' at the time.
Yeah, but why output is in a form of string and not in a boolean? As micfin asked above.
Loading more items...