News for hackers. Stuff that matters.
Re:Ownership and Borrowing in D by logicchains on Tuesday July 16, 2019 @06:19AM (#20448810)
I stand corrected. Could the same technique also be used to have a struct parameterised by C and T that had a C as a member?
Re:Ownership and Borrowing in D by leshow on Tuesday July 16, 2019 @09:42AM (#20449911)
You can't partially apply type parameters in rust, that is HKT. But traits & associated types in traits get you pretty far.