All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.meta.contrib.implicits.SetExtensions.scala Maven / Gradle / Ivy

There is a newer version: 4.12.2
Show newest version
package scala.meta.contrib.implicits

import scala.meta._
import scala.meta.contrib._
import scala.meta.contrib.equality.Structurally
import scala.meta.contrib.equality.Syntactically

trait SetExtensions {
  implicit class SetEnrichments[A <: Tree](set: Set[A]) {
    def structurally: Set[Structurally[A]] = set.map(Structurally(_))

    def syntactically: Set[Syntactically[A]] = set.map(Syntactically(_))
  }
}

object SetExtensions extends SetExtensions




© 2015 - 2025 Weber Informatics LLC | Privacy Policy