-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addition derived combinators for Monad, Appliicative #823
Comments
def replicateA[F[_] : Applicative, A](n: Int, fa: F[A]): F[List[A]] =
List.fill(n)(fa).sequence |
I took a shot at adding
Since Is there another way I should try and implement this, or am I being naive in wanting to add this combinator? |
@lukewyman I think |
...and indeed, it did. Thanks, @ceedubs. |
Should this one be closed now that #830 has been merged - or am I wrong and is there something left on it? |
It sounds like all of these are taken care of except for |
Do we want to have any/all of the following derived combinators for cats structures such as Monad and Applicative?
The text was updated successfully, but these errors were encountered: