* @param callable $transformation
* @param Functor $value
*/
-function map(callable $transformation = null, Functor $value = null)
+function map(callable $transformation, Functor $value = null)
{
return curryN(2, function (callable $transformation, Functor $value) {
return $value->map($transformation);
* @param callable $function
* @param Monad $value
*/
-function bind(callable $function = null, Monad $value = null)
+function bind(callable $function, Monad $value = null)
{
return curryN(2, function (callable $function, Monad $value) {
return $value->bind($function);