Created
          May 4, 2012 08:06 
        
      - 
      
 - 
        
Save notyy/2593183 to your computer and use it in GitHub Desktop.  
    universe
  
        
  
    
      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
    
  
  
    
  | import scala.io._ | |
| object Main { | |
| def main(args: Array[String]) { | |
| echo(Console.readLine) | |
| } | |
| def echo(line: => String): Unit = line match{ | |
| case "42" => () | |
| case (x:String) => println(x);echo(Console.readLine); | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment