Skip to content

Instantly share code, notes, and snippets.

@Krishna
Created June 3, 2014 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Krishna/8b5b95b36f1e9d79a8b6 to your computer and use it in GitHub Desktop.
Save Krishna/8b5b95b36f1e9d79a8b6 to your computer and use it in GitHub Desktop.
(swift)
(swift) func greet(name :String) -> String
{ return "hello /(name)" }
(swift)
(swift) greet
// r0 : (String) -> String = (Function)
(swift)
(swift) var temp = [greet]
// temp : Array<(String) -> String> = [(Function)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment