Re: ! and ->
- From: Bart Demoen <bmd@xxxxxxxxxxxxxxxxx>
- Date: Tue, 13 Jun 2006 16:46:39 +0200
Yan Georget wrote:
Can you fix these easily ?
What about:
p() :- a(), q(), b().
q() :- if(), !, then().
q() :- else().
--
Yan
What if then() (or else()) contains a cut ? Does it affect a() in your translation ?
It did in the original program !
Cheers
Bart Demoen
.
- Follow-Ups:
- Re: ! and ->
- From: Yan Georget
- Re: ! and ->
- References:
- Re: ! and ->
- From: Bart Demoen
- Re: ! and ->
- From: ZeD
- Re: ! and ->
- From: Bart Demoen
- Re: ! and ->
- From: ZeD
- Re: ! and ->
- From: Bart Demoen
- Re: ! and ->
- From: Yan Georget
- Re: ! and ->
- Prev by Date: Re: ! and ->
- Next by Date: [maybe OT] Sudoku: solving method or simply backtrack?
- Previous by thread: Re: ! and ->
- Next by thread: Re: ! and ->
- Index(es):