Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package dwolla
    Definition Classes
    com
  • package tagless
    Definition Classes
    dwolla
  • package scalacache

    Provides cats-tagless instances for ScalaCache's Cache trait.

    Provides cats-tagless instances for ScalaCache's Cache trait.

    Definition Classes
    tagless
  • CacheOps
p

com.dwolla.tagless

scalacache

package scalacache

Provides cats-tagless instances for ScalaCache's Cache trait.

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. scalacache
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final class CacheOps[F[_], K, V] extends AnyVal

Value Members

  1. implicit def cacheInvariantK[K, V]: InvariantK[[α$0$[_$1]]Cache[α$0$, K, V]]

    An InvariantK[Cache[*[_], K, V]] instance for arbitrary K and V types.

    An InvariantK[Cache[*[_], K, V]] instance for arbitrary K and V types. This must be InvariantK and not e.g. FunctorK because of the F[V] parameter on the cachingF method.

  2. implicit val flagsEncoder: Codec[Flags]
  3. implicit def toCacheOps[F[_], K, V](cache: Cache[F, K, V]): CacheOps[F, K, V]
  4. def weaveCache[F[_], Dom[_], Cod[_], K, V](af: Cache[F, K, V])(implicit DomK: Dom[K], DomV: Dom[V], CodV: Cod[V], DomF: Dom[Flags], COV: Cod[Option[V]], DOD: Dom[Option[Duration]], CodU: Cod[Unit], DomS: Dom[String]): Cache[[δ$1$]Weave[F, Dom, Cod, δ$1$], K, V]

    An implementation of Cache[Aspect.Weave[F, Cod, Dom, *], K, V] cannot be auto-derived via Derive.aspect because the cachingF method has an F[V] parameter.

    An implementation of Cache[Aspect.Weave[F, Cod, Dom, *], K, V] cannot be auto-derived via Derive.aspect because the cachingF method has an F[V] parameter. We handle it here by kind of cheating, and essentially hard-coding a F ~> Aspect.Weave[F, Cod, Dom, *] for it.

    See the comment in CacheWeaveFunctionK below.

Inherited from AnyRef

Inherited from Any

Ungrouped