[Swift-commit] r8181 - SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/04-py
wozniak at ci.uchicago.edu
wozniak at ci.uchicago.edu
Thu Aug 14 11:27:51 CDT 2014
Author: wozniak
Date: 2014-08-14 11:27:51 -0500 (Thu, 14 Aug 2014)
New Revision: 8181
Modified:
SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/04-py/add.swift
Log:
Add header
Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/04-py/add.swift
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/04-py/add.swift 2014-08-14 16:22:06 UTC (rev 8180)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/04-py/add.swift 2014-08-14 16:27:51 UTC (rev 8181)
@@ -1,4 +1,8 @@
+/**
+ Example 4 - ADD.SWIFT
+*/
+
// Swift/T libraries:
import io;
import python;
@@ -10,7 +14,7 @@
f()
{
python(
-----
+----
print("Python works!")
repr(0)
----);
@@ -24,4 +28,3 @@
matrix sum = add(A1, A2);
printf("2*eye(3)=%s", sum);
}
-
More information about the Swift-commit
mailing list