`.<>`   is an extension method of tuples (or any value, which Slick knows to convert into a shape). It infers two type arguments. To help the type inferencer and make error messages better to understand you can split the inference  using `.shaped.<>` where each method infers one type argument each. This (`.shaped`) can be helpful for debugging or when splitting the code with a temporary variable as you did here.