Re: How to replace a term to the inside of an other term?
- From: "Advait" <advait_raut@xxxxxxxxxxxxxx>
- Date: 24 May 2006 07:07:26 -0700
Mika wrote:
Hello, I must define the following procedure:
substitute(T,TOLD,TNEW,T1)
T1 is the term in which the occurrences of term ground TOLD they have
been replaced with TNEW
ex. substitute(f(a,g(a)),a,b,T).
T= f(b,g(b))
Is it your assignment?
-----------------
Advait
.
- Follow-Ups:
- References:
- Prev by Date: Re: It seems that I found prolog in prolog
- Next by Date: new to prolog
- Previous by thread: How to replace a term to the inside of an other term?
- Next by thread: Re: How to replace a term to the inside of an other term?
- Index(es):