We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a30dc2 commit 89deb4cCopy full SHA for 89deb4c
core/src/main/scala/cats/Align.scala
@@ -84,7 +84,7 @@ trait Align[F[_]] extends Serializable {
84
* }}}
85
*/
86
def alignMergeWith[A](fa1: F[A], fa2: F[A])(f: (A, A) => A): F[A] =
87
- functor.map(align(fa1, fa2))(_.mergeWith(f))
+ alignWith(fa1, fa2)(_.mergeWith(f))
88
89
/**
90
* Same as `align`, but forgets from the type that one of the two elements must be present.
0 commit comments