Re: CLP(FD): what is necessary?
- From: bart demoen <bmd@xxxxxxxxxxxxxx>
- Date: Fri, 14 Mar 2008 21:15:28 +0100
On Fri, 14 Mar 2008 14:19:18 +0000, Joachim Schimpf wrote:
Delay clauses are meta level annotations that
don't affect the declarative meaning of the program (you can remove
them without changing the meaning of your prgram).
You earlier gave the example:
delay p(X) if var(X).
p(X) :- writeln(just_instantiated(X)).
I can certainly not remove the delay declaration without changing the
procedural meaning of the program.
Now for ARs, it is probably true one can't just change the => into :-
in every Action Rule and get a program that is declaratively the same.
But that seems more a feature of the choice of syntax than of the
principle, no ?
Cheers
Bart Demoen
.
- Follow-Ups:
- Re: CLP(FD): what is necessary?
- From: Joachim Schimpf
- Re: CLP(FD): what is necessary?
- References:
- CLP(FD): what is necessary?
- From: Wit Jakuczun
- Re: CLP(FD): what is necessary?
- From: Neng-Fa Zhou
- Re: CLP(FD): what is necessary?
- From: Joachim Schimpf
- CLP(FD): what is necessary?
- Prev by Date: Re: CLP(FD): what is necessary?
- Next by Date: Re: Reqest for Contributors: Hindley-Milner type checker library for Prolog
- Previous by thread: Re: CLP(FD): what is necessary?
- Next by thread: Re: CLP(FD): what is necessary?
- Index(es):
Relevant Pages
|
|