News for hackers. Stuff that matters.
Re:Parse, Don't Validate (2019) by Akronymus on Wednesday February 11, 2026 @03:28AM (#46972336)
In f# you can use a single case discriminated union to get that behaviour fairly cheaply, and ergonomically.

https://fsharpforfunandprofit.com/posts/designing-with-types...

There are no comments on this comment yet.