[Swift-commit] r2333 - trunk/examples
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Wed Nov 12 13:28:15 CST 2008
Author: benc
Date: 2008-11-12 13:28:14 -0600 (Wed, 12 Nov 2008)
New Revision: 2333
Modified:
trunk/examples/first.swift
Log:
new app syntax for first.swift
Modified: trunk/examples/first.swift
===================================================================
--- trunk/examples/first.swift 2008-11-11 21:00:00 UTC (rev 2332)
+++ trunk/examples/first.swift 2008-11-12 19:28:14 UTC (rev 2333)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting() {
- app {
- echo "Hello, world!" stdout=@filename(t);
- }
+app (messagefile t) greeting() {
+ echo "Hello, world!" stdout=@filename(t);
}
messagefile outfile <"hello.txt">;
More information about the Swift-commit
mailing list