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 would've been the greatest solution ever if not the obscure function names
Per the Haskell Report, the
Fractionalclass is for numbers that support real division, not integer (floor) division. While there's nothing enforcing this in the compiler, it goes against best practices.Haskell translation
Author here. I completely forgot Fractional existed while writing the Haskell translation. Just change Division and (//) to Fractional and (/) and your solution should work again. Sorry about this.
Updating to GHC 9.2, no changes to code.
Updating to GHC 9.2, no changes to code.
No major changes for updating to GHC 9.2
Hi. I'm not sure to understand your question.
If you mean that you can add another parent to some child (and grand-...-child) of the root, and still pass the tests, that's right, that's not something I took account of when writing the tests.
The goal of the kata is to reproduce the family given in the description. If you can do that, and do other things too in the same time, I would say that's fair game.
This comment is hidden because it contains spoiler information about the solution
If you are a beginner, please, be informed, that while these one-liners may look "cool", this is not what you want to do.
Nevermind
Can someone explain this?
Adding some more sample tests, and one that checks for correct pixel matching.
almost machine code
rejected by JohanWiltink.
Loading more items...