static function withEitherError($f) { return tink_core__Outcome_OutcomeMapper_Impl_::_new(array(new _hx_lambda(array(&$f), "tink_core__Outcome_OutcomeMapper_Impl__1"), 'execute')); }
static function flatMap($o, $mapper) { return tink_core__Outcome_OutcomeMapper_Impl_::apply($mapper, $o); }
function tink_core__Future_Future_Impl__12(&$f, &$map, $o) { return tink_core_OutcomeTools::flatMap($o, tink_core__Outcome_OutcomeMapper_Impl_::withSameError($map)); }