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.
fixed there
Lots better, thanks.
I changed the
Show
instance in preloaded, let me know if that works better.In Haskell, the
Crate
s add frustration only.Please can the
Show
instance make them transparent? The current instance maximises visual clutter, with the uselesscolor
accessor.Approved. This looks great! Thanks for your work on this.
Haskell translation
The description has been updated only to distinguish language-specific information.
Nice Kata (´▽`ʃ♡ƪ)
Had me stuck for a good bit! Very fun!
God no. You only need to test two or three of them really. Most of the tests in this case should be random.
Should I still keep the 1200+ modules or delete the whole thing?
oh ok i see, thank you so much, I'll tell you when I finish doing that, thanks for helping me with creating my first ever kata :)
No, I'm saying you need to generate your own modules at runtime if you want to stop me from hardcoding. Like generate modules which literally do not exist outside of your kata.
Remember, modules can be imported locally from the same directory as the running script.
I still don't understand what 'file io' and 'disk' means, can you explain a bit more? (I am new to python, I only started it a year ago in Year 6)
Okay I've confirmed that you can do that, you just need to do some file io to write it to disk so that the user can import it.
Also means you don't even need a refsol, since you'll know what you generated!
Isn't it very obvious how to do it? Just return the module name, copy the entire wall of red tests, then use regex to turn it into a dict.
You can probably generate modules at runtime, it'll just be messy.
Loading more items...