Created
June 20, 2012 09:51
-
-
Save crufter/2959129 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
func l (run | |
recover (+ 1 1) | |
println "Just a casual println..." | |
panic "Get out of here." | |
println "This shall not run.") | |
println (l) | |
println "Recovered" | |
Produces: | |
Just a casual println... | |
2 | |
Recovered |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment