typelevel/cats

typeclass-based collections implementations

Open

#4,147 opened on Mar 9, 2022

View on GitHub
 (28 comments) (2 reactions) (0 assignees)Scala (1,241 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (5,438 stars)
PR merge metrics
 (Avg merge 4h 2m) (5 merged PRs in 30d)

Description

This is a recurring idea, most recently by @johnynek in https://github.com/typelevel/cats/pull/4118#issuecomment-1022714696.

i.e. we should work towards having a typeclass based implementation of HashSet, SortedSet, HashMap, SortedMap that use only typeclasses, not the instance methods.

Although the issue comes up in Cats since this is where we house instances for Scala stdlib, this might be a better PR for cats-collections.

Contributor guide