Remix.run Logo
nukifw 4 days ago

Yes and my point was, when you want what you present in the first comment, quoting my post, you have tools for that, available in OCaml. But there is cases, when you do not want to treat each branch of your constructors "as a type", when the encoding of visitors is just rough. This is why I think it is nice to have sum type, to complete product type. So i am not sure why we are arguing :)

ackfoobar 4 days ago | parent [-]

> So i am not sure why we are arguing :)

I think we agree on a lot of points. The rest is mostly preferences. Some other comments in my thread though...

nukifw 4 days ago | parent [-]

Ok! (BTW, thanks for the interaction!)