<?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/"
		>
<channel>
	<title>Comments on: Writing a generic XML pickler</title>
	<atom:link href="http://blog.silkapp.com/2009/11/writing-a-generic-xml-pickler/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.silkapp.com/2009/11/writing-a-generic-xml-pickler/</link>
	<description>Silk Blog</description>
	<lastBuildDate>Mon, 23 Jan 2012 10:22:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Dimi4lv</title>
		<link>http://blog.silkapp.com/2009/11/writing-a-generic-xml-pickler/comment-page-1/#comment-109</link>
		<dc:creator>Dimi4lv</dc:creator>
		<pubDate>Fri, 25 Dec 2009 11:42:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=102#comment-109</guid>
		<description>I want to quote your post in my blog. It can?
And you et an account on Twitter?</description>
		<content:encoded><![CDATA[<p>I want to quote your post in my blog. It can?<br />
And you et an account on Twitter?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://blog.silkapp.com/2009/11/writing-a-generic-xml-pickler/comment-page-1/#comment-75</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Mon, 16 Nov 2009 19:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=102#comment-75</guid>
		<description>I&#039;ve found that TH is not an ideal way to write generic functions. The syntax is not very nice, and the errors can be strange, since you can&#039;t normally see the code.  Writing generic functions (like the regular-xmlpickler) in regular is, in my opinion, much nicer than writing TH code. You&#039;re closer to the actual meaning, and you are writing real Haskell functions instead of meta-functions. You need a few extensions, most notably Type Families, but they are not that hard to understand.

Note that you hardly have to write any code to &lt;em&gt;use&lt;/em&gt; regular: the instances can be derived using TH (!).</description>
		<content:encoded><![CDATA[<p>I&#8217;ve found that TH is not an ideal way to write generic functions. The syntax is not very nice, and the errors can be strange, since you can&#8217;t normally see the code.  Writing generic functions (like the regular-xmlpickler) in regular is, in my opinion, much nicer than writing TH code. You&#8217;re closer to the actual meaning, and you are writing real Haskell functions instead of meta-functions. You need a few extensions, most notably Type Families, but they are not that hard to understand.</p>
<p>Note that you hardly have to write any code to <em>use</em> regular: the instances can be derived using TH (!).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://blog.silkapp.com/2009/11/writing-a-generic-xml-pickler/comment-page-1/#comment-74</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Mon, 16 Nov 2009 09:09:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=102#comment-74</guid>
		<description>What&#039;s the advantage of using regular + generics over writing TH macro&#039;s to create the xmlpickler instances? I&#039;ve done the latter, and while your code seems a bit shorter, writing all my datatypes using regular seems like a big big headache.

Max</description>
		<content:encoded><![CDATA[<p>What&#8217;s the advantage of using regular + generics over writing TH macro&#8217;s to create the xmlpickler instances? I&#8217;ve done the latter, and while your code seems a bit shorter, writing all my datatypes using regular seems like a big big headache.</p>
<p>Max</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://blog.silkapp.com/2009/11/writing-a-generic-xml-pickler/comment-page-1/#comment-72</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Tue, 10 Nov 2009 12:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=102#comment-72</guid>
		<description>As described, it has tags for constructors and record labels. So for the user type, it would look like this:

&lt;pre&gt;&lt;code lang=&quot;xml&quot;&gt;
&lt;user&gt;
  &lt;name&gt;Erik&lt;/name&gt;
  &lt;email&gt;erik@typlab.com&lt;/email&gt;
  &lt;admin&gt;true&lt;/admin&gt;
&lt;/user&gt;
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>As described, it has tags for constructors and record labels. So for the user type, it would look like this:</p>
<p>::CODECOLORER_BLOCK_1::</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blog.silkapp.com/2009/11/writing-a-generic-xml-pickler/comment-page-1/#comment-71</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 10 Nov 2009 11:53:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=102#comment-71</guid>
		<description>Cool! What does the generated XML look like?</description>
		<content:encoded><![CDATA[<p>Cool! What does the generated XML look like?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

