Then think of another approach to doing the problem. :)<div><br><br><div class="gmail_quote">On Mon, Jul 9, 2012 at 1:30 PM, Carlos J. G. Duarte <span dir="ltr">&lt;<a href="mailto:carlos.j.g.duarte@gmail.com" target="_blank">carlos.j.g.duarte@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div><br>
      Thanks, that&#39;s it. I had just to move the underK call inside the
      if:<br>
      <blockquote>underK k (x:xs) = if x &lt; k then x : underK k xs
        else []<br>
      </blockquote>
      ... I&#39;m finding this to be a little too awkward to me!<div class="im"><br>
      <br></div></div></div></blockquote></div><div><br></div>-- <br>--<br>Regards,<br>KC<br>
</div>