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

Tagged records are one possible in-memory representation of sum values, perhaps the most sensible one. But I don't want in-memory representations of sum values. I want sum values themselves.

ML modules are much more than generic packages. ML's module system allows you to take an existing module, hide some of its components, make some of its concrete types abstract, and get a new module. My methodology of enforcing only one invariant in each module is impracticable without ML modules.



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

Search: