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.
Thanks, without this link I would have had no idea what to expect.
Yeah, I was confused at first at where the initial caps came from in this answer, but when I ran it locally, I saw it doesn't. Not sure what "Should -Be $var" is in the tests, but I susped an -eq needs to be swapped with a -ceq, or swapped with a $userAnswer.Equals($testAnswer).
Or maybe we're assuming too much from the kata description. It never specifically states each section needs to start with a caps, but every example consistently does, and that's all the instruction given.
Very concise.
I see now no need to map. Array would have been more efficient. I like the solutions that don't have n-1 but put the final string as the first, 0 index object in the array. Match x With even more concise.
I had to look at Solutions to get started on this one. This article might help get beginers like me to a solution without resorting to Solutions.
https://fsharpforfunandprofit.com/posts/the-option-type/
Nice to see a pipeline in powershell. No handling of upper and lowercase though. Think the question had leading caps but I guess they didn't test on that?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution