Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Implement Map.filterM #1980
Implement Map.filterM #1980
Comments
|
Contributions are always welcome :) I think it could be implemented for more than just def filterM[M[_]: Monad, K, V](fa: K ==>> V)(f: (K, V) => M[Boolean]): M[K ==>> V]? |
|
kida, yes filterM[F[_]](p: B => F[Boolean])(implicit F: Applicative[F], o: Order[A]): F[A ==>> B]to be more precise |
|
@sideeffffect either way, please open a pull request if you have an implementation; that's the easiest way to get a new feature |
|
sorry, for complicated corporate reasons, it will take weeks before I will open a PR for this -- I just wanted to test the waters that it's even conceivable that something like that function would be accepted |
I would like to contribute
filterMforscalaz.Mapakascalaz.==>>would such contribution be welcome?