Implicit parameter constraints not inferred