Mutare.Decimal.DivRem (mutare_decimal v0.1.0)

Copy Markdown View Source

:decimal_div_rem — swaps the quotient/remainder positions produced from Decimal.div_rem/2.

The family replaces Decimal.div_rem/2 with the equivalent pair in the wrong order:

Decimal.div_rem(left, right)
# -> {Decimal.rem(left, right), Decimal.div_int(left, right)}

Piped calls are skipped because the first operand is not visible in the call node.

Summary

Functions

The tuple-position labels accepted by qualified mutare ignore directives.

Functions

variants()

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

The tuple-position labels accepted by qualified mutare ignore directives.