Basic reformatting for readability.
Changed single-pattern 'function' expressions to use parameter pattern-matching instead.
Made a few minor simplifications, e.g., lifting common subexpressions out of branches.
Change help text to use string literals.
Minor simplifications, e.g., using eprintfn instead of stderr.WriteLine.