Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I only skimmed the paper, but how do holes in the type system differ from e.g. `!` in Rust or `never` in TypeScript?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: