<div dir="ltr">I know you have said that before on another today ;)<div><br></div><div>as for documentation, the patch itself only has some general information, and since some of them are low level they come with fair warning, obviously if you mess with compiler pipeline internals you can break thing, and invariants are not always documented. Should I perhaps add a list of the hooks to the wiki page, with links to example source code where they&#39;re used, and collect warnings and tips for each hook there?</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Sep 22, 2013 at 5:04 PM, Austin Seipp <span dir="ltr">&lt;<a href="mailto:austin@well-typed.com" target="_blank">austin@well-typed.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I plan on merging the final patch later today, so it&#39;ll be available<br>
to play with Real Soon Now.<br>
<div><div class="h5"><br>
On Sun, Sep 22, 2013 at 3:52 PM, Daniil Frumin &lt;<a href="mailto:difrumin@gmail.com">difrumin@gmail.com</a>&gt; wrote:<br>
&gt; It&#39;s <a href="https://github.com/ghcjs/ghcjs-build/blob/master/refs/patches/ghc-hooks.patch" target="_blank">https://github.com/ghcjs/ghcjs-build/blob/master/refs/patches/ghc-hooks.patch</a><br>
&gt; now<br>
&gt;<br>
&gt; Cheers<br>
&gt;<br>
&gt; - Dan<br>
&gt;<br>
&gt; On 9/23/13, Nicolas Frisby &lt;<a href="mailto:nicolas.frisby@gmail.com">nicolas.frisby@gmail.com</a>&gt; wrote:<br>
&gt;&gt; What is the status on the Hooks proposal/documentation/implementation? I&#39;d<br>
&gt;&gt; like to try it out on a pet project.<br>
&gt;&gt;<br>
&gt;&gt; trac/ghc/wiki/Ghc/Hooks is promising, but I don&#39;t know where to find the<br>
&gt;&gt; patch to experiment with it.<br>
&gt;&gt;<br>
&gt;&gt; I get a 404 from<br>
&gt;&gt; <a href="https://github.com/ghcjs/ghcjs-build/blob/master/refs/patches/ghc-hooks-record.patch" target="_blank">https://github.com/ghcjs/ghcjs-build/blob/master/refs/patches/ghc-hooks-record.patch</a>,<br>
&gt;&gt; a link I found in one of Luite&#39;s ghc-devs emails.<br>
&gt;&gt;<br>
&gt;&gt; Exciting work! Thanks.<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Sincerely yours,<br>
&gt; -- Daniil<br>
</div></div>&gt; _______________________________________________<br>
&gt; ghc-devs mailing list<br>
&gt; <a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Austin Seipp, Haskell Consultant<br>
Well-Typed LLP, <a href="http://www.well-typed.com/" target="_blank">http://www.well-typed.com/</a><br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
</font></span></blockquote></div><br></div>