zlacker

[parent] [thread] 1 comments
1. therei+(OP)[view] [source] 2024-02-24 11:05:36
It is like S: where S = []E where E: comperable.

I like the way Rust has it a lot more but it is still imperfect and feels arbitrary in ways.

I find myself unsure where to put the templatization parameters and it doesn't feel perfectly symmetrical.

Unsure if impl MyType<T> where T: X

is comperable to impl MyType<T: X> Sometimes it needs impl<T> MyType<T> where T: X

replies(1): >>shakow+81
2. shakow+81[view] [source] 2024-02-24 11:22:23
>>therei+(OP)
Agreed, the Rust syntax is no golden standard either - but at least it's regular; this one really weirds me out.
[go to top]