title: "does not take parameters" when chaining method calls without periods
body: <p>I have a class:</p>
  
  <pre><code>class Greeter {
      def hi = { print ("hi"); this }
      def hello = { print ("hello"); this }
      def and = this
  }
  </code></pre>
  
  <p>I would like to call the <code>new Greeter().hi.and.hello</code> as <code>new Greeter() hi and hello</code></p>
  
  <p>but this results in:</p>
  
  <pre class="lang-none prettyprint-override"><code>error: Greeter does not take parameters
                g hi and hello   
                  ^
  (note: the caret is under "hi")
  </code></pre>
  
  <p>I believe this means that Scala is takes the <code>hi</code> as <code>this</code> and tries to pass the <code>and</code>. But <code>and</code> is not an object. What can I pass to <code>apply</code> to chain the call to the <code>and</code> method?</p>