You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return$ma->bind(function ($a) use ($mb, $transformation) {
return$mb->bind(function ($b) use ($a, $transformation) {
return$transformation($a, $b);
});
});
}
)(...func_get_args());
}
It seems to be like bind2.
Am I missing something?
Thanks
The text was updated successfully, but these errors were encountered:
ilario-pierbattista
changed the title
liftM2 documentation seems not coherent with its implementation
liftM2 documentation seems not coherent with its implementation
Jul 25, 2019
Hi,
I was looking to the documentation of
liftM2
:php-functional/src/Functional/functions.php
Line 384 in e5f9d60
which is similar to the haskell version.
However the implementation seems to be wrong:
$transformation
is not used as a pure function.php-functional/src/Functional/functions.php
Lines 396 to 415 in e5f9d60
It seems to be like bind2.
Am I missing something?
Thanks
The text was updated successfully, but these errors were encountered: