Y
Hacker News
new
|
ask
|
show
|
jobs
by
Smaug123
1688 days ago
But who needs sum types when you have the visitor pattern :troll_face:
https://blog.ploeh.dk/2018/06/25/visitor-as-a-sum-type/
1 comments
keithnz
1687 days ago
wow.....that is one way to do it.....yes. I would hate to think what a system would look like with many sum types in it
link