Hacker News new | past | comments | ask | show | jobs | submit login

Scott Wlaschin's "F# For Fun and Profit" website is a great resource for strongly-typed (yes) data modeling with sum types as a fundamental tool.

https://fsharpforfunandprofit.com/series/designing-with-type...

By the third entry in the linked series, we've motivated the use of a sum type with three variants in the example domain model.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: