Port CodeFormatting from C# to F#

Is this what you wanted?
I'll let you re-organize the files in other projects if necessary; at least the code is in F# :).