Hacker News new | ask | show | jobs
by throwaway23329 1421 days ago
As much as I like Dhall, it needs unions like in typescript so we don't see `Some` littered everywhere.
1 comments

Like other forms of subtyping, unions make type inference much harder - typically undecidable. This is, of course, incompatible with guaranteed termination.