Skip to content

Make viewness of mapValues / filterKeys more obvious #10919

Closed
@lrytz

Description

@lrytz

@Ichoran suggests to rename them to mappedValueView / filteredKeyView (#4776 (comment)).

For naming, I think mapValuesView / filterKeysView would be more consistent, as the strict methods are called map / filter (not mapped / filtered).

"Alternatively, return a value class with a single method, view, that gives out the view"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions