io.hireproof.structure.syntax.IdOps.scala Maven / Gradle / Ivy
The newest version!
package io.hireproof.structure.syntax
import io.hireproof.structure.|*|
final class IdOps[A](a: A) {
def |*|[B](b: B): A |*| B = (a, b)
}
object IdOps {
trait To {
implicit def toIdOps[A](a: A): IdOps[A] = new IdOps(a)
}
}
object id extends IdOps.To
© 2015 - 2024 Weber Informatics LLC | Privacy Policy