...档使用 看云 发布 文字 A A 默认 护眼 夜间 Scala 函数传名调用(call-by-name) Scala的解释器在解析函数参数(function arguments)时有两种方式: 传值调用(call-by-value):先计算参数表达式的值,再应用到函数内部; 传名调用(call-by-name):将未计算的...
基于48个网页-相关网页
在函数声明(function declaration)中,域内变量被 函数参数 ( function parameters )的名称和类型所扩展。
基于48个网页-相关网页
函数参数语义学 Function Parameter Semantics
理想函数/参数图 P-Diagram
构造函数参数 constructor parameter ; constructor-arg
触发函数参数提示 Ctrl-Shift-Space
函数参数名称 Function Parameter Names
函数参数顺序 Function Parameter Ordering
函数参数与返回值 Function Parameters and Return Values
函数参数解箱 Function argument unpacking
函数参数的暂时值 [计] temporary value of function parameter
如您所见,本例中只有一个函数参数。
As you can see, in this instance there is a single function argument.
函数参数与左括号之间不应该有空格。
A blank space should not be used between a function value and its left parenthesis.
are all functions of state and parameters that we can control like temperature and pressure.
公式里面的全部都是态函数,我们控制态函数的参数比如温度或者压强。
But this choice of names, both for my functions and also for my parameters or my variables is completely up to me.
但是这个名字的选择,包括我的函数名,和我的参数名,或者变量名都是我定义的。
I can have functions with no parameters, that's fine, I will still need the open and close paren there to identify that I have no parameters.
我每次都需要进行输入码?,函数可以没有参数,我依然需要前后括号,来定义我没与参数。
应用推荐