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 is lacking. The second parameter, 'wager', appears to be the # of handshake cards, but 'wager' isn't even in the description.
Using JSON.stringify here is quite poor, imo. It's wasteful and the opposite of 'best practices'.
You don't need the nodes' values. They might not even have values.
It doesn't depend on using the node value. The values could all be identical. The nodes don't even need to store a value inside of them.
I like recursion, but there's an easy non-recursive solution.
Translation rejected as there's no response from author about the above issues.
Feel free to open a new translation once the fixed version of the tests have been made.
missing random tests?
Also test cases are vulnerable to simply importing your refsol from them since it isn't even private and uses the most obvious name possible.
No random tests, not using top level function declaration. Rejected.
No random tests, no top level function declaration. Rejected.
Please stop making these. You're making more work for me to fix if someone approves one.
No random tests, doesn't use top level function declaration. Rejected.
No random tests, no failure messages, sample teats are just the example stub, and using obsolete Scala 2 features - rejecting.
Feel free ro fork, fix, and republish.
top level, non-member functions are a feature of Scala 3
I just tried it though (by forking your translation), and it works.
Unless there are some things I should know about function declaration outside of object/class in Scala.
I don't think one can generally put anything outside of an object or class in Scala. It's more like Java and C# than Python, Javascript, etc.
Loading more items...