Hi Don,<br><br>In fact I&#39;m not really looking at performance, I don&#39;t expect performance to be a big issue in my application.<br>
<br>
I was just looking at using some simple functions found in the documentation and avoid redefining them.<br>
<br>In fact dropSpace and dropSpaceEnd are doing exactly what I&#39;m looking for. But of course if they&#39;re not exported it&#39;s not a problem and I&#39;ll use their dropWhile equivalent.<br><br>Thanks for your reply,
<br><br>Olivier.<br><br><br><div class="gmail_quote">On Nov 15, 2007 5:24 PM, Don Stewart &lt;<a href="mailto:dons@galois.com">dons@galois.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div class="Wj3C7c"><br></div></div>The latter:<br><br> &nbsp; &nbsp; &nbsp; &nbsp;&quot;FPS specialise dropWhile isSpace -&gt; dropSpace&quot;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dropWhile isSpace = dropSpace<br><br>check that the rule fires with -ddump-simpl-stats
<br><br>There&#39;s no rule for dropSpaceEnd, but you can certainly inline the defn<br>in your code, if perf. matters.<br><font color="#888888"><br>-- Don<br></font></blockquote></div><br>