Created
June 11, 2014 19:54
-
-
Save melix/a7088697a2f2cf6929d6 to your computer and use it in GitHub Desktop.
Infinite loop
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
import static Double.POSITIVE_INFINITY as ∞ | |
∞.times { | |
println it | |
Thread.sleep(1000) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That actually works!