
syntax.IdOps.scala Maven / Gradle / Ivy
// Copyright (c) 2018-2021 by Rob Norris
// This software is licensed under the MIT License (MIT).
// For more information see LICENSE or https://opensource.org/licenses/MIT
package skunk
package syntax
final class IdOps[A](a: A) {
def ~[B](b: B): A ~ B = (a, b)
}
trait ToIdOps {
implicit def toIdOps[A](a: A): IdOps[A] =
new IdOps(a)
}
object id extends ToIdOps
© 2015 - 2025 Weber Informatics LLC | Privacy Policy