package quicklens
- Alphabetic
- By Inheritance
- quicklens
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- implicit class AbstractPathModifyPimp [T, U] extends AnyRef
- implicit class ModifyPimp [T] extends AnyRef
- case class PathModify [T, U](obj: T, doModify: (T, (U) ⇒ U) ⇒ T) extends Product with Serializable
- implicit class QuicklensAt [F[_], T] extends AnyRef
- trait QuicklensAtFunctor [F[_], T] extends AnyRef
- implicit class QuicklensEach [F[_], T] extends AnyRef
- trait QuicklensFunctor [F[_], A] extends AnyRef
- implicit class QuicklensMapAt [M[KT, TT] <: Map[KT, TT], K, T] extends AnyRef
- trait QuicklensMapAtFunctor [F[_, _], K, T] extends AnyRef
- implicit class QuicklensWhen [A] extends AnyRef
Value Members
- implicit def mapQuicklensFunctor[M[KT, TT] <: Map[KT, TT], K, T](implicit cbf: CanBuildFrom[M[K, T], (K, T), M[K, T]]): QuicklensMapAtFunctor[M, K, T]
-
macro
def
modify[T, U](obj: T)(path: (T) ⇒ U): PathModify[T, U]
Create an object allowing modifying the given (deeply nested) field accessible in a
case classhierarchy viapathon the givenobj.Create an object allowing modifying the given (deeply nested) field accessible in a
case classhierarchy viapathon the givenobj.All modifications are side-effect free and create copies of the original objects.
You can use
.eachto traverse options, lists, etc. -
macro
def
modifyAll[T, U](obj: T)(path1: (T) ⇒ U, paths: (T) ⇒ U*): PathModify[T, U]
Create an object allowing modifying the given (deeply nested) fields accessible in a
case classhierarchy viapathson the givenobj.Create an object allowing modifying the given (deeply nested) fields accessible in a
case classhierarchy viapathson the givenobj.All modifications are side-effect free and create copies of the original objects.
You can use
.eachto traverse options, lists, etc. - implicit def optionQuicklensFunctor[A]: QuicklensFunctor[Option, A]
- implicit def seqQuicklensFunctor[F[_], T](implicit cbf: CanBuildFrom[F[T], T, F[T]], ev: (F[T]) ⇒ SeqLike[T, F[T]]): QuicklensAtFunctor[F, T]
- implicit def traversableQuicklensFunctor[F[_], A](implicit cbf: CanBuildFrom[F[A], A, F[A]], ev: (F[A]) ⇒ TraversableLike[A, F[A]]): QuicklensFunctor[F, A]
- object QuicklensMacros