Skip to content

Project Submission: scala2-notgiven-compat #171

@bpholt

Description

@bpholt

Project Name

scala2-notgiven-compat

(Definitely open to a rename, that's not particularly inspired 😆)

Project Short Description

Scala 3 introduced scala.util.NotGiven: a special class used to implement negation in implicit search.

While techniques existed to implement this functionality in Scala 2, the NotGiven trait was not backported to Scala 2. This makes cross-compilation more frustrating than it needs to be, so this library was created to make a single compat.NotGiven available to Scala 2.12, 2.13, and 3.

This is based on prior work by Shapeless and fs2.

Any project that already includes fs2 can use fs2.compat.NotGiven. But it would be nice to have this available without pulling in all of fs2 for projects that wouldn't already have it as a dependency.

Project Type

In accordance with the Typelevel Charter, I am proposing the project be a:

  • Organization Project
  • Affiliate Project

Project Management

All Typelevel projects follow the Typelevel Code of Conduct.
Organization projects do not need a CODE_OF_CONDUCT.md file, as the Typelevel GitHub Organization one will automatically apply.

Similarly, Typelevel projects must have an appropriate license, as specified in the Typelevel Charter.
Please make sure that the project's license is on the approved list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    projectsRequests to join or leave the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions