Skip to content

Uniquify implicit names #1061

Closed
Closed
@non

Description

@non

Paul Phillips mentions that in a widely-used library it's important to minimize the chance that the names of its implicits will be used by others. To that end I suggest that we review our implicits and rename them according to the following rules:

  1. Make sure that the implicits start with cats -- it's less likely that a third-party will do this.
  2. Make sure that both the type and the type class are mentioned in the name.

So for example, for Monoid[List[A]] the name should be something like catsMonoidForList or similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions