Truth and Falsehood

Truth and Falsehood
复制标题

真理与谎言

DOI:
10.1007/978-94-007-0907-2
复制
发表时间:
2011
期刊:
影响因子:
0.7
通讯作者:
H. Wansing
H. Wansing
中科院分区:
数学3区
文献类型:
--
作者:
Y. Shramko;H. Wansing

文献摘要

被引文献

相似文献

作为另一个例子,让我们编写一个处理真假的函数。如果能做一个函数,让我们知道字母或句子中的第三件事,那就太好了。如果序列太短,我们该怎么办?作为任意选择,让它返回#f。有几种不同的方法来编写这类函数。(本书在《函数与过程》的讨论中指出了这类问题。)首先,让我们用if特殊形式来尝试一下。
As another example, let’s write a function that plays around with truth and falsehood. It would be nice to make a function that will give us the third thing in a letter or sentence. What should we do if the sequence is too short? As an arbitrary choice, let’s have it return #f. There are several different ways of writing this sort of function. (The book points out this sort of thing in its discussion on “function vs process.”) First, let’s try it with the if special form.