[Swift-user] first.swift issues

Mihael Hategan hategan at mcs.anl.gov
Fri May 29 16:31:36 CDT 2009


On Fri, 2009-05-29 at 13:09 -0500, Alex Moore wrote:

> Also, the first.swift file in package is different from the one in the
> swift tutorial. In swift-0.9, first.swift starts off with:

Doesn't matter. The first one is the old syntax which will (probably)
eventually be deprecated. They are otherwise equivalent.

> 
> type messagefile;
> 
> app (messagefile t) greeting () {
>     echo "Hello, world!"......
> 
> While the swift tutorial has:
> 
> type messagefile;
> 
> (messagefile t) greeting () {
>    app { echo "Hello, world!"......
> 
> 
> I changed first.swift to what was listed in the swift tutorial, and I
> got the same error message. Thank for your help.
> -Alex Moore
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user




More information about the Swift-user mailing list