[Pkg-haskell-commits] darcs: policy: Relayout a bit

Ian Lynagh igloo at earth.li
Fri Nov 5 15:02:53 UTC 2010


Sun Sep  5 23:04:05 UTC 2004  Ian Lynagh <igloo at earth.li>
  * Relayout a bit

    M ./haskell-policy.sgml -1 +25

Sun Sep  5 23:04:05 UTC 2004  Ian Lynagh <igloo at earth.li>
  * Relayout a bit
diff -rN -u old-policy/haskell-policy.sgml new-policy/haskell-policy.sgml
--- old-policy/haskell-policy.sgml	2010-11-05 15:02:52.790139491 +0000
+++ new-policy/haskell-policy.sgml	2010-11-05 15:02:52.798139914 +0000
@@ -1,6 +1,6 @@
 <!doctype debiandoc public "-//DebianDoc//DTD DebianDoc//EN"
 [
-<!entity version "0.1.5">
+<!entity version "0.1.6">
 <!entity must      "<em>must</em>">
 <!entity mustnot   "<em>must not</em>">
 <!entity should    "<em>should</em>">
@@ -202,10 +202,21 @@
             <prgn>haskell-utils</prgn>. See its manpage for details.
         </p>
         </sect>
+
+        <sect>
+        <heading>Library dependencies</heading>
+        <p>
+            An additional requirement on implementations is given in
+            <qref id="library_impl_deps">Compiler Dependencies</qref>.
+        </p>
+        </sect>
     </chapt>
 
     <chapt id="libraries">
         <heading>Haskell Libraries</heading>
+
+        <sect>
+        <heading>Package Names</heading>
         <p>
             It is strongly recommended that only
             <url id="http://www.haskell.org/cabal/" name="cabalised">
@@ -242,7 +253,10 @@
             A separate binary package for each cabal package, following
             the naming scheme above, &should; still be created.
         </p>
+        </sect>
 
+        <sect id="library_impl_deps">
+        <heading>Library dependencies</heading>
         <p>
             Some Haskell compilers, such as GHC, perform cross-module
             optimisations, such as inlining.  This means that even small
@@ -294,14 +308,20 @@
             e.g.
             <tt>ghc6 (&gt;= 6.2.1), ghc6 (&lt;&lt; 6.2.1+)</tt>.
         </p>
+        </sect>
 
+        <sect>
+        <heading>Install-time compilation</heading>
         <p>
             The possibility of compiling libraries at install time was
             considered, but was rejected due to its fragility and due to
             it being against the spirit of Debian being a binary
             districution.
         </p>
+        </sect>
 
+        <sect>
+        <heading>Built libraries</heading>
         <p>
             All libraries &should; be built for all released compilers in
             Debian for which they are buildable. Libraries &shouldnot;
@@ -320,7 +340,10 @@
             where <file>compiler</file> is the source package
             name of the compiler they are to be used with.
         </p>
+        </sect>
 
+        <sect>
+        <heading>Documentation</heading>
         <p>
             For each cabal package <var>cp</var>, a manual
             page <file><var>cp</var>.3haskell</file> describing the purpose
@@ -342,6 +365,7 @@
             that most libraries will provide documentation in the form
             accepted by haddock, making this easy.
         </p>
+        </sect>
     </chapt>
 
     <chapt id="programs">





More information about the Pkg-haskell-commits mailing list