View Source Lens2.Lenses (Lens 2 v0.2.1)

Aggregates all the lenses in Lens2.Lenses.Combine, Lens2.Lenses.Enum, Lens2.Lenses.Filter, Lens2.Lenses.Indexed, and Lens2.Lenses.Keyed.

Traditionally, this module is aliased to Lens, so that the makers have the same name as in the Lens 1 package. See the Lens2 module.

Summary

Functions

Functions

See Lens2.Lenses.Enum.all/0.

Link to this function

and_repeatedly(descender)

View Source

See Lens2.Lenses.Combine.and_repeatedly/1.

See Lens2.Lenses.Indexed.at/1.

See Lens2.Lenses.Indexed.back/0.

See Lens2.Lenses.Indexed.before/1.

See Lens2.Lenses.Indexed.behind/1.

See Lens2.Lenses.Combine.both/2.

See Lens2.Lenses.Combine.const/1.

Link to this function

context(context_lens, item_lens)

View Source

See Lens2.Lenses.Combine.context/2.

See Lens2.Lenses.Combine.either/2.

See Lens2.Lenses.Combine.empty/0.

See Lens2.Lenses.Filter.filter/1.

See Lens2.Lenses.Filter.filter/2.

See Lens2.Lenses.Indexed.front/0.

See Lens2.Lenses.Indexed.index/1.

See Lens2.Lenses.Indexed.indices/1.

See Lens2.Lenses.Enum.into/2.

See Lens2.Lenses.Keyed.key/1.

See Lens2.Lenses.Keyed.key!/1.

See Lens2.Lenses.Keyed.key?/1.

See Lens2.Lenses.Keyed.key_path!/1.

See Lens2.Lenses.Keyed.keys/1.

See Lens2.Lenses.Keyed.keys!/1.

See Lens2.Lenses.Keyed.keys?/1.

See Lens2.Lenses.Keyed.map_keys/0.

See Lens2.Lenses.Keyed.map_values/0.

See Lens2.Lenses.Combine.match/1.

See Lens2.Lenses.Combine.multiple/1.

See Lens2.Lenses.Combine.recur/1.

See Lens2.Lenses.Combine.recur_root/1.

See Lens2.Lenses.Filter.reject/2.

See Lens2.Lenses.Combine.repeatedly/1.

See Lens2.Lenses.Combine.root/0.

See Lens2.Lenses.Combine.seq/2.

See Lens2.Lenses.Combine.seq_both/2.

Link to this function

update_into(collectable, lens)

View Source

See Lens2.Lenses.Enum.update_into/2.