score:8
Accepted answer
It's call-by-name parameter
http://ofps.oreilly.com/titles/9780596155957/FunctionalProgramming.html#_call_by_name_call_by_value
score:0
For anyone else who might stumble upon the same question:
It is called a by-name parameter and it is only evaluated if it is used in the function body.
This link explains the use of this notation in detail.
Also refer: Scala Documentation
Source: stackoverflow.com
Related Query
- RequestHeader doesn’t contain the request body at Play Framework 2.0 till now
- How do you read the HTML content of an Atom feed with Scala and Play framework 2.0?
- How do I find the absolute path to a Play Framework app?
- How to improve the error message readability returned from JsError.toFlatJson or JsError.toJson in Play framework 2.x?
- How do you change the Play 2.1! Framework session cookie name
- Play Framework 2.1: Scala: how to get the whole base url (including protocol)?
- Get Response body from play.api.mvc.Action[AnyContent] in Play framework (Scala)
- Scala play http filters: how to find the request body
- How to print @ symbol in HTML with play framework (scala)
- Calling into Play framework app from the Scala console
- What is the use of unapply in this sample Play framework code (Form mapping)
- What is the difference between Silhouette and Deadbolt 2 in Play Framework
- Play Framework Scala: How to Stream Request Body
- How to reference to the standard ActorSystem of play framework 2?
- How to show images using Play framework and Scala in the view page
- Where does one place a scala file in the Play Framework 2.0 so that it is compiled as part of the default package?
- Play / Logging / Print Response Body / Run over enumerator / buffer the body
- Access Request Body in essential filter Play Framework 2
- How i can integrate Apache Spark with the Play Framework to display predictions in real time?
- play framework 2: test a request with a json string as body
- body: => Html in the Play framework?
- The "right" way to use write Slick 3.0 Scala queries in Play Framework
- Is there a quick built in way to forward a request in the scala Play framework
- Inline variable in the Play framework 2.x Scala template
- Escaping HTML in a Java Play Framework Scala Template
- How to list out all the files in the public/images directory in a Play Framework 2 Scala application?
- Play Framework template doesn't have Html type
- How to use the Play Framework with Google App Engine with locally installed Java 7?
- Why makes calling error or done in a BodyParser's Iteratee the request hang in Play Framework 2.0?
- Play Framework is hiding the intial exception
More Query from same tag
- DecodeJson not working after scalaz version update in application
- Get number of rows read in Spark thrift server query through Listener
- LinkingErrors when updating from Scala.rx 0.3.2 to 0.4.0
- restful simple web api , how to make this project?
- How to convert a 2D text file into a 2D array (Scala)
- How to create a map key from a variable?
- Build sbt project as a part of Maven project
- How to examine implicit/rich conversions and implemented traits in the REPL
- Scala Lift - Return json object for response
- Understanding implicit conversions
- how to filter a rdd by compare one column with another rdd's column not using toDf
- Does development with scalaz require an Unicode/APL-like keyboard?
- getting minimum and maximum value in List[Option[Int or Long or Float]]
- Find a type in REPL?
- How to use https in play framework?
- scala: why is 1/0 an arithmetic exception but 1.0/0.0 = Double.Infinity
- How to run scala worksheet with options ?
- Scala: Source.fromInputStream failed for bigger input
- How to randomly selecting rows from one dataframeusing information from another dataframe
- Play-Slick Instruction on How to Perform Custom Sorting using Case-When
- Capture words, digits and hyphen in scala regex
- How do I read sequence data in Scala in Spark
- Running a jar produce from gradle build
- In Lift, changing the way Menu.param behaves
- Can't understand type errors in Scala
- Possible ways to check if a value exists in a sequence scala
- how to map implicit class parameter to trait variable?
- How do you create a file input stream in Scala to download a video from a URL?
- Scala simple polymorphism
- Docker: Play framework application exits with code 0