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.
open Microsoft.FSharp.Collections
needed for?str.ToString()
instead of juststr
?if x = true then...
? Why not justif x then ...
?Needs proper random testing, randomised order of fixed inputs is insufficient.
I added a method return type annotation.
The translation should be ready now... I hope.
I made the sure the setup solution section does not causes compiler issues, I did this by just returning the argument because that's a string.
Does that work?
I just updated the solution again to remove all the .[] array indexing and just used [] for F# 6.
Okay, I will remove the f# section and the tests realted to that. I will leave the working solution the same though because it's complete.
I don't think that the scenarion is so important as to update all the rest of the languages.
This comment is hidden because it contains spoiler information about the solution