[Pkg-haskell-commits] darcs: policy: A bit more progress
Ian Lynagh
igloo at earth.li
Fri Nov 5 15:02:21 UTC 2010
Sun Jul 25 19:16:04 UTC 2004 Ian Lynagh <igloo at earth.li>
* A bit more progress
M ./haskell-policy.sgml -6 +39
Sun Jul 25 19:16:04 UTC 2004 Ian Lynagh <igloo at earth.li>
* A bit more progress
diff -rN -u old-policy/haskell-policy.sgml new-policy/haskell-policy.sgml
--- old-policy/haskell-policy.sgml 2010-11-05 15:02:21.320476542 +0000
+++ new-policy/haskell-policy.sgml 2010-11-05 15:02:21.332477176 +0000
@@ -91,13 +91,14 @@
</p>
</chapt>
- <chapt id="compilers_and_interpreters">
- <heading>Compilers and Interpreters</heading>
+ <chapt id="implementations">
+ <heading>Haskell Implementations</heading>
+
+ <sect id="usr-bin-haskell-compiler">
+ <heading><file>/usr/bin/haskell-compiler</file></heading>
<p>
- XXX update-alternatives
- XXX make this a sect
All Haskell compilers &should; provide a
- /usr/bin/haskell-compiler that:
+ <file>/usr/bin/haskell-compiler</file> that:
<enumlist>
<item>
If given an argument <var>x</var><tt>.hs</tt> or
@@ -149,8 +150,32 @@
</p>
<p>
- Register with haskell-utils XXX
+ If a package provides <file>/usr/bin/haskell-compiler</file>
+ then this &must; compile programs according to the
+ <url id="http://www.haskell.org/definition/"
+ name="Haskell 98 Report (Revised) and Approved Addenda">.
+ </p>
+
+ <p>
+ If a compiler does provide a
+ <file>/usr/bin/haskell-compiler</file> then it &must; use
+ the alternatives system to do so.
+ It &must; also provide a manpage
+ <file>/usr/share/man/man1/haskell-compiler.1.gz</file> as a
+ slave. {XXX is this right? Should a manpage with the info
+ above be provided by haskell-utils or somesuch?}.
+ The priority used by packages providing a
+ <file>/usr/bin/haskell-compiler</file> should be agreed by
+ concensus on the &mailinglist;.
+ </p>
+ </sect>
+
+ <sect id="haskell-utils">
+ <heading><prgn>haskell-utils</prgn></heading>
+ <p>
+ Register with <prgn>haskell-utils</prgn> XXX
</p>
+ </sect>
</chapt>
<chapt id="libraries">
@@ -160,6 +185,14 @@
compilation) possibility.
</p>
</chapt>
+
+ <chapt id="programs">
+ <heading>Haskell Programs</heading>
+ <p>
+ Names. Compiler deps. Mention alternate (install time
+ compilation) possibility.
+ </p>
+ </chapt>
</book>
</debiandoc>
More information about the Pkg-haskell-commits
mailing list