Type families and type inference - a question