Re: Any Prolog language lawyer out there?
From: Bart Demoen (bmd_at_cs.kuleuven.ac.be)
Date: 10/20/04
- Next message: Jan Wielemaker: "Re: Any Prolog language lawyer out there?"
- Previous message: fickle: "SQL problem with SWI-Prolog"
- In reply to: Jens Kilian: "Re: Any Prolog language lawyer out there?"
- Next in thread: Bart Demoen: "Re: Any Prolog language lawyer out there?"
- Reply: Bart Demoen: "Re: Any Prolog language lawyer out there?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 20 Oct 2004 10:12:00 +0200
Jens Kilian wrote:
> This explicitly codifies the interpretation of '- 4' seen above.
http://www.sju.edu/~jhodgson/prolog_proj/framed_spec.html
has an executable ISO Prolog. One can submit goals and it
tells you the result. Here are some examples related to -4:
(I have removed some noise from the output)
Goal : integer(- 4)
Specification result : Must fail
Goal : integer(-4)
Specification result : Must succeed
So it seems that the space between the - and the 4 is important.
I do not have the final copy of the standard, and although I do remember
that there has been discussion about it, I do not remember the final outcome,
so can anybody check that's indeed what the standard says ?
Cheers
Bart Demoen
- Next message: Jan Wielemaker: "Re: Any Prolog language lawyer out there?"
- Previous message: fickle: "SQL problem with SWI-Prolog"
- In reply to: Jens Kilian: "Re: Any Prolog language lawyer out there?"
- Next in thread: Bart Demoen: "Re: Any Prolog language lawyer out there?"
- Reply: Bart Demoen: "Re: Any Prolog language lawyer out there?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|