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"><<a href="mailto:carlos.j.g.duarte@gmail.com" target="_blank">carlos.j.g.duarte@gmail.com</a>></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's it. I had just to move the underK call inside the
if:<br>
<blockquote>underK k (x:xs) = if x < k then x : underK k xs
else []<br>
</blockquote>
... I'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>