<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -86,7 +86,20 @@ Example
 	generating a text file. We assume that we have collected the
 	data and have it in the form:
 
-	Params = [{Parameter,[{Field,Value}]}]
+	Params = [{Parameter,[{Feature,Value}]}]
+
+	The equivalent LFE code which we will be generating is:
+
+	(defmodule Name
+	  (export (&lt;param1&gt; 1) (&lt;param2&gt; 1) ... ))
+
+	(defun &lt;param1&gt; (f)
+	  (case f
+	    ('&lt;feature1&gt; '&lt;value1&gt;)
+	    ...
+	    (f (: erlang error (tuple 'unknown_feature '&lt;param1&gt; f)))))
+
+	...
 
 	The following code builds and compiles a module from the
 	parameter data:
@@ -103,8 +116,8 @@ Example
 	    CatchAll = [f,[':',erlang,error,
 			   [tuple,unknown_feature,[quote,Param],f]]],
 	    %% Build case clauses
-	    Cls = foldr(fun ({Field,Value}, Cls) -&gt;
-				[[[quote,Field],[quote,Value]]|Cls]
+	    Cls = foldr(fun ({Feature,Value}, Cls) -&gt;
+				[[[quote,Feature],[quote,Value]]|Cls]
 			end, [CatchAll], Params),
 	    %% Build function.
 	    Func = [defun,Param,[f],['case',f,Cls]],</diff>
      <filename>doc/lfe_gen.txt</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>79acf10817890d87e4d6b63797b318173416c8ec</id>
    </parent>
  </parents>
  <author>
    <name>Robert Virding</name>
    <email>rvirding@gmail.com</email>
  </author>
  <url>http://github.com/rvirding/lfe/commit/cf892cd50601946582cfae6fbc404bd45566eaaa</url>
  <id>cf892cd50601946582cfae6fbc404bd45566eaaa</id>
  <committed-date>2009-10-18T06:59:53-07:00</committed-date>
  <authored-date>2009-10-18T06:59:53-07:00</authored-date>
  <message>Describe code we are generating in example.</message>
  <tree>f1ef1ead74b9c7f1c3675256243b8ab03a644b9a</tree>
  <committer>
    <name>Robert Virding</name>
    <email>rvirding@gmail.com</email>
  </committer>
</commit>
