ldbc.schema.interpreter.ColumnTuples.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ldbc-schema_native0.4_3 Show documentation
Show all versions of ldbc-schema_native0.4_3 Show documentation
Type safety schema construction project
The newest version!
/**
* Copyright (c) 2023-2024 by Takahiko Tominaga
* This software is licensed under the MIT License (MIT).
* For more information see LICENSE or https://opensource.org/licenses/MIT
*/
package ldbc.schema.interpreter
/**
* Type to convert type from Tuple to Tuple in Colum.
*
* @tparam Types
* Tuple Type
* @tparam F
* Column Type
*/
type ColumnTuples[Types <: Tuple, F[_]] = Types match
case t *: EmptyTuple => F[t]
case _ => Tuple.Map[Types, F]