Mutare.Decimal.Context (mutare_decimal v0.2.1)

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

A pipe stage is mutated as the call it stands for: context |> Decimal.Context.set() -> :ok.

Summary

Functions

The context-operation labels accepted by qualified ignores.

Functions

variants()

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

The context-operation labels accepted by qualified ignores.