Re: Replace occurrence of a list with another?
- From: Bill Spight <bspight@xxxxxxxxxxxx>
- Date: Wed, 26 Apr 2006 01:12:02 GMT
Dear Brian,
That is the stop condition for the replaceall predicate.
Sorry, I meant this clause.
replaceall(X,Y,[H|T],[H|List]) :-
replaceall(X,Y,T,List).
What does it say?
Best,
Bill
.
- Follow-Ups:
- Re: Replace occurrence of a list with another?
- From: brianbasquille
- Re: Replace occurrence of a list with another?
- References:
- Replace occurrence of a list with another?
- From: brianbasquille
- Re: Replace occurrence of a list with another?
- From: Bill Spight
- Re: Replace occurrence of a list with another?
- From: brianbasquille
- Replace occurrence of a list with another?
- Prev by Date: Prolog in the Software Market?
- Next by Date: Re: Unification algorithm in C/C++
- Previous by thread: Re: Replace occurrence of a list with another?
- Next by thread: Re: Replace occurrence of a list with another?
- Index(es):