serokell / universum

:milky_way: Prelude written in @Serokell
MIT License
176 stars 28 forks source link

Introduce type class for 'Set/Map'-like things #138

Open chshersh opened 6 years ago

chshersh commented 6 years ago

I propose to think of type class for Map-like things. This is really convenient to have. For example, if you want to insert into newtype wrappers around Map/HashMap. mono-traversable has type classes for Map * Set-like things. So maybe we should have something similar.

What do you think? Please, share your thoughts!

chshersh commented 6 years ago

Seems related:

chshersh commented 6 years ago

Another relevant discussion: