Sum and Product Types -The Fruit Salad & Fruit Snack Example - From F# to Haskell, Scala and Java. Inspired by the example in Scott Wlaschin’s F# book: Domain Modeling Made Functional. Download for better results. Java 19 Code: https://github.com/philipschwarz/fruit-salad-and-fruit-snack-ADT-example-java