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.
tf?
There are also even tools for making your own solutions in this style: https://pointfree.io/
It's not very odd, by Haskell standards it's rather benign ;-)
Here's what's it all about: https://wiki.haskell.org/Pointfree
I wonder why its written in such an odd way. Are you people just flexing on me with your hasklel skills? Or is there an actual reason?
short solution, but looks slower than I would like.
This comment is hidden because it contains spoiler information about the solution
mus is a really funny name for the reverse of the sum
Well, how would you make it better?
Because of type safety! Rust's compiler is smart enough to get to the simple inclined forumlas
omg this is so smart. I didnt even consider using tuples like this!
Yes it does return a mutable reference! But since the solution stores that in a variable, the variable needs to be marked as mutable too! Otherwise we cant mutate the value behind it :3
Very funny solution...
I didnt know "scan" existed. Very cool method and good use of it!
I appreciate the effort and idea behind it. Why though
This comment is hidden because it contains spoiler information about the solution
Loading more items...