Recent Posts
None | 25 sec ago
None | 1 min ago
XML | 5 min ago
Bash | 6 min ago
Pascal | 7 min ago
None | 7 min ago
Power Shell | 9 min ago
Python | 9 min ago
None | 9 min ago
None | 9 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 9th of Feb 2010 10:03:55 PM Download | Raw | Embed | Report
  1. import tango.io.Stdout;
  2.  
  3. void main() {
  4.         auto myFunction = getFunction(3);
  5.         Stdout(myFunction()).newline();
  6. }
  7.  
  8. int delegate() getFunction(int x) {
  9.         return () { return x; };
  10. }
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: