title: In order traversal of tree in scheme
body: <p>I would like to walk inorder through a Tree whose nodes contain an integer and return #t if all numbers are in order (i.e. the next number is greater or equal than the previous number).</p>
  
  <p>My attempt so far</p>
  
  <pre><code> (define (in-order tree number)  
      (cond [(leaf? tree) (&gt;= leafnumber  number)]
            [(cons? leftsubtree) (in-order leftsubtree leftnumber)]
            [(cons? rightsubtree) (in-order rightsubtree rightnumber)]))
  </code></pre>
  
  <p>Somehow my number arguments seem to be wrong when I switch branches.
  Do I need to use another variable to store these?</p>