<?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"
	>
<channel>
	<title>Comments on: Formlets in Haskell</title>
	<atom:link href="http://blog.tupil.com/formlets-in-haskell/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tupil.com/formlets-in-haskell/</link>
	<description>(Get up early, code often)</description>
	<pubDate>Tue, 06 Jan 2009 02:04:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Chris Eidhof</title>
		<link>http://blog.tupil.com/formlets-in-haskell/#comment-1328</link>
		<dc:creator>Chris Eidhof</dc:creator>
		<pubDate>Mon, 20 Oct 2008 06:19:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tupil.com/?p=25#comment-1328</guid>
		<description>Anon: there are two functions that might be handy for you: xml and plug. The xml function just builds a unit formlet with raw xml. The plug function modifies the xml of a formet. It takes a function of type "xml -&gt; xml1", but xml1 could of course also be xml.</description>
		<content:encoded><![CDATA[<p>Anon: there are two functions that might be handy for you: xml and plug. The xml function just builds a unit formlet with raw xml. The plug function modifies the xml of a formet. It takes a function of type &#8220;xml -> xml1&#8243;, but xml1 could of course also be xml.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anon</title>
		<link>http://blog.tupil.com/formlets-in-haskell/#comment-1322</link>
		<dc:creator>Anon</dc:creator>
		<pubDate>Sun, 19 Oct 2008 22:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tupil.com/?p=25#comment-1322</guid>
		<description>The formlet package does not appear to have a label function like the one mentioned above.  Is there code for this anywhere?  Or maybe a more generic formlet function that allows you to add arbitrary text to the HTML generated by a formlet?</description>
		<content:encoded><![CDATA[<p>The formlet package does not appear to have a label function like the one mentioned above.  Is there code for this anywhere?  Or maybe a more generic formlet function that allows you to add arbitrary text to the HTML generated by a formlet?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chinaman</title>
		<link>http://blog.tupil.com/formlets-in-haskell/#comment-592</link>
		<dc:creator>chinaman</dc:creator>
		<pubDate>Thu, 18 Sep 2008 02:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tupil.com/?p=25#comment-592</guid>
		<description>Hi 
I like your posts, It makes me thinking.</description>
		<content:encoded><![CDATA[<p>Hi<br />
I like your posts, It makes me thinking.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reinier Lamers</title>
		<link>http://blog.tupil.com/formlets-in-haskell/#comment-186</link>
		<dc:creator>Reinier Lamers</dc:creator>
		<pubDate>Thu, 31 Jul 2008 10:54:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tupil.com/?p=25#comment-186</guid>
		<description>Nice! I definitely need to read up on Applicative. It wasn't in Utrecht's Advanced Functional Programming course of 2006-2007 but hardly a year later it seems everyone is using it.</description>
		<content:encoded><![CDATA[<p>Nice! I definitely need to read up on Applicative. It wasn&#8217;t in Utrecht&#8217;s Advanced Functional Programming course of 2006-2007 but hardly a year later it seems everyone is using it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Eidhof</title>
		<link>http://blog.tupil.com/formlets-in-haskell/#comment-183</link>
		<dc:creator>Chris Eidhof</dc:creator>
		<pubDate>Wed, 30 Jul 2008 16:44:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tupil.com/?p=25#comment-183</guid>
		<description>Sjoerd: you can easily add other html to the formlets. For example, adding a label can be done like this:

&lt;pre lang="haskell"&gt;
userFull = User &lt;$&gt; label "Name: "    *&gt; inputF    Nothing 
                &lt;*&gt; label "Password " *&gt; passwordF Nothing 
                &lt;*&gt; label "Date: "    *&gt; dateFull
&lt;/pre&gt;

The *&#62; combinator throws away the result of its argument. So label "Test" *&gt; inputF Nothing will still have type FailingForm String.</description>
		<content:encoded><![CDATA[<p>Sjoerd: you can easily add other html to the formlets. For example, adding a label can be done like this:</p>

<div class="wp_syntax"><div class="code"><pre class="haskell">userFull <span style="color: #339933; font-weight: bold;">=</span> User <span style="color: #339933; font-weight: bold;">&lt;$&gt;</span> label <span style="">&quot;Name: &quot;</span>    <span style="color: #339933; font-weight: bold;">*&gt;</span> inputF    Nothing 
                <span style="color: #339933; font-weight: bold;">&lt;*&gt;</span> label <span style="">&quot;Password &quot;</span> <span style="color: #339933; font-weight: bold;">*&gt;</span> passwordF Nothing 
                <span style="color: #339933; font-weight: bold;">&lt;*&gt;</span> label <span style="">&quot;Date: &quot;</span>    <span style="color: #339933; font-weight: bold;">*&gt;</span> dateFull</pre></div></div>

<p>The *&gt; combinator throws away the result of its argument. So label &#8220;Test&#8221; *> inputF Nothing will still have type FailingForm String.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sjoerd Visscher</title>
		<link>http://blog.tupil.com/formlets-in-haskell/#comment-182</link>
		<dc:creator>Sjoerd Visscher</dc:creator>
		<pubDate>Wed, 30 Jul 2008 15:43:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tupil.com/?p=25#comment-182</guid>
		<description>How do you solve stylability? Certainly when it comes to complex widgets like calender widgets this becomes hairy.

Layout of labels and error messages is also always tricky to get right generically.</description>
		<content:encoded><![CDATA[<p>How do you solve stylability? Certainly when it comes to complex widgets like calender widgets this becomes hairy.</p>
<p>Layout of labels and error messages is also always tricky to get right generically.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
