WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 46972336

(no title)

Akronymus | 18 days ago

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...

discuss

order

No comments yet.

powered by hn/api // news.ycombinator.com