+1<br><br><div class="gmail_quote">On Thu, Oct 21, 2010 at 4:30 AM, Milan Straka <span dir="ltr">&lt;<a href="mailto:fox@ucw.cz">fox@ucw.cz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
+1.<br>
<br>
Cheers,<br>
Milan<br>
<div><div></div><div class="h5"><br>
&gt; This is a library propsal.  There are a handful of functions in the template-haskell package, module Language.Haskell.TH.Lib, that are defined in that module, but are not used, and are not exported by the main Template Haskell interface <a href="http://Language.Haskell.TH" target="_blank">Language.Haskell.TH</a>.<br>

&gt; I propose to nuke them. I assume no one is using them (since they are not exported by the main interface), and I&#39;m not keen on the API of rename. Moreover, rename becomes signficantly more compilcated with the advent of view patterns.<br>

&gt; The functions are:<br>
&gt; combine :: [([(Name, Name)], Pat)] -&gt; ([(Name, Name)], [Pat])<br>
&gt;   -- Seems to be a helper for rename<br>
&gt; rename :: Pat -&gt; Q ([(Name, Name)], Pat)<br>
&gt; genpat :: Pat -&gt; Q ((Name -&gt; ExpQ), Pat)<br>
&gt; alpha :: [(Name, Name)] -&gt; Name -&gt; ExpQ<br>
&gt;<br>
&gt; simpleMatch :: Pat -&gt; Exp -&gt; Match<br>
&gt;   -- This is the most defensible; it&#39;s a &quot;smart constructor&quot;<br>
&gt; Deadline 2 weeks.<br>
&gt; <a href="http://hackage.haskell.org/trac/ghc/ticket/4423" target="_blank">http://hackage.haskell.org/trac/ghc/ticket/4423</a><br>
&gt; Simon<br>
&gt;<br>
<br>
</div></div>&gt; _______________________________________________<br>
&gt; Libraries mailing list<br>
&gt; <a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a><br>
<br>
_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a><br>
</blockquote></div><br>