Censor

@implicitNotFound("Could not find an implicit instance of Censor[${F}, ${L}]. If you wish\nto capture side-channel output of type ${L} at this location, you may want\nto construct a value of type WriterT for this call-site, rather than ${F}.\nAn example type:\n\n WriterT[${F}, ${L}, *]\n\nOne use-case for this would be if ${L} represents an accumulation of values\nwhich are produced by this function *in addition to* its normal results.\nThis can be used to implement some forms of pure logging.\n\nIf you do not wish to capture a side-channel of type ${L} at this location,\nyou should add an implicit parameter of this type to your function. For\nexample:\n\n (implicit fcensor: Censor[${F}, ${L}])\n") trait Censor[F[_], L] extends Listen[F, L]
Companion
object
trait Listen[F, L]
trait Tell[F, L]
trait Serializable
class Object
trait Matchable
class Any

Value members

Abstract methods

def censor[A](fa: F[A])(f: L => L): F[A]

Concrete methods

def clear[A](fa: F[A]): F[A]
final override def functor: Functor[F]
Definition Classes

Inherited methods

def listen[A](fa: F[A]): F[(A, L)]
Inherited from
Listen
def listens[A, B](fa: F[A])(f: L => B): F[(A, B)]
Inherited from
Listen
def tell(l: L): F[Unit]
Inherited from
Tell
def tuple[A](ta: (L, A)): F[A]
Inherited from
Tell
def writer[A](a: A, l: L): F[A]
Inherited from
Tell

Abstract fields

val applicative: Applicative[F]
val monoid: Monoid[L]