title: Example of apply other than + in Racket
body: <p>If 'apply' applies the given function to all elements of list, why following does not work: </p>
  
  <pre><code>&gt; (apply println (list "a" "b" "c"))
  . . println: contract violation
    expected: output-port?
    given: "b"
    argument position: 2nd
    other arguments...:
  &gt; 
  </code></pre>
  
  <p>The example given in both <a href="https://docs.racket-lang.org/reference/procedures.html" rel="nofollow">https://docs.racket-lang.org/reference/procedures.html</a> and <a href="https://docs.racket-lang.org/guide/application.html" rel="nofollow">https://docs.racket-lang.org/guide/application.html</a> relate to add (+) function. Could someone provide other examples of apply and explain how it really works. Thanks.</p>