<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Cross-package documentation, part 1</title>
	<atom:link href="http://haddock2009.wordpress.com/2009/06/24/cross-package-documentation-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://haddock2009.wordpress.com/2009/06/24/cross-package-documentation-part-1/</link>
	<description>Haddock Improvements of 2009: A Haskell GSOC project</description>
	<lastBuildDate>Tue, 09 Mar 2010 07:29:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: David Waern</title>
		<link>http://haddock2009.wordpress.com/2009/06/24/cross-package-documentation-part-1/#comment-15</link>
		<dc:creator><![CDATA[David Waern]]></dc:creator>
		<pubDate>Thu, 25 Jun 2009 21:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://haddock2009.wordpress.com/?p=17#comment-15</guid>
		<description><![CDATA[Andrea: that might be possible to do in the future, since it should be possible to fully re-create the interface given the .hi files and the .haddock file provided that we put in some missing bits in the .haddock file.  Note that othing is missing for cross-package documentation, but if you want to re-generate documentation or create a hoogle file, we need to put some more bits into the .haddock file. This is not in scope of Isaac&#039;s project, though.]]></description>
		<content:encoded><![CDATA[<p>Andrea: that might be possible to do in the future, since it should be possible to fully re-create the interface given the .hi files and the .haddock file provided that we put in some missing bits in the .haddock file.  Note that othing is missing for cross-package documentation, but if you want to re-generate documentation or create a hoogle file, we need to put some more bits into the .haddock file. This is not in scope of Isaac&#8217;s project, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea Vezzosi</title>
		<link>http://haddock2009.wordpress.com/2009/06/24/cross-package-documentation-part-1/#comment-14</link>
		<dc:creator><![CDATA[Andrea Vezzosi]]></dc:creator>
		<pubDate>Thu, 25 Jun 2009 15:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://haddock2009.wordpress.com/?p=17#comment-14</guid>
		<description><![CDATA[The motivating goal for me was keeping a central hoogle index of all the packages installed, and finding that while packages shipped with ghc have the .haddock interface installed you can&#039;t currently extract the .txt file to feed hoogle from it.]]></description>
		<content:encoded><![CDATA[<p>The motivating goal for me was keeping a central hoogle index of all the packages installed, and finding that while packages shipped with ghc have the .haddock interface installed you can&#8217;t currently extract the .txt file to feed hoogle from it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Waern</title>
		<link>http://haddock2009.wordpress.com/2009/06/24/cross-package-documentation-part-1/#comment-11</link>
		<dc:creator><![CDATA[David Waern]]></dc:creator>
		<pubDate>Thu, 25 Jun 2009 09:21:50 +0000</pubDate>
		<guid isPermaLink="false">http://haddock2009.wordpress.com/?p=17#comment-11</guid>
		<description><![CDATA[The doc strings are already in the .haddock files! This is stated in the wiki-page we wrote about this task:

  http://trac.haskell.org/haddock/wiki/CrossPackageDocumentation

:-)]]></description>
		<content:encoded><![CDATA[<p>The doc strings are already in the .haddock files! This is stated in the wiki-page we wrote about this task:</p>
<p>  <a href="http://trac.haskell.org/haddock/wiki/CrossPackageDocumentation" rel="nofollow">http://trac.haskell.org/haddock/wiki/CrossPackageDocumentation</a><br />
 <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: haddock2009</title>
		<link>http://haddock2009.wordpress.com/2009/06/24/cross-package-documentation-part-1/#comment-10</link>
		<dc:creator><![CDATA[haddock2009]]></dc:creator>
		<pubDate>Thu, 25 Jun 2009 05:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://haddock2009.wordpress.com/?p=17#comment-10</guid>
		<description><![CDATA[I think my next step should be the simpler bit: extend .haddock files to contain their docs.  After that I might have a better guess where best to thread in the type-signatures.]]></description>
		<content:encoded><![CDATA[<p>I think my next step should be the simpler bit: extend .haddock files to contain their docs.  After that I might have a better guess where best to thread in the type-signatures.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: haddock2009</title>
		<link>http://haddock2009.wordpress.com/2009/06/24/cross-package-documentation-part-1/#comment-9</link>
		<dc:creator><![CDATA[haddock2009]]></dc:creator>
		<pubDate>Thu, 25 Jun 2009 00:37:14 +0000</pubDate>
		<guid isPermaLink="false">http://haddock2009.wordpress.com/?p=17#comment-9</guid>
		<description><![CDATA[Andrea: nope. I believe the missing bits of information are the doc-strings, which I plan to include in the .haddock files; and the type-signatures, which my current plan is to retrieve from .hi files.  Luckily .hi files are present in binary distributions, so your idea might work.  Do you have a particular use-case?  Like, letting the end-user turn their docs into whatever strange format they like, as long as Haddock supports it? (or even machine-processable. hmm.  Haddock and GHC and .hi/.haddock file versions are all very tightly coupled at the moment, by the way.)

thanks!
-Isaac]]></description>
		<content:encoded><![CDATA[<p>Andrea: nope. I believe the missing bits of information are the doc-strings, which I plan to include in the .haddock files; and the type-signatures, which my current plan is to retrieve from .hi files.  Luckily .hi files are present in binary distributions, so your idea might work.  Do you have a particular use-case?  Like, letting the end-user turn their docs into whatever strange format they like, as long as Haddock supports it? (or even machine-processable. hmm.  Haddock and GHC and .hi/.haddock file versions are all very tightly coupled at the moment, by the way.)</p>
<p>thanks!<br />
-Isaac</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea Vezzosi</title>
		<link>http://haddock2009.wordpress.com/2009/06/24/cross-package-documentation-part-1/#comment-8</link>
		<dc:creator><![CDATA[Andrea Vezzosi]]></dc:creator>
		<pubDate>Wed, 24 Jun 2009 23:14:32 +0000</pubDate>
		<guid isPermaLink="false">http://haddock2009.wordpress.com/?p=17#comment-8</guid>
		<description><![CDATA[this blog is becoming a nice resource for wannabe haddock hackers :)
so i&#039;ll try asking here:
does the .haddock interface file contains enough information to generate e.g. the documentation for that module? i&#039;m guessing the answer is no.
that&#039;s a bit unfortunate though, since a machine-readable format to ship documentation that can be then converted in a desired format would be quite useful, especially when one uses binary tarballs for libraries (like when installing ghc).]]></description>
		<content:encoded><![CDATA[<p>this blog is becoming a nice resource for wannabe haddock hackers <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
so i&#8217;ll try asking here:<br />
does the .haddock interface file contains enough information to generate e.g. the documentation for that module? i&#8217;m guessing the answer is no.<br />
that&#8217;s a bit unfortunate though, since a machine-readable format to ship documentation that can be then converted in a desired format would be quite useful, especially when one uses binary tarballs for libraries (like when installing ghc).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Waern</title>
		<link>http://haddock2009.wordpress.com/2009/06/24/cross-package-documentation-part-1/#comment-7</link>
		<dc:creator><![CDATA[David Waern]]></dc:creator>
		<pubDate>Wed, 24 Jun 2009 20:43:02 +0000</pubDate>
		<guid isPermaLink="false">http://haddock2009.wordpress.com/?p=17#comment-7</guid>
		<description><![CDATA[You didn&#039;t say anything wrong here, so I&#039;ll just answer your questions :-)

During HTML generation, the declarations are taken from ifaceRnExportItems which represents the export items. See the ExportItem the data type - it contains LHsDecl. Creating the export items is one of the most important jobs of Haddock.Interface.Create.

You were wondering which names are documented in a given modules&#039;s instDocMap. That is the names of all declarations in that module, that have documentation. It is the same as ifaceRnDocMap in Interface, which is generated from ifaceDeclMap by taking all declared names that have documentation and renaming the documentation. ifaceDeclMap is just a map of all declarations in the module.

Haddock could be a lot better documented here.]]></description>
		<content:encoded><![CDATA[<p>You didn&#8217;t say anything wrong here, so I&#8217;ll just answer your questions <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>During HTML generation, the declarations are taken from ifaceRnExportItems which represents the export items. See the ExportItem the data type &#8211; it contains LHsDecl. Creating the export items is one of the most important jobs of Haddock.Interface.Create.</p>
<p>You were wondering which names are documented in a given modules&#8217;s instDocMap. That is the names of all declarations in that module, that have documentation. It is the same as ifaceRnDocMap in Interface, which is generated from ifaceDeclMap by taking all declared names that have documentation and renaming the documentation. ifaceDeclMap is just a map of all declarations in the module.</p>
<p>Haddock could be a lot better documented here.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
