I just started using the Play and Scala platform. What does the body mean: => Html in the Play structure? Thanks.
This parameter by name
http://ofps.oreilly.com/titles/9780596155957/FunctionalProgramming.html#_call_by_name_call_by_value
For anyone who might stumble upon the same question:
It is called the by-name parameter , and it is evaluated only if it is used in the function body.
This link explains in detail the use of this notation.
Also see: Scala Documentation
Source: https://habr.com/ru/post/904011/More articles:Autorelease pools in Objective-C - free main AutoreleasePool? - memory-managementCheckBox Create a ListView item without clicks - androidSearch string quick line - performanceWhat is the effect of redundant import statements on Java? - javaIs django-cms routing incorrectly to a static URL? - django-cmsdjango cms does not see static folder - django-cmsR: combining the location of several libraries with most modern packages - rwhat is the difference between grouping and facet in lucene 3.5 - groupingHow to transfer form values ββOne html page to another javascript html page? - javascriptHow to enable Rails I18n translation errors in views? - ruby-on-railsAll Articles