Truth and Falsehood
Truth and Falsehood
复制标题
真理与谎言
DOI:
10.1007/978-94-007-0907-2
复制
发表时间:
2011
期刊:
影响因子:
0.7
通讯作者:
H. Wansing
中科院分区:
文献类型:
--
作者:
Y. Shramko;H. Wansing
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.