Last active
December 2, 2016 01:49
-
-
Save mudphone/8511d1e1a13a324f3948585dbda86623 to your computer and use it in GitHub Desktop.
This file contains 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
public class Presence { | |
func adder(a: Int, b: Int) -> Int { | |
return a + b | |
} | |
func anotherAdder(addy: (Int, Int) -> Int = adder) -> Int { | |
return addy(4, 5) + 6 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment