Created
          August 11, 2014 01:26 
        
      - 
      
- 
        Save Chandler/17583706262e1ce60c42 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
    
  
  
    
  | scala> def test(name: String = "joe"): Boolean = true | |
| test: (name: String)Boolean | |
| scala> val test: String => Boolean = { (name: String = "joe") => true } | |
| <console>:1: error: ')' expected but '=' found. | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment