▲ | jll29 4 days ago | |||||||
I'd say the Modula-2 inspired module system is a very valuable asset compared to today's Rust. The only contact with OCaml I had was that I wrote a bug report to a university professor because I wanted his tool to process one of my files, but the file was larger than OCaml's int type could handle. That itself wasn't the problem - he wrote it wasn't straight forward to fix it. (This is a bug of the type "couldn't have happened in Common LISP". But I guess even in C one could replace int by FILE_SIYE_TYPE and #define it as unsigned size_t, for instance). | ||||||||
▲ | pjmlp 4 days ago | parent [-] | |||||||
It is more the other way around ML predates Modula-2, and the module system like ideas were already present in Mesa and UCSD Pascal. :) | ||||||||
|