HN user

thowruasdf

7 karma
Posts0
Comments2
View on HN
No posts found.

The downside is now all types must dogmatically have a nullary constructor.

The Default typeclass (or trait) as seen in Haskell and Rust, is a far better design, as this makes the feature opt-in for data types that truly support them.