Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Asraelite
· 1y ago · 0 comments
I only skimmed the paper, but how do holes in the type system differ from e.g. `!` in Rust or `never` in TypeScript?
Comments
[–]
7h3kk1d
1y ago
Never in TypeScript is the equivalent of "bottom" where a value can never appear. The type holes in hazel are for incomplete types (during development) and work more like the any type in typescript where they are consistent with every value.