Tag Archives: F#

Functional Inspiration – A simple Option type

In F#, the option type is a built-in Discriminated Union type which allows to handle nicely the fact that an expression can represent some value or none. In C#, we have almost this construct when we use the Nullable<T>, but … Continue reading

Posted in Functional Inspiration | Tagged , | Comments Off

Functional Inspiration – Revisiting the With extension method

Return to the very first post for improvement This is the fourth entry of a blog series about how functional programming, and the F# training I recently went to, gives me inspiration in my day-to-day work in C#. It is … Continue reading

Posted in Functional Inspiration | Tagged , | Comments Off

Functional Inspiration – Irrelevantable, part 2

Trying to express something more than Nullable<T> Friday evening, the girls are in bed, the wife is out with friends… It seems that it is the perfect time to finish this post ! This is the third entry of a … Continue reading

Posted in Functional Inspiration | Tagged , | Comments Off

Functional Inspiration – Irrelevantable, part 1

Trying to express something more than Nullable<T> This is the second entry of a blog series about how functional programming, and the F# training I recently went to, gives me inspiration in my day-to-day work in C#. This post will … Continue reading

Posted in Functional Inspiration | Tagged , | Comments Off

Functional Inspiration – The With extension method

Adding a “With” extension method mimicking F# This is the first entry of a blog series about how functional programming, and the F# training I recently went to, gives me inspiration in my day-to-day work in C#. The first one … Continue reading

Posted in Functional Inspiration | Tagged , | Comments Off