title: Why these ormap and for/or functions giving error?
body: <p>I am trying to find out if any of the characters in a string is not a printable character <code>(integer value &gt; 127)</code>. I tried 2 functions, one with <code>ormap</code> and another with <code>for/or</code>, but both are not working: </p>
  
  <pre><code>(define (isBinary line)
    (for/or ([ch line])
      ((char-&gt;integer ch) &gt; 127)))
  
  (define (isBinary2 line)
    (ormap (lambda (ch) ((char-&gt;integer ch) &gt; 127)) (string-&gt;list line)))
  
  (displayln (isBinary "abcd1234"))
  (displayln (isBinary2 "abcd1234"))
  </code></pre>
  
  <p>Both give same error: </p>
  
  <pre><code>application: not a procedure;
   expected a procedure that can be applied to arguments
    given: 97
    arguments...:
  </code></pre>
  
  <p>Where is the problem and how can it be solved? Thanks for your help.</p>