[Swift-commit] r6256 - in trunk/docs: cookbook userguide

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Sun Feb 10 20:17:17 CST 2013


Author: ketan
Date: 2013-02-10 20:17:16 -0600 (Sun, 10 Feb 2013)
New Revision: 6256

Modified:
   trunk/docs/cookbook/coasters
   trunk/docs/userguide/language
Log:
simple array example in userguide

Modified: trunk/docs/cookbook/coasters
===================================================================
--- trunk/docs/cookbook/coasters	2013-02-10 08:44:51 UTC (rev 6255)
+++ trunk/docs/cookbook/coasters	2013-02-11 02:17:16 UTC (rev 6256)
@@ -1,8 +1,8 @@
 Coasters
 --------
 Coasters were introduced in Swift v0.6 as an experimental feature. In many
-applications, Swift performance can be greatly enhanced by the use of CoG
-coasters. CoG coasters provide a low-overhead job submission and file transfer
+applications, Swift performance can be greatly enhanced by the use of
+coasters. Coasters provide a low-overhead job submission and file transfer
 mechanism suited for the execution of short jobs (on the order of a few
 seconds). A detailed information on coasters can be found at http://www.ci.uchicago.edu/swift/guides/userguide.php#coasters.
 //**Include neat diagrams.**

Modified: trunk/docs/userguide/language
===================================================================
--- trunk/docs/userguide/language	2013-02-10 08:44:51 UTC (rev 6255)
+++ trunk/docs/userguide/language	2013-02-11 02:17:16 UTC (rev 6256)
@@ -114,8 +114,14 @@
 Arrays and Parallel Execution
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-Arrays of values can be declared using the [] suffix. An array be
-mapped to a collection of files, one element per file, by using a
+Arrays of values can be declared using the [] suffix. Following is an example
+of an array of strings:
+
+----
+string pets[] = ["shane", "noddy", "leo"];
+----
+
+An array may be mapped to a collection of files, one element per file, by using a
 different form of mapping expression. For example, the filesys_mapper 
 maps all files matching a particular unix glob pattern into an array:
 




More information about the Swift-commit mailing list