Created
October 5, 2011 03:52
-
-
Save jakswa/1263579 to your computer and use it in GitHub Desktop.
this program prints out: HOLY FUNKY FUNC!
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
package main | |
import "fmt" | |
func funky() func() func() func() { | |
return func() func() func() { | |
return func() func() { | |
return func() { | |
fmt.Println("HOLY FUNKY FUNC!") | |
} | |
} | |
} | |
} | |
func main() { | |
funky()()()() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment