[Gd-chatter] r11339 - trunk/www/books/dpg

hannes at gwydiondylan.org hannes at gwydiondylan.org
Tue May 8 17:05:49 CEST 2007


Author: hannes
Date: Tue May  8 17:05:44 2007
New Revision: 11339

Modified:
   trunk/www/books/dpg/db_105.html
   trunk/www/books/dpg/db_106.html
   trunk/www/books/dpg/db_197.html
   trunk/www/books/dpg/db_257.html
   trunk/www/books/dpg/db_261.html
   trunk/www/books/dpg/db_263.html
   trunk/www/books/dpg/db_267.html
   trunk/www/books/dpg/db_269.html
   trunk/www/books/dpg/db_271.html
   trunk/www/books/dpg/db_272.html
   trunk/www/books/dpg/db_274.html
   trunk/www/books/dpg/db_276.html
   trunk/www/books/dpg/db_32.html
   trunk/www/books/dpg/db_82.html
Log:
Job: website
add newlines after 'module:' header to seperate between
headers and code. This is useful for copy & pasting examples.


Modified: trunk/www/books/dpg/db_105.html
==============================================================================
--- trunk/www/books/dpg/db_105.html	(original)
+++ trunk/www/books/dpg/db_105.html	Tue May  8 17:05:44 2007
@@ -21,6 +21,7 @@
 <table><tr><th><p>The library file: <code>library.dylan</code>. </p>
 </th></tr><tr><td><pre>
 module: dylan-user
+
 define library timespace
   use dylan; 
   use format-out;

Modified: trunk/www/books/dpg/db_106.html
==============================================================================
--- trunk/www/books/dpg/db_106.html	(original)
+++ trunk/www/books/dpg/db_106.html	Tue May  8 17:05:44 2007
@@ -21,6 +21,7 @@
 <table><tr><th>The implementation file: <code>library-implementation.dylan</code>.</th></tr>
 <tr><td><pre>
 module: timespace
+
 <em>// The sixty-unit class</em>
 define abstract class &lt;sixty-unit&gt; (&lt;object&gt;)
   slot total-seconds :: &lt;integer&gt;, init-keyword: total-seconds:;

Modified: trunk/www/books/dpg/db_197.html
==============================================================================
--- trunk/www/books/dpg/db_197.html	(original)
+++ trunk/www/books/dpg/db_197.html	Tue May  8 17:05:44 2007
@@ -22,6 +22,7 @@
 <table><tr><th><p>The library file: <code>library.dylan</code>.</p>
 </th></tr><tr><td><pre>
 module: dylan-user
+
 define library hello
   use dylan, import: { dylan }; 
   use format-out, import: { format-out };

Modified: trunk/www/books/dpg/db_257.html
==============================================================================
--- trunk/www/books/dpg/db_257.html	(original)
+++ trunk/www/books/dpg/db_257.html	Tue May  8 17:05:44 2007
@@ -22,6 +22,7 @@
 <table><tr><th><p>The <code>sorted-sequence-library.dylan</code> file.  </p>
 </th></tr><tr><td><pre>
 module: dylan-user
+
 define library sorted-sequence
   export sorted-sequence;
   use dylan;

Modified: trunk/www/books/dpg/db_261.html
==============================================================================
--- trunk/www/books/dpg/db_261.html	(original)
+++ trunk/www/books/dpg/db_261.html	Tue May  8 17:05:44 2007
@@ -22,6 +22,7 @@
 <table><tr><th><p>The <code>definitions.dylan</code> file.  </p>
 </th></tr><tr><td><pre>
 module: definitions
+
 <em>// This file contains constants and other definitions used in common with
 // the other parts of the airport example</em>
 

Modified: trunk/www/books/dpg/db_263.html
==============================================================================
--- trunk/www/books/dpg/db_263.html	(original)
+++ trunk/www/books/dpg/db_263.html	Tue May  8 17:05:44 2007
@@ -22,6 +22,7 @@
 <table><tr><th><p>The <code>airport-classes.dylan</code> file. </p>
 </th></tr><tr><td><pre>
 module: airport
+
 <em>// PHYSICAL OBJECTS AND SIZE</em>
 <em>// Used to keep track of object dimensions and object capacities
 // All dimensions are in feet

Modified: trunk/www/books/dpg/db_267.html
==============================================================================
--- trunk/www/books/dpg/db_267.html	(original)
+++ trunk/www/books/dpg/db_267.html	Tue May  8 17:05:44 2007
@@ -22,6 +22,7 @@
 <table><tr><th><p>The <code>vehicle-dynamics.dylan</code> file.  </p>
 </th></tr><tr><td><pre>
 module: airport
+
 <em>// We do not need to type these constants strongly, because the Dylan
 // compiler will figure them out for us</em>
 define constant $average-b707-brake-speed = 60.0;<em> // Miles per hour </em>

Modified: trunk/www/books/dpg/db_269.html
==============================================================================
--- trunk/www/books/dpg/db_269.html	(original)
+++ trunk/www/books/dpg/db_269.html	Tue May  8 17:05:44 2007
@@ -21,6 +21,7 @@
 <table><tr><th><p>The <code>schedule.dylan</code> file.  </p>
 </th></tr><tr><td><pre>
 module: airport
+
 <em>// The following generic functions constitute the essential protocol for
 // interaction between containers and vehicles</em>
 <em>// Returns true if container is available for aircraft in direction

Modified: trunk/www/books/dpg/db_271.html
==============================================================================
--- trunk/www/books/dpg/db_271.html	(original)
+++ trunk/www/books/dpg/db_271.html	Tue May  8 17:05:44 2007
@@ -22,6 +22,7 @@
 <table><tr><th><p>The <code>airport-test.dylan</code> file.  </p>
 </th></tr><tr><td><pre>
 module: airport-test
+
 <em>// To keep the example relatively simple, we will use variables to hold
 // test data for the flights and aircraft 
 // Ordinarily, this information would be read from a file or database </em>

Modified: trunk/www/books/dpg/db_272.html
==============================================================================
--- trunk/www/books/dpg/db_272.html	(original)
+++ trunk/www/books/dpg/db_272.html	Tue May  8 17:05:44 2007
@@ -23,6 +23,7 @@
 <table><tr><th><p>The <code>definitions-library.dylan</code> file.  </p>
 </th></tr><tr><td><pre>
 module: dylan-user
+
 define library definitions
   export definitions;
   use dylan;

Modified: trunk/www/books/dpg/db_274.html
==============================================================================
--- trunk/www/books/dpg/db_274.html	(original)
+++ trunk/www/books/dpg/db_274.html	Tue May  8 17:05:44 2007
@@ -22,6 +22,7 @@
 <table><tr><th><p>The <code>airport-library.dylan</code> file.  </p>
 </th></tr><tr><td><pre>
 module: dylan-user
+
 define library airport
   export airport;
   use dylan;

Modified: trunk/www/books/dpg/db_276.html
==============================================================================
--- trunk/www/books/dpg/db_276.html	(original)
+++ trunk/www/books/dpg/db_276.html	Tue May  8 17:05:44 2007
@@ -22,6 +22,7 @@
 <table><tr><th><p>The <code>airport-test-library.dylan</code> file.  </p>
 </th></tr><tr><td><pre>
 module: dylan-user
+
 define library airport-test
   export airport-test;
   use dylan;

Modified: trunk/www/books/dpg/db_32.html
==============================================================================
--- trunk/www/books/dpg/db_32.html	(original)
+++ trunk/www/books/dpg/db_32.html	Tue May  8 17:05:44 2007
@@ -26,6 +26,7 @@
 <table><tr><th><p>The program file: <code>hello.dylan</code>.</p>
 </th></tr><tr><td><pre>
 module: hello
+
 format-out(&quot;Hello, world\n&quot;); 
 </pre></td></tr></table>
 <p>The <code>hello.dylan</code> file is the top-level file; you can think of it as the program itself. When you run this program, Dylan executes all the expressions in the file in the order that they appear in the file. There is only one expression in this program &mdash; the call to <code>format-out</code>.</p>
@@ -33,6 +34,7 @@
 <table><tr><th><p>The library file: <code>library.dylan</code>.</p>
 </th></tr><tr><td><pre>
 module: dylan-user						
+
 define library hello
   use dylan; 
   use format-out;

Modified: trunk/www/books/dpg/db_82.html
==============================================================================
--- trunk/www/books/dpg/db_82.html	(original)
+++ trunk/www/books/dpg/db_82.html	Tue May  8 17:05:44 2007
@@ -30,6 +30,7 @@
 <table><tr><th><p>The library file: <code>library.dylan</code>. </p>
 </th></tr><tr><td><pre>
 module: dylan-user
+
 define library time
   use dylan; 
   use format-out;
@@ -90,6 +91,7 @@
 <table><tr><th><p>The test file: <code>test.dylan</code>.</p>
 </th></tr><tr><td><pre>
 module: time
+
 define variable *my-time-offset* :: &lt;time-offset&gt; 
   = make(&lt;time-offset&gt;, total-seconds: encode-total-seconds(15, 20, 10));
 define variable *your-time-offset* :: &lt;time-offset&gt; 



More information about the chatter mailing list