Содержание
- 2. Operation on lists. Search of elements in lists. find_it (3, [1,2,3,4,5]). _________________ find_it (Head, [Head|_]). ___________________
- 3. Attachment of lists. L1 =[1,2,3] , L2 =[4,5] : append([], L,L). append([N |L1],L2,[N |L3]) :- append(LI,L2,L3).
- 4. Operation on lists. Sorting of lists. [4,7,3,9] [3,4,7,9], insert_sort([],[]). insert_sort ([Х]| Tail], Sorted__list) :- insert_sort (Tail,Sorted__Tail),
- 6. Скачать презентацию