Specializing based on const values/fns?

Unfortunately, that does not (yet) work in a generic context, as the compiler doesn't know that the impls for true and false cover all possibilities:

This has been discussed before: