trait PlatedFunctions extends CommonPlatedFunctions
Ordering
- Alphabetic
- By Inheritance
Inherited
- PlatedFunctions
- CommonPlatedFunctions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def children[A](a: A)(implicit arg0: Plated[A]): List[A]
get the immediate self-similar children of a target
- def plate[A](implicit P: Plated[A]): Traversal[A, A]
Traversal of immediate self-similar children
Traversal of immediate self-similar children
- Definition Classes
- CommonPlatedFunctions
- def rewrite[A](f: (A) => Option[A])(a: A)(implicit arg0: 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)
- 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)
- def transform[A](f: (A) => A)(a: A)(implicit arg0: Plated[A]): A
transform every element
- def transformCounting[A](f: (A) => Option[A])(a: A)(implicit arg0: Plated[A]): (Int, A)
transforming counting changes
- def transformM[A, M[_]](f: (A) => M[A])(a: A)(implicit arg0: Plated[A], arg1: Monad[M]): M[A]
transforming every element using monadic transformation
- def transformOf[A](l: Setter[A, A])(f: (A) => A)(a: A): A
transform every element by applying a Setter
- def universe[A](a: A)(implicit arg0: Plated[A]): LazyList[A]
get all transitive self-similar elements of a target, including itself