Re:Why Haskell?
by SkiFire13 on Thursday September 12, 2024 @04:38PM
(#41525280)
You don't really need `String|Integer`, for most usecases an isomorphic type that you can exhaustively pattern match on is more than enough, and sealed classes (along with the support in `switch` expressions) does exactly that.
[ Parent
| on HN ]
There are no comments on this comment yet.