Mutare.Decimal.Context (mutare_decimal v0.1.0)

Copy Markdown View Source

:decimal_context — mutates Decimal.Context usage.

The family removes or weakens context operations:

Decimal.Context.with(context, fun) # -> fun.()
Decimal.Context.set(context)       # -> :ok
Decimal.Context.update(fun)        # -> :ok

Piped context calls are skipped because replacing a pipe stage with a literal or a direct zero-arity function call would not be compile-safe.

Summary

Functions

The context-operation labels accepted by qualified ignores.

Functions

variants()

@spec variants() :: [atom()]

The context-operation labels accepted by qualified ignores.