Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Better ToString implementation for Result #719
Better ToString implementation for Result
I propose we improve the
> Result.Ok "Hello, world. " ;; val it : Result<string,'a> > Option.Some "Hello, world. " ;; val it : string option = Some "Hello, world. "
As you can see,
Currently, the user needs to do some kind of
Pros and Cons
The advantages of making this adjustment to F# are:
The disadvantages of making this adjustment to F# are... none that I can think of.
Estimated cost (XS, S, M, L, XL, XXL): XS
Related suggestions: (put links to related suggestions here)
Affidavit (please submit!)
Please tick this by placing a cross in the box:
Please tick all that apply:
Oh I understand.
The problem is that F# considers
So this is really per-spec, or a suggestion to print generic (generalized) values differently.