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

The way ML modules works seems to me like a much better deal: with interfaces and implementations. There's a proposal to have something similar done to Haskell.

[1] http://plv.mpi-sws.org/backpack/



Just like most module based languages.

What ML modules have as extra advantage over other module systems, is that they also exist as types.


In Go you can expose an interface, and often in the standard library they do.




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

Search: