Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Site updated at 2012-01-01 22:42:26 UTC

  • Loading branch information...
commit 56014181d430a2895ef006378e09670840135412 1 parent 7e4fc9d
@norm2782 authored
View
12 atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Norm 2782]]></title>
<link href="http://norm2782.github.com/atom.xml" rel="self"/>
<link href="http://norm2782.github.com/"/>
- <updated>2012-01-01T23:32:11+01:00</updated>
+ <updated>2012-01-01T23:42:22+01:00</updated>
<id>http://norm2782.github.com/</id>
<author>
<name><![CDATA[Jurriën Stutterheim]]></name>
@@ -62,13 +62,9 @@ first some imports:</p>
<span class='line-number'>21</span>
<span class='line-number'>22</span>
<span class='line-number'>23</span>
-<span class='line-number'>24</span>
-<span class='line-number'>25</span>
</pre></td><td class='code'><pre><code class='haskell'><span class='line'><span class="cm">{-# LANGUAGE OverloadedStrings, TemplateHaskell #-}</span>
</span><span class='line'>
-</span><span class='line'><span class="kr">module</span> <span class="nn">Site</span>
-</span><span class='line'> <span class="p">(</span> <span class="nf">app</span>
-</span><span class='line'> <span class="p">)</span> <span class="kr">where</span>
+</span><span class='line'><span class="kr">module</span> <span class="nn">Site</span> <span class="p">(</span><span class="nf">app</span><span class="p">)</span> <span class="kr">where</span>
</span><span class='line'>
</span><span class='line'><span class="kr">import</span> <span class="nn">Control.Applicative</span>
</span><span class='line'><span class="kr">import</span> <span class="nn">Control.Monad.State</span>
@@ -95,7 +91,7 @@ first some imports:</p>
<p>Since we are using Snap 0.7 at the moment of writing, we start by defining
out snaplet state type, generating some lenses using Template Haskell and
defining a handy type synonym for our handlers. We also want to use Heist,
-so we need to define a HasHeist instance for our App type as well.</p>
+so we need to define a <code>HasHeist</code> instance for our <code>App</code> type as well.</p>
<figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
@@ -144,7 +140,7 @@ datatype:</p>
<p>Defining the form is straight-forward if you are used to working with digestive-functors.
The form is wrapped in divs for better styling options and we attach validators to make
-sure that we get a valid email address and a long enough password. The isValid function
+sure that we get a valid email address and a long enough password. The <code>isValid</code> function
comes from the email-validate library.</p>
<figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
View
10 blog/2012/01/01/using-digestive-functors-with-heist/index.html
@@ -136,13 +136,9 @@ <h1 class="entry-title">Using Digestive-functors With Heist</h1>
<span class='line-number'>21</span>
<span class='line-number'>22</span>
<span class='line-number'>23</span>
-<span class='line-number'>24</span>
-<span class='line-number'>25</span>
</pre></td><td class='code'><pre><code class='haskell'><span class='line'><span class="cm">{-# LANGUAGE OverloadedStrings, TemplateHaskell #-}</span>
</span><span class='line'>
-</span><span class='line'><span class="kr">module</span> <span class="nn">Site</span>
-</span><span class='line'> <span class="p">(</span> <span class="nf">app</span>
-</span><span class='line'> <span class="p">)</span> <span class="kr">where</span>
+</span><span class='line'><span class="kr">module</span> <span class="nn">Site</span> <span class="p">(</span><span class="nf">app</span><span class="p">)</span> <span class="kr">where</span>
</span><span class='line'>
</span><span class='line'><span class="kr">import</span> <span class="nn">Control.Applicative</span>
</span><span class='line'><span class="kr">import</span> <span class="nn">Control.Monad.State</span>
@@ -169,7 +165,7 @@ <h1 class="entry-title">Using Digestive-functors With Heist</h1>
<p>Since we are using Snap 0.7 at the moment of writing, we start by defining
out snaplet state type, generating some lenses using Template Haskell and
defining a handy type synonym for our handlers. We also want to use Heist,
-so we need to define a HasHeist instance for our App type as well.</p>
+so we need to define a <code>HasHeist</code> instance for our <code>App</code> type as well.</p>
<figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
@@ -218,7 +214,7 @@ <h1 class="entry-title">Using Digestive-functors With Heist</h1>
<p>Defining the form is straight-forward if you are used to working with digestive-functors.
The form is wrapped in divs for better styling options and we attach validators to make
-sure that we get a valid email address and a long enough password. The isValid function
+sure that we get a valid email address and a long enough password. The <code>isValid</code> function
comes from the email-validate library.</p>
<figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
View
12 blog/categories/digestive-functors/atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Category: digestive-functors | Norm 2782]]></title>
<link href="http://norm2782.github.com/blog/categories/digestive-functors/atom.xml" rel="self"/>
<link href="http://norm2782.github.com/"/>
- <updated>2012-01-01T23:32:11+01:00</updated>
+ <updated>2012-01-01T23:42:22+01:00</updated>
<id>http://norm2782.github.com/</id>
<author>
<name><![CDATA[Jurriën Stutterheim]]></name>
@@ -62,13 +62,9 @@ first some imports:</p>
<span class='line-number'>21</span>
<span class='line-number'>22</span>
<span class='line-number'>23</span>
-<span class='line-number'>24</span>
-<span class='line-number'>25</span>
</pre></td><td class='code'><pre><code class='haskell'><span class='line'><span class="cm">{-# LANGUAGE OverloadedStrings, TemplateHaskell #-}</span><span class="o">&lt;/</span><span class="n">p</span><span class="o">&gt;</span>
</span><span class='line'>
-</span><span class='line'><span class="o">&lt;</span><span class="n">p</span><span class="o">&gt;</span><span class="kr">module</span> <span class="nn">Site</span>
-</span><span class='line'> <span class="p">(</span> <span class="nf">app</span>
-</span><span class='line'> <span class="p">)</span> <span class="kr">where</span><span class="o">&lt;/</span><span class="n">p</span><span class="o">&gt;</span>
+</span><span class='line'><span class="o">&lt;</span><span class="n">p</span><span class="o">&gt;</span><span class="kr">module</span> <span class="nn">Site</span> <span class="p">(</span><span class="nf">app</span><span class="p">)</span> <span class="kr">where</span><span class="o">&lt;/</span><span class="n">p</span><span class="o">&gt;</span>
</span><span class='line'>
</span><span class='line'><span class="o">&lt;</span><span class="n">p</span><span class="o">&gt;</span><span class="kr">import</span> <span class="nn">Control.Applicative</span>
</span><span class='line'><span class="kr">import</span> <span class="nn">Control.Monad.State</span>
@@ -94,7 +90,7 @@ first some imports:</p>
<p>Since we are using Snap 0.7 at the moment of writing, we start by defining
out snaplet state type, generating some lenses using Template Haskell and
defining a handy type synonym for our handlers. We also want to use Heist,
-so we need to define a HasHeist instance for our App type as well.</p>
+so we need to define a <code>HasHeist</code> instance for our <code>App</code> type as well.</p>
<p><div class='bogus-wrapper'><notextile><figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
@@ -141,7 +137,7 @@ datatype:</p>
<p>Defining the form is straight-forward if you are used to working with digestive-functors.
The form is wrapped in divs for better styling options and we attach validators to make
-sure that we get a valid email address and a long enough password. The isValid function
+sure that we get a valid email address and a long enough password. The <code>isValid</code> function
comes from the email-validate library.</p>
<p><div class='bogus-wrapper'><notextile><figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
View
12 blog/categories/haskell/atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Category: Haskell | Norm 2782]]></title>
<link href="http://norm2782.github.com/blog/categories/haskell/atom.xml" rel="self"/>
<link href="http://norm2782.github.com/"/>
- <updated>2012-01-01T23:32:11+01:00</updated>
+ <updated>2012-01-01T23:42:22+01:00</updated>
<id>http://norm2782.github.com/</id>
<author>
<name><![CDATA[Jurriën Stutterheim]]></name>
@@ -62,13 +62,9 @@ first some imports:</p>
<span class='line-number'>21</span>
<span class='line-number'>22</span>
<span class='line-number'>23</span>
-<span class='line-number'>24</span>
-<span class='line-number'>25</span>
</pre></td><td class='code'><pre><code class='haskell'><span class='line'><span class="cm">{-# LANGUAGE OverloadedStrings, TemplateHaskell #-}</span><span class="o">&lt;/</span><span class="n">p</span><span class="o">&gt;</span>
</span><span class='line'>
-</span><span class='line'><span class="o">&lt;</span><span class="n">p</span><span class="o">&gt;</span><span class="kr">module</span> <span class="nn">Site</span>
-</span><span class='line'> <span class="p">(</span> <span class="nf">app</span>
-</span><span class='line'> <span class="p">)</span> <span class="kr">where</span><span class="o">&lt;/</span><span class="n">p</span><span class="o">&gt;</span>
+</span><span class='line'><span class="o">&lt;</span><span class="n">p</span><span class="o">&gt;</span><span class="kr">module</span> <span class="nn">Site</span> <span class="p">(</span><span class="nf">app</span><span class="p">)</span> <span class="kr">where</span><span class="o">&lt;/</span><span class="n">p</span><span class="o">&gt;</span>
</span><span class='line'>
</span><span class='line'><span class="o">&lt;</span><span class="n">p</span><span class="o">&gt;</span><span class="kr">import</span> <span class="nn">Control.Applicative</span>
</span><span class='line'><span class="kr">import</span> <span class="nn">Control.Monad.State</span>
@@ -94,7 +90,7 @@ first some imports:</p>
<p>Since we are using Snap 0.7 at the moment of writing, we start by defining
out snaplet state type, generating some lenses using Template Haskell and
defining a handy type synonym for our handlers. We also want to use Heist,
-so we need to define a HasHeist instance for our App type as well.</p>
+so we need to define a <code>HasHeist</code> instance for our <code>App</code> type as well.</p>
<p><div class='bogus-wrapper'><notextile><figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
@@ -141,7 +137,7 @@ datatype:</p>
<p>Defining the form is straight-forward if you are used to working with digestive-functors.
The form is wrapped in divs for better styling options and we attach validators to make
-sure that we get a valid email address and a long enough password. The isValid function
+sure that we get a valid email address and a long enough password. The <code>isValid</code> function
comes from the email-validate library.</p>
<p><div class='bogus-wrapper'><notextile><figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
View
12 blog/categories/heist/atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Category: Heist | Norm 2782]]></title>
<link href="http://norm2782.github.com/blog/categories/heist/atom.xml" rel="self"/>
<link href="http://norm2782.github.com/"/>
- <updated>2012-01-01T23:32:11+01:00</updated>
+ <updated>2012-01-01T23:42:22+01:00</updated>
<id>http://norm2782.github.com/</id>
<author>
<name><![CDATA[Jurriën Stutterheim]]></name>
@@ -62,13 +62,9 @@ first some imports:</p>
<span class='line-number'>21</span>
<span class='line-number'>22</span>
<span class='line-number'>23</span>
-<span class='line-number'>24</span>
-<span class='line-number'>25</span>
</pre></td><td class='code'><pre><code class='haskell'><span class='line'><span class="cm">{-# LANGUAGE OverloadedStrings, TemplateHaskell #-}</span><span class="o">&lt;/</span><span class="n">p</span><span class="o">&gt;</span>
</span><span class='line'>
-</span><span class='line'><span class="o">&lt;</span><span class="n">p</span><span class="o">&gt;</span><span class="kr">module</span> <span class="nn">Site</span>
-</span><span class='line'> <span class="p">(</span> <span class="nf">app</span>
-</span><span class='line'> <span class="p">)</span> <span class="kr">where</span><span class="o">&lt;/</span><span class="n">p</span><span class="o">&gt;</span>
+</span><span class='line'><span class="o">&lt;</span><span class="n">p</span><span class="o">&gt;</span><span class="kr">module</span> <span class="nn">Site</span> <span class="p">(</span><span class="nf">app</span><span class="p">)</span> <span class="kr">where</span><span class="o">&lt;/</span><span class="n">p</span><span class="o">&gt;</span>
</span><span class='line'>
</span><span class='line'><span class="o">&lt;</span><span class="n">p</span><span class="o">&gt;</span><span class="kr">import</span> <span class="nn">Control.Applicative</span>
</span><span class='line'><span class="kr">import</span> <span class="nn">Control.Monad.State</span>
@@ -94,7 +90,7 @@ first some imports:</p>
<p>Since we are using Snap 0.7 at the moment of writing, we start by defining
out snaplet state type, generating some lenses using Template Haskell and
defining a handy type synonym for our handlers. We also want to use Heist,
-so we need to define a HasHeist instance for our App type as well.</p>
+so we need to define a <code>HasHeist</code> instance for our <code>App</code> type as well.</p>
<p><div class='bogus-wrapper'><notextile><figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
@@ -141,7 +137,7 @@ datatype:</p>
<p>Defining the form is straight-forward if you are used to working with digestive-functors.
The form is wrapped in divs for better styling options and we attach validators to make
-sure that we get a valid email address and a long enough password. The isValid function
+sure that we get a valid email address and a long enough password. The <code>isValid</code> function
comes from the email-validate library.</p>
<p><div class='bogus-wrapper'><notextile><figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
View
12 blog/categories/snap/atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Category: Snap | Norm 2782]]></title>
<link href="http://norm2782.github.com/blog/categories/snap/atom.xml" rel="self"/>
<link href="http://norm2782.github.com/"/>
- <updated>2012-01-01T23:32:11+01:00</updated>
+ <updated>2012-01-01T23:42:22+01:00</updated>
<id>http://norm2782.github.com/</id>
<author>
<name><![CDATA[Jurriën Stutterheim]]></name>
@@ -62,13 +62,9 @@ first some imports:</p>
<span class='line-number'>21</span>
<span class='line-number'>22</span>
<span class='line-number'>23</span>
-<span class='line-number'>24</span>
-<span class='line-number'>25</span>
</pre></td><td class='code'><pre><code class='haskell'><span class='line'><span class="cm">{-# LANGUAGE OverloadedStrings, TemplateHaskell #-}</span><span class="o">&lt;/</span><span class="n">p</span><span class="o">&gt;</span>
</span><span class='line'>
-</span><span class='line'><span class="o">&lt;</span><span class="n">p</span><span class="o">&gt;</span><span class="kr">module</span> <span class="nn">Site</span>
-</span><span class='line'> <span class="p">(</span> <span class="nf">app</span>
-</span><span class='line'> <span class="p">)</span> <span class="kr">where</span><span class="o">&lt;/</span><span class="n">p</span><span class="o">&gt;</span>
+</span><span class='line'><span class="o">&lt;</span><span class="n">p</span><span class="o">&gt;</span><span class="kr">module</span> <span class="nn">Site</span> <span class="p">(</span><span class="nf">app</span><span class="p">)</span> <span class="kr">where</span><span class="o">&lt;/</span><span class="n">p</span><span class="o">&gt;</span>
</span><span class='line'>
</span><span class='line'><span class="o">&lt;</span><span class="n">p</span><span class="o">&gt;</span><span class="kr">import</span> <span class="nn">Control.Applicative</span>
</span><span class='line'><span class="kr">import</span> <span class="nn">Control.Monad.State</span>
@@ -94,7 +90,7 @@ first some imports:</p>
<p>Since we are using Snap 0.7 at the moment of writing, we start by defining
out snaplet state type, generating some lenses using Template Haskell and
defining a handy type synonym for our handlers. We also want to use Heist,
-so we need to define a HasHeist instance for our App type as well.</p>
+so we need to define a <code>HasHeist</code> instance for our <code>App</code> type as well.</p>
<p><div class='bogus-wrapper'><notextile><figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
@@ -141,7 +137,7 @@ datatype:</p>
<p>Defining the form is straight-forward if you are used to working with digestive-functors.
The form is wrapped in divs for better styling options and we attach validators to make
-sure that we get a valid email address and a long enough password. The isValid function
+sure that we get a valid email address and a long enough password. The <code>isValid</code> function
comes from the email-validate library.</p>
<p><div class='bogus-wrapper'><notextile><figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
View
6 sitemap.xml
@@ -2,14 +2,14 @@
<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>
<url>
<loc>http://norm2782.github.com/blog/2012/01/01/using-digestive-functors-with-heist/</loc>
- <lastmod>2012-01-01T23:32:00+01:00</lastmod>
+ <lastmod>2012-01-01T23:41:23+01:00</lastmod>
</url>
<url>
<loc>http://norm2782.github.com/blog/archives/</loc>
- <lastmod>2012-01-01T23:32:00+01:00</lastmod>
+ <lastmod>2012-01-01T23:41:23+01:00</lastmod>
</url>
<url>
<loc>http://norm2782.github.com/</loc>
- <lastmod>2012-01-01T23:32:00+01:00</lastmod>
+ <lastmod>2012-01-01T23:41:23+01:00</lastmod>
</url>
</urlset>
Please sign in to comment.
Something went wrong with that request. Please try again.