Program For Concatenation OR Append in Prolog Gain Infiniti

Program For Concatenation OR Append in Prolog



con([],L,L).
con([X|L1],L2,[X|L3]):-con(L1,L2,L3).

 Output
con([a,d,b],[c,g],P).
P=[“a”,”d”,”b”,”c”,”g”]

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 

Design By Manish and Ranjan