handlers

turbolift.effects.WriterEffectExt.handlers
object handlers

Predefined handlers for this effect.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
handlers.type

Members list

Value members

Concrete methods

def local(using W: AccumZero[W, W1]): Handler[Identity, Tuple2, this.type, Any]
def localFold(using W =:= W1)(zero: W, plus: (W, W1) => W): Handler[Identity, Tuple2, this.type, Any]

Lile local, but accumulate with given function instead of typeclass.

Lile local, but accumulate with given function instead of typeclass.

Attributes

def shared(using W: AccumZero[W, W1]): Handler[Identity, Tuple2, this.type, IO]
def sharedFold(using W =:= W1)(zero: W, plus: (W, W1) => W): Handler[Identity, Tuple2, this.type, IO]

Lile shared, but accumulate with given function instead of typeclass.

Lile shared, but accumulate with given function instead of typeclass.

Attributes