---
title: "Discussion on \"F# tips weekly #5: Discriminated Union Types\" | Hashnode"
description: "Discussion on \"F# tips weekly #5: Discriminated Union Types\". This week, we'll look at some interesting details about Discriminated Union types.\nTuple vs. Multiple Fields\nThere is a subtle difference between these two cases of Discriminated Union (DU):\ntype DU = \n    | A of int * string\n    | B of (int * string..."
url: "https://hashnode.com/posts/f-tips-weekly-5-discriminated-union-types/65c47c16f4653d51b494244b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [F# tips weekly #5: Discriminated Union Types](https://jindraivanek.hashnode.dev/f-tips-weekly-5-discriminated-union-types?utm_source=hashnode&utm_medium=feed)

This week, we'll look at some interesting details about Discriminated Union types. Tuple vs. Multiple Fields There is a subtle difference between these two cases of Discriminated Union (DU): type DU = | A of int \* string | B of (int \* string...

Feb 8, 2024 · 3 min read · jindraivanek.hashnode.dev  
Read the article

-   [#fsharp](https://hashnode.com/tag/fsharp)
-   [#discriminated-union-types](https://hashnode.com/tag/discriminated-union-types)

## Written by

[Jindřich Ivánek](https://hashnode.com/@jindraivanek)

@jindraivanek · Prague, Czech Republic

  
[View profile](https://hashnode.com/@jindraivanek)

F# developer

Software developer focused mainly on F#, with a passion for functional programming, problem solving, efficient algorithms and programming languages. I have a strong computer science background, focused mainly in graph theory and graph algorithms; also was intrigued by data structures, complexity, and computability theory. Experienced with backend F# programming. I worked with mathematical optimization (mixed integer programming) and use of statistical methods as well. I contributed to several open source F# projects, mostly around developer tooling.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
