Package

com.softwaremill

quicklens

Permalink

package quicklens

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. quicklens
  2. LowPriorityImplicits
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class AbstractPathModifyPimp[T, U] extends AnyRef

    Permalink
  2. case class LensHelper[T] extends Product with Serializable

    Permalink
  3. implicit class ModifyPimp[T] extends AnyRef

    Permalink
  4. case class MultiLensHelper[T] extends Product with Serializable

    Permalink
  5. case class PathLazyModify[T, U](doModify: (T, (U) ⇒ U) ⇒ T) extends Product with Serializable

    Permalink
  6. case class PathModify[T, U](obj: T, doModify: (T, (U) ⇒ U) ⇒ T) extends Product with Serializable

    Permalink
  7. implicit class QuicklensAt[F[_], T] extends AnyRef

    Permalink
  8. trait QuicklensAtFunctor[F[_], T] extends AnyRef

    Permalink
  9. implicit class QuicklensEach[F[_], T] extends AnyRef

    Permalink

    QuicklensEach is in LowPriorityImplicits to not conflict with the QuicklensMapAtFunctor on each calls.

    QuicklensEach is in LowPriorityImplicits to not conflict with the QuicklensMapAtFunctor on each calls.

    Definition Classes
    LowPriorityImplicits
  10. implicit class QuicklensEither[T[_, _], L, R] extends AnyRef

    Permalink
  11. trait QuicklensEitherFunctor[T[_, _], L, R] extends AnyRef

    Permalink
  12. trait QuicklensFunctor[F[_], A] extends AnyRef

    Permalink
  13. implicit class QuicklensMapAt[M[KT, TT], K, T] extends AnyRef

    Permalink
  14. trait QuicklensMapAtFunctor[F[_, _], K, T] extends AnyRef

    Permalink
  15. implicit class QuicklensSingleAt[F[_], T] extends AnyRef

    Permalink
  16. trait QuicklensSingleAtFunctor[F[_], T] extends AnyRef

    Permalink
  17. implicit class QuicklensWhen[A] extends AnyRef

    Permalink

Value Members

  1. object QuicklensMacros

    Permalink
  2. implicit def eitherQuicklensFunctor[T[_, _], L, R]: QuicklensEitherFunctor[Either, L, R]

    Permalink
  3. 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]

    Permalink
  4. macro def modify[T, U](obj: T)(path: (T) ⇒ U): PathModify[T, U]

    Permalink

    Create an object allowing modifying the given (deeply nested) field accessible in a case class hierarchy via path on the given obj.

    Create an object allowing modifying the given (deeply nested) field accessible in a case class hierarchy via path on the given obj.

    All modifications are side-effect free and create copies of the original objects.

    You can use .each to traverse options, lists, etc.

  5. macro def modifyAll[T, U](obj: T)(path1: (T) ⇒ U, paths: (T) ⇒ U*): PathModify[T, U]

    Permalink

    Create an object allowing modifying the given (deeply nested) fields accessible in a case class hierarchy via paths on the given obj.

    Create an object allowing modifying the given (deeply nested) fields accessible in a case class hierarchy via paths on the given obj.

    All modifications are side-effect free and create copies of the original objects.

    You can use .each to traverse options, lists, etc.

  6. def modifyAllLens[T]: MultiLensHelper[T]

    Permalink
  7. def modifyLens[T]: LensHelper[T]

    Permalink
  8. implicit def optionQuicklensFunctor[A]: QuicklensFunctor[Option, A] with QuicklensSingleAtFunctor[Option, A]

    Permalink
  9. implicit def seqQuicklensAtFunctor[F[_], T](implicit cbf: CanBuildFrom[F[T], T, F[T]], ev: (F[T]) ⇒ SeqLike[T, F[T]]): QuicklensAtFunctor[F, T]

    Permalink
  10. implicit def traversableQuicklensFunctor[F[_], A](implicit cbf: CanBuildFrom[F[A], A, F[A]], ev: (F[A]) ⇒ TraversableLike[A, F[A]]): QuicklensFunctor[F, A]

    Permalink

Inherited from LowPriorityImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped