New blog post on an introduction to discriminated unions and pattern matching in #fsharp

https://blog.samirparikh.com/2026/03/discriminated-unions-and-pattern-matching-in-fsharp.html

Discriminated Unions and Pattern Matching in F#

I’m starting to kick the tires on discriminated unions and pattern matching as I continue to learn about F#. While not exactly the same thi...

I wrote a follow up to this post on what I think is a better way to represent a deck of cards. #fsharp

https://blog.samirparikh.com/2026/03/deck-of-cards.html

Deck of Cards

In my last post , I used the analogy of creating a deck of cards to illustrate the relationship between discriminated unions and pattern mat...