y Machine, Part I”,其中介绍了一种运行在古老的IBM 704计算机上的列表处理语言LISP(LISt Processing,列表处理),借助它可以轻松描述当时人工智能领域用到的各种算法。从此,Lisp语言在包括AI领域在内的所有主流计
基于62个网页-相关网页
访问控制列表处理。
丰富而强大的Scheme语言极其适用于列表处理,而且易于理解和掌握。
The rich and powerful Scheme language is wonderful for list manipulation and is easy to understand and grasp.
Lisp 这一名字来自于 “列表处理”,人们常说 Lisp 中的任何东西都是一个列表。
The name Lisp comes from "list processing," and it is often said that everything in Lisp is a list.
I'm going to print here the list if we go into it, and print of the when we're done and then just return that.
注意接下我来我要做的事,运行到这里时会打印列表,并且当处理完成后会打印返回的列表。
It took me seven comparisons, because I can take advantage of the fact I know I only ever have to look at the first element of each sub-list. Those are the only things I need to compare, and when I run out of one list, I just add the rest of the list in.
进行了7次对比,因为我可以利用我知道的优势:,每次只需要比较每个子列表的第一个元素,那才是我需要进行对比的内容,当一个列表的元素处理完了,只需要将另一个列表剩下的元素直接添加进去。
At each stage, no matter which branch, here or here, I take, I'm cutting down the length of the list that I'm searching in half. All right?
选的是这里还是那里,我总是把列表分成两半,对吧?,所以如果我处理一个长度为n的列表?
应用推荐