Created
May 1, 2015 01:00
-
-
Save kongtomorrow/f2f7aa2c92d61eadcb72 to your computer and use it in GitHub Desktop.
why does this compile?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
var backing = NSMutableArray() | |
func pop()->Int? { | |
return backing.firstObject.map { $0.integerValue } | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment