Mutare.Mutators.CollectionArity (mutare v0.1.0)

Copy Markdown View Source

Changes collection calls to a related operation with fewer arguments:

The Access replacement also changes the result from {value, updated_container} to the value alone. Enum.reverse/2 is not mutated because its second argument is a list tail rather than a sorting refinement.

Direct, aliased, imported, and piped calls are supported. This family is enabled by default.