Re: ! and ->
- From: Duncan Patton <campbell@xxxxxxxxxx>
- Date: Thu, 15 Jun 2006 00:02:11 GMT
On Tue, 13 Jun 2006 19:42:19 +0200
Yan Georget <yan.georget@xxxxxxxxxx> wrote:
What if then() (or else()) contains a cut ? Does it affect a() in your
translation ? It did in the original program !
Of course ... I realize that I have not used Prolog for years and I forgot
how tricky it was to mix -> and !.
Yan
I try to avoid this as well. Even nested ";" I don't like to use.
Mebbe Barts right that there isn't a general translation in prolog
for ->, but I don't usually deal with the general case, and when
I do I often circumvent crummy semantics by moving to a different
language (e.g. C).
Dhu
--
???????????????????????????????????????
Open Systems Integration
Contact Fubar the Hack: fubar AT neotext.ca
Area code seven eight zero, Exchange four six six, Local zero one zero nine
Highland terms, Canadian workmanship.
All persons named herein are purely fictional victims
of the Canidian Bagle Breeder's Association.
Save the Bagle!
Sun Dhu
???????????????????????????????????????
.
- 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 ->
- From: Bart Demoen
- Re: ! and ->
- From: Yan Georget
- Re: ! and ->
- Prev by Date: Re: Performing key validation inside a "Web of trust"
- Next by Date: Re: I just don't get it (list)
- Previous by thread: Re: ! and ->
- Next by thread: Performing key validation inside a "Web of trust"
- Index(es):
Relevant Pages
|
|