Hacker News new | ask | show | jobs
by Nullabillity 745 days ago
You can forbid static values and require it to be a function.

Generally, static languages will just culturally be less likely to have this kind of invisible "T | (() -> T)" overload.