typelevel/cats

typeclass-based collections implementations

Open

#4147 aperta il 9 mar 2022

Vedi su GitHub
 (28 commenti) (2 reazioni) (0 assegnatari)Scala (1241 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (5438 star)
Metriche merge PR
 (Merge medio 4h 2m) (5 PR mergiate in 30 g)

Descrizione

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.

Guida contributor