HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by the-smug-one | Hacker News Reader
Parent
Full thread
the-smug-one
·
Why does the members be lazily init:ed?
View on HN
cornstalks
·
If the data types have constructors and/or destructors that have side effects then it has to be lazy. Otherwise IMO it's not really behaving like a sum type.
Reply on news.ycombinator.com