Do you happen to have a link to an example or explanation?
Here is an example comparing C# with F#, where the latter also algebraic data types: https://blog.ploeh.dk/2016/11/28/easy-domain-modelling-with-...
Today, you write it in a similar way you would write a match in Rust.
I would instead recommend searching for “functional programming and domain driven design”.