[Swift-commit] r2395 - text/hpdc09submission

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Jan 5 12:59:01 CST 2009


Author: hategan
Date: 2009-01-05 12:59:00 -0600 (Mon, 05 Jan 2009)
New Revision: 2395

Modified:
   text/hpdc09submission/paper.latex
Log:
may help understand mapped types

Modified: text/hpdc09submission/paper.latex
===================================================================
--- text/hpdc09submission/paper.latex	2009-01-05 18:36:13 UTC (rev 2394)
+++ text/hpdc09submission/paper.latex	2009-01-05 18:59:00 UTC (rev 2395)
@@ -75,7 +75,7 @@
 variables, using a C-like syntax.
 
   A variable may store data of \emph{primitive type} such as an
-integer or a string.  However, a variable may also be \emph{mapper}
+integer or a string.  However, a variable may also be \emph{mapped}
 to one or more POSIX-like files, allowing treatment of those files using
 the same syntax as other variables.
 In that case, the variable declaration is annotated with a
@@ -88,6 +88,12 @@
   image photo <"shane.jpeg">;
 \end{verbatim}
 
+Conceptually, a parallel can be drawn between Swift \emph{mapped} variables
+and Java \emph{reference types}. In both cases there is no syntactic distinction 
+between \emph{primitive types} and \emph{mapped} types or 
+\emph{reference types} respectively. Additionally, the semantic distinction
+is also kept to a minimum.
+
 Component programs of scripts are declared in an \emph{app
 declaration}, with the description of the command line syntax for that
 program and a list of input and output data. An \verb|app| block
@@ -103,7 +109,7 @@
   }
  \end{verbatim}
 
-A procedure is invoked using with familiar syntax:
+A procedure is invoked using the familiar syntax:
 
  \begin{verbatim}
   rotated = rotate(photo, 180);




More information about the Swift-commit mailing list