original_string: public function bind(callable $codeBlock)
      {
          return static::unit(function ($result) use ($codeBlock) {
              $result = $this->run($result);
              if ($result instanceof Success) {
                  return $codeBlock($result);
              } else {
                  return $result;
              }
          });
      }
code: public function bind(callable $codeBlock)
      {
          return static::unit(function ($result) use ($codeBlock) {
              $result = $this->run($result);
              if ($result instanceof Success) {
                  return $codeBlock($result);
              } else {
                  return $result;
              }
          });
      }
code_tokens: public function bind ( callable $ codeBlock ) { return static :: unit ( function ( $ result ) use ( $ codeBlock ) { $ result = $ this -> run ( $ result ) ; if ( $ result instanceof Success ) { return $ codeBlock ( $ result ) ; } else { return $ result ; } } ) ; }
docstring: Returns a new Attempt monad that is bound to the given code-block.
  
  @param callable $codeBlock
  
  @return Attempt
docstring_tokens: Returns a new Attempt monad that is bound to the given code - block .