Search code examples
f#workflowoption-typemonads

Is there a standard option workflow in F#?


Is there an option (maybe) wokflow (monad) in the standrd F# library?

I've found a dozen of hand-made implementations (1, 2) of this workflow, but I don't really want to introduce non-standard and not very trusted code into my project. And all imaginable queries to google and msdn gave me no clue where to find it.


Solution

  • There's no Maybe monad in the standard F# library. You may want to look at FSharpx, a F# extension written by highly-qualified members of F# community, which has quite a number of useful monads.