Created
December 28, 2017 09:37
-
-
Save harmeetsingh0013/305f14ab578b60730d942fd96e4744f6 to your computer and use it in GitHub Desktop.
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
scala> val inc = funcd | |
<console>:12: error: missing argument list for method funcd | |
Unapplied methods are only converted to functions when a function type is expected. | |
You can make this conversion explicit by writing `funcd _` or `funcd(_)` instead of `funcd`. | |
val inc = funcd | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment