handlers

turbolift.effects.PolyWriterEffect.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[W](using W: PlusZero[W]): Handler[Identity, Tuple2, @@[W], Any]
def localFold[W](zero: W, plus: (W, W) => W): Handler[Identity, Tuple2, @@[W], Any]

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

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

Attributes

def shared[W](using W: PlusZero[W]): Handler[Identity, Tuple2, @@[W], IO]
def sharedFold[W](zero: W, plus: (W, W) => W): Handler[Identity, Tuple2, @@[W], IO]

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

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

Attributes