logoalt Hacker News

randomdata11/09/20241 replyview on HN

Exactly. One describes a type, the other a numberer. Very different concepts, even if the latter is often used in the implementation of the former (e.g. in Pascal and Rust). Glad to see you are past your earlier confusion.


Replies

samatman11/09/2024

You do not understand what a sum type is. At all.

There are innumerable ways you can rectify this lack of understanding if you want to.

show 1 reply