<div dir="ltr"><div>There is another aspect to this:  How do you get maintainers to apply the patches?  How should hackage be changed to accomodate large-scale refactorings?<br><br></div><div>There was a discussion on this mailing list related to build regressions on GHC 7.6 last year.  <br>

<br>All of the regressions could be fixed using perl regexps, and it was only a few hours of work, much less than the work involved in the discussion itself.  I downloaded all of hackage and did the fixes using perl.<br>
<br>
<a href="http://www.haskell.org/pipermail/haskell-cafe/2012-August/103155.html">http://www.haskell.org/pipermail/haskell-cafe/2012-August/103155.html</a><br><br></div><div>However, without the community infrastructure to actually apply the patches, the problem is not solved.<br>

<br></div><div>I think this is mainly a community/organizational issue.  Refactoring is not really the problem, but of course better refactoring abilities are good.<br></div><div><br>Alexander</div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Mon, Apr 29, 2013 at 9:59 AM, Niklas Hambüchen <span dir="ltr">&lt;<a href="mailto:mail@nh2.me" target="_blank">mail@nh2.me</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello Malcolm,<br>
<br>
no, I had indeed not seen this! Thanks for the link.<br>
<br>
It goes very much in the direction I was thinking of, but it does not<br>
seem to maintained and does not cabal install either.<br>
<br>
It also seems very much focused on interactive editor integration as<br>
compared to written-out transformations.<br>
<br>
Do you know to what extent they have built and a modification-friendly AST?<br>
Also, do you know if the people involved in this are still active in the<br>
community and interested in working further in this direction?<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888">Niklas<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 29/04/13 15:36, Malcolm Wallace wrote:<br>
&gt;<br>
&gt; On 29 Apr 2013, at 07:00, Niklas Hambüchen wrote:<br>
&gt;<br>
&gt;&gt; I would like to propose the development of source code refactoring tool<br>
&gt;&gt; that operates on Haskell source code ASTs and lets you formulate rewrite<br>
&gt;&gt; rules written in Haskell.<br>
&gt;<br>
&gt;<br>
&gt; Seen this?<br>
&gt; <a href="http://www.haskell.org/haskellwiki/HaRe" target="_blank">http://www.haskell.org/haskellwiki/HaRe</a><br>
&gt;<br>
&gt; Regards,<br>
&gt;     Malcolm<br>
&gt;<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br></div>