Hacker News new | ask | show | jobs
by logicchains 3884 days ago
The ship's probably sailed on this, but is there any chance of Rust getting a module system like OCaml's (or Haskell's upcoming Backpack) in future? Or is there a way to provide module signatures with the current module system?
1 comments

Never say never, but I'm not aware of anyone who's even working on thinking about suggesting it. That'd be step one, creating an RFC which thinks through the design.
There's this: https://internals.rust-lang.org/t/traits-ml-modules/272, but it didn't seem to get anywhere.
Right, that was just a few posts, a long time ago, and never really came close to being a serious proposal.