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

> It’s neither type-safe nor unambiguous.

How'd you get here? It's exactly as type-safe as the unwrapped hash table, which is admittedly not especially type-safe, and it's fully unambiguous.



> It's exactly as type-safe as the unwrapped hash table, which is admittedly not especially type-safe

Yes.

> and it's fully unambiguous.

No, you have any random value flagged as not present (in fact you can forget about or ignore the flag entirely), and no clue if that means anything.


Can you provide an example of what you mean by "ambiguity"?




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

Search: