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

It is basically a hack to export the type but not the type constructor. It stops people from doing things like

    let new_socket = OpenSocket { port: 12 };


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

Search: