Cats Api Documentation

Version: 0.5.0-SNAPSHOT

cats.monad.writer

The Writer Monad.

listen

deprecated

(listen mv)

Get the value from the log.

log

deprecated

pass

deprecated

(pass mv)

Apply a function to the log.

tell

deprecated

(tell v)

Add the value to the log.

writer

deprecated

(writer f)

The Writer type constructor.

The purpose of Writer type is wrap a simple function that fullfill the writer signature.

It exists just for avoid extend the clojure function type because is very generic type.

writer-transformer

deprecated

(writer-transformer inner-monad)

The Writer transformer constructor.

writer?

deprecated

(writer? s)

Return true if s is instance of Writer type.