Mutare.Decimal.DivRem (mutare_decimal v0.2.1)

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)}

A pipe stage is the call it stands for, so left |> Decimal.div_rem(right) is rebuilt the same way.

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.