title: Removing n number of elements from a list in racket
body: <p>I am trying to create a procedure to delete n number of elements from a list starting at an index i, so far this is what I got:</p>
  
  <pre><code>(define (remove L i n)
   (cond ((null? L)
          '())
         ((and (= i 0) (= n 0))
          L)
         (else (cons (car L) (remove (cdr L) (- i 1) (+ n 1))))
  </code></pre>
  
  <p>I might be missing a condition in there but I am kinding of confused.</p>