Programming Techniques
Programming Techniques. t.k.prasad@wright.edu http://www.knoesis.org/tkprasad/. Generalization/Abstraction. Analogy: [a,b,c] [f(a),f(b),f(c)] maplist(_,[],[]). maplist(P,[X|T],[NX|NT]) :- G =.. [P,X,NX], call(G), maplist(P,T,NT). (G p(N,NX)). Application.
372 views • 26 slides