Plated

object Plated extends PlatedFunctions
Companion
class
Source
Plated.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[A](traversal: Traversal[A, A]): Plated[A]

Inherited methods

def children[A](a: A)(`evidence$1`: Plated[A]): List[A]

get the immediate self-similar children of a target

get the immediate self-similar children of a target

Inherited from
PlatedFunctions
Source
Plated.scala
def plate[A](P: Plated[A]): Traversal[A, A]

Traversal of immediate self-similar children

Traversal of immediate self-similar children

Inherited from
CommonPlatedFunctions
Source
Plated.scala
def rewrite[A](f: A => Option[A])(a: A)(`evidence$2`: Plated[A]): A

rewrite a target by applying a rule as often as possible until it reaches a fixpoint (this is an infinite loop if there is no fixpoint)

rewrite a target by applying a rule as often as possible until it reaches a fixpoint (this is an infinite loop if there is no fixpoint)

Inherited from
PlatedFunctions
Source
Plated.scala
def rewriteOf[A](l: Setter[A, A])(f: A => Option[A])(a: A): A

rewrite a target by applying a rule within a Setter, as often as possible until it reaches a fixpoint (this is an infinite loop if there is no fixpoint)

rewrite a target by applying a rule within a Setter, as often as possible until it reaches a fixpoint (this is an infinite loop if there is no fixpoint)

Inherited from
PlatedFunctions
Source
Plated.scala
def transform[A](f: A => A)(a: A)(`evidence$3`: Plated[A]): A

transform every element

transform every element

Inherited from
PlatedFunctions
Source
Plated.scala
def transformCounting[A](f: A => Option[A])(a: A)(`evidence$4`: Plated[A]): (Int, A)

transforming counting changes

transforming counting changes

Inherited from
PlatedFunctions
Source
Plated.scala
def transformM[A, M[_]](f: A => M[A])(a: A)(`evidence$5`: Plated[A], `evidence$6`: Monad[M]): M[A]

transforming every element using monadic transformation

transforming every element using monadic transformation

Inherited from
PlatedFunctions
Source
Plated.scala
def transformOf[A](l: Setter[A, A])(f: A => A)(a: A): A

transform every element by applying a Setter

transform every element by applying a Setter

Inherited from
PlatedFunctions
Source
Plated.scala
def universe[A](a: A)(`evidence$7`: Plated[A]): LazyList[A]

get all transitive self-similar elements of a target, including itself

get all transitive self-similar elements of a target, including itself

Inherited from
PlatedFunctions
Source
Plated.scala

Implicits

Implicits

implicit def chainPlated[A]: Plated[Chain[A]]
implicit def cofreePlated[S[_], A](`evidence$8`: Traverse[S]): Plated[Cofree[S, A]]
implicit def freePlated[S[_], A](`evidence$9`: Traverse[S]): Plated[Free[S, A]]
implicit def lazyListPlated[A]: Plated[LazyList[A]]
implicit def listPlated[A]: Plated[List[A]]
implicit val stringPlated: Plated[String]
implicit def vectorPlated[A]: Plated[Vector[A]]