Writer.Core_over_monadmodule Monad : Preface_specs.MONADmodule Tape : Preface_specs.MONOIDtype tape = Tape.tThe encapsulated tape.
type 'a monad = 'a Monad.tThe inner monad.
tell helps to enrich the output. This is done thanks to the semigroup combine operation.
listen executes the effect and return both the result and the corresponding output within the effect.
Performs the action and adds the result of applying the function to the output to the value of the computation.
pass executes the effect and apply the function to the corresponding output.