Hi Brent, Hi Lorenzo,<div>Wow! Indeed, there it is.</div><div>Thank you!!</div><div><br><div class="gmail_quote">On Thu, Sep 20, 2012 at 3:37 PM, Lorenzo Bolla <span dir="ltr">&lt;<a href="mailto:lbolla@gmail.com" target="_blank">lbolla@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You probably want `System.Process.system`:<br>
<a href="http://hackage.haskell.org/packages/archive/process/latest/doc/html/System-Process.html#v:system" target="_blank">http://hackage.haskell.org/packages/archive/process/latest/doc/html/System-Process.html#v:system</a><br>

<span class="HOEnZb"><font color="#888888"><br>
L.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Thu, Sep 20, 2012 at 2:29 PM, bucephalus org<br>
&lt;<a href="mailto:bucephalus.org@gmail.com">bucephalus.org@gmail.com</a>&gt; wrote:<br>
&gt; Dear Corentin, Dear Chaddai, Dear Lorenzo,<br>
&gt;<br>
&gt; Thank you for your replies, they explain everything I didn&#39;t understand.<br>
&gt;<br>
&gt; Only, I cannot find the new equivalent for the old<br>
&gt;   System.system<br>
&gt; function, which doesn&#39;t appear anymore? At least not in<br>
&gt; <a href="http://www.haskell.org/ghc/docs/7.4-latest/html/libraries/base-4.5.1.0/doc-index-S.htm" target="_blank">http://www.haskell.org/ghc/docs/7.4-latest/html/libraries/base-4.5.1.0/doc-index-S.htm</a><br>
&gt; ?<br>
&gt;<br>
&gt; Actually, I always use it in a little helper file I apply in all my Haskell<br>
&gt; projects. For example, if a project has modules M1.hs and M2.hs, this helper<br>
&gt; file is<br>
&gt;      -- helper.hs<br>
&gt;      import System<br>
&gt;      import M1<br>
&gt;      import M2<br>
&gt;      myhaddock = System.system &quot;haddock -h M1.hs M2.hs&quot;<br>
&gt; so that I can start each session simply with<br>
&gt;     $ ghci<br>
&gt;     Prelude&gt; :l helper.hs<br>
&gt; and I can generate the docs M1.html and M2.html for my project simply with<br>
&gt;     Main&gt; myhaddock<br>
&gt;<br>
&gt; I could probably do all this with some built-in tools. For example there is<br>
&gt;   Distribution.Simple.Haddock.haddock :: PackageDescription -&gt;<br>
&gt; LocalBuildInfo -&gt; [PPSuffixHandler] -&gt; IO ()<br>
&gt; but all this might be well programmed, but is so poorly documented, that I<br>
&gt; am not able figure that out.<br>
&gt;<br>
&gt; A while ago I did an intensive study on this whole Cabal, and at that stage<br>
&gt; I became really frustrated with Haskell. I had spent a lot of time in<br>
&gt; realizing two nice projects, but I was not able to cabalize and publish<br>
&gt; them. Since then, I am just waiting and hoping for a thorough introduction<br>
&gt; (beyond the overwhelming Cabal manual) that explains all that to mere<br>
&gt; mortals.<br>
&gt;<br>
&gt; Anyway, thank you very much again.<br>
&gt; Regards, Tom<br>
&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; Beginners mailing list<br>
&gt; <a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>