Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It also comes up when you want compile time expressions as parameters to your generics:

    // nice and clean
    let a = Generic[T, A > B]::new(); 

    // gross curlies needed because of poor choices
    let a = Generic::<T, {A > B}>::new();




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

Search: