例子里的第二个case,我们已经解出了元组里的值并且附给了局部变量,然后在结果表达式中使用了这些变量。
In the second case in this example, we've extracted the values inside the tuple to scoped variables, then reused these variables in the resulting expression.
这些表达式是使用函数构成的,结合这些函数来得到我们可能要查找的结果。
These expressions are formed using functions, which are combined to get the results we may be looking for.
这段代码是程序基本结构的一个例子,我们称之为表示计算结果的表达式。
This piece of the code is an example of an essential programming construct called an expression that represents the result of computation.
Literally, return the control from this function, and take the value of the next expression, and return that as the value of the whole computation.
正如字面意义上说的,从这个函数返回,然后取得下一个表达式的值,并把这个值作为整个计算的结果返回。
What I have now is the following: I can write expressions, do combinations of things to get out values, I can store them away, I can print them up.
我已经讲过如下内容:,如何写表达式,如果把东西混合然后得到结果值,我可以将其保存,也可以将其显示。
And this puzzle piece here colored in blue because it's a Boolean expression is just something that--whose answer is either a yes or no, 0 true or false, one or zero.
这个拼图染成蓝色,因为它是布尔表达式,它的结果只可能是肯定或否定,对或错,1或者。
应用推荐