News for hackers. Stuff that matters.
Re:RustgreSQL by eddyb on Tuesday January 10, 2017 @05:31AM (#13363904)
If that is what I think it is, see https://docs.rs/indexing for something similar, crafted from invariance over higher-ranked lifetimes, instead of types.

I don't think Rust can ever replicate the Haskell implementation identically (if we had HRTB over types), as type parametrism is gone (see: specialization RFC). However, lifetime parametrism serves a similar role in Rust, and lifetimes are closer to a concept of "instance" than types.

There are no comments on this comment yet.