[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [OT] Swiftly return multiple values
- From: Roberto Waltman <techie@...>
- Date: Mon, 02 Jun 2014 20:44:55 -0400
On 06/02/2014 15:12, Petite Abeille wrote:
Multiple return values going mainstream:
https://developer.apple.com/swift/
Yeah :D
Not Windows friendly (yet). [That's a good thing.]
From http://swift-lang.org/
Download Swift
The latest stable Swift release is Swift 0.94.1.
Download the file from http://swiftlang.org/packages/swift-0.94.1.tar.gz.
Extract by running "tar xfz swift-0.94.1.tar.gz"
Add to PATH by running "export PATH=$PATH:/path/to/swift-0.94.1/bin"
Run Swift
Example Swift scripts can be found in the swift-0.94.1/examples
directory. Scripts have a .swift file extension. Run the following
commands to run a simple hello world application.
cd swift-0.94.1/examples/
swift hello.swift
--
Roberto Waltman