Module Preface_specs.Writer

A Writer monad parametrized over an inner Monad and an tape which is a Monoid. Writer is a monad transformer.

Structure anatomy

module type CORE = sig ... end

Operation of Writer monad parametrized over an inner monad and a monoidal tape.

Complete API

module type API = sig ... end

The complete interface of a Writer monad which introduces the Monad API into the Writer API.