Cats Api Documentation

Version: 2.2.0

cats.context

A cats context management.

context?

(context? v)

Return true if the provided value satisfies the Context protocol.

get-current

deprecated

(get-current & args)

Deprecated alias to infer.

with-context

macro

(with-context ctx & body)

Set current context to specific monad.

with-context-override

macro

(with-context-override ctx & body)

Set current context to specific monad.

with-monad

macro

(with-monad ctx & body)

Semantic alias for with-context.