it's allways a pain to work with F#'s Option values outside of F# - there you've got the Nullable-class this is a short snippet to convert Nullable<'a> to 'a option
2 people like thisPosted: 13 years ago by Carsten König
Everyone else has a concat, so why not Option.
2 people like thisPosted: 11 years ago by Simon Cousins
When printing None via printfn (or any of the other print functions for that matter), the result is
Posted: 11 years ago by Dave Fancher
For tutorial, example how to use option type.
3 people like thisPosted: 10 years ago by Tuomas Hietanen
Adding together Option types
5 people like thisPosted: 9 years ago by mavnn
Wrap TryParse in an option.
5 people like thisPosted: 9 years ago by Craig Boucher
This active pattern allows you to specify default values for option arguments in the signature of your function, so you can remove unnecessary calls to defaultArg. It also save you having to define a new name for the defaulted value.
21 people like thisPosted: 13 years ago by Kurt Schelfthout
I think the following function is useful allowing you to do an Option.map + defaultArg in one go (plus defaultArg argument order is a little annoying). Might need a better name.
3 people like thisPosted: 11 years ago by David Grenier
A function to initialize 2D array that supports failures - if the initializer fails to produce value for any of the array locations, the construction is stopped and the function returns 'None'
3 people like thisPosted: 10 years ago by Tomas Petricek
An extra primitive that can be used to safely unbox to Some
Posted: 10 years ago by 7sharp9
Safe get for the Option type
0 people like thisPosted: 9 years ago by let rec
Extension methods which greatly simplify using Option<'t> from C# code.
5 people like thisPosted: 8 years ago by Paulmichael Blasucci