4 ms·
I would say this is fairly accurate, yeah. We got rid of purity in Rust, we didn't find it useful. HKT, variadic generics, and type-level integers are all thing
by steveklabnik 11y ago
I would say this is fairly accurate, yeah. We got rid of purity in Rust, we didn't find it useful. HKT, variadic generics, and type-level integers are all things we want to do in the future.
- logicchains 11y agoThe 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?
- steveklabnik 11y agoNever 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.
- logicchains 11y agoThere's this: https://internals.rust-lang.org/t/traits-ml-modules/272 https://internals.rust-lang.org/t/traits-ml-modules/272, but it didn't seem to get anywhere.
- steveklabnik 11y agoRight, that was just a few posts, a long time ago, and never really came close to being a serious proposal.