Hacker News new | past | comments | ask | show | jobs | submit login

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?



You can't partially apply type parameters in rust, that is HKT. But traits & associated types in traits get you pretty far.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: