<div dir="ltr"><div>I was considering that it might be possible to use cabal packages (and cabal) out-of-the-box. We&#39;d just need some Distribution.Agda functions to use in Setup.hs to type check and install the Agda files. We are already doing something like this for Agda.Primitive in the Agda cabal package.<br>

<br></div>/ Ulf<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 11:06 PM, Mateusz Kowalczyk <span dir="ltr">&lt;<a href="mailto:fuuzetsu@fuuzetsu.co.uk" target="_blank">fuuzetsu@fuuzetsu.co.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 24/03/14 21:02, Tillmann Rendel wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Mateusz Kowalczyk wrote:<br>
&gt;&gt; Are there plans to assimilate tools with functionality of Hackage,<br>
&gt;&gt; Hoogle, Haddock and Cabal into the Agda environment?<br>
&gt;<br>
&gt; This would be great!<br>
&gt;<br>
&gt; Maybe a first step would be to define a notion of &quot;Agda package&quot; that<br>
&gt; consists of a bunch of agda files. The goal would be to say:<br>
&gt;<br>
&gt;    agda --package stdlib Main.agda<br>
&gt;<br>
&gt; instead of<br>
&gt;<br>
&gt;    agda -i$HOME/agda-lib/src -i. Main.agda<br>
&gt;<br>
&gt; This is intentionally a very modest goal, but I think it would be a step<br>
&gt; in a good direction.<br>
&gt;<br>
&gt;    Tillmann<br>
&gt; _______________________________________________<br>
&gt; Agda mailing list<br>
&gt; <a href="mailto:Agda@lists.chalmers.se">Agda@lists.chalmers.se</a><br>
&gt; <a href="https://lists.chalmers.se/mailman/listinfo/agda" target="_blank">https://lists.chalmers.se/mailman/listinfo/agda</a><br>
&gt;<br>
<br>
</div></div>I think we can re-use cabal packages for this pretty easily, removing<br>
anything we might not need. I think that what you outline is a fine<br>
first ‘big’ goal.<br>
<br>
I&#39;ll have to study the cabal source code.<br>
<br>
I am glad to see that there&#39;s interest.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Mateusz K.<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Agda mailing list<br>
<a href="mailto:Agda@lists.chalmers.se">Agda@lists.chalmers.se</a><br>
<a href="https://lists.chalmers.se/mailman/listinfo/agda" target="_blank">https://lists.chalmers.se/mailman/listinfo/agda</a><br>
</div></div></blockquote></div><br></div>