[bp-users]Repetition

Rolley redrum320@mac.com
Sun, 14 Oct 2001 16:23:17 -0400


--Apple-Mail-1620687030-2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	format=flowed;
	charset=iso-8859-1

Hi i just started programming in Prolog and i have a strange behavior =
from=20
BProlog:

here is a simple code :

mem( X, [Nu , Arc] ):-
	member(X, Arc ).

here is an exemple of execution:

| ?- mem( [3,3], [ Y,[[1,2], [3,3]]]).  **enter**
mem([3,3],[Y,[[1,2],[3,3]]])?		**enter**
yes

why does the interpreter wants me to reconfirm what i wrote ?

thx,


Roland Vignaux Fines

=C9tudiant au D=E9partement d'Informatique et de Recherche
Op=E9rationnelle (DIRO) de l'Universit=E9 de Montr=E9al
---------------------------------------------------------------------

--Apple-Mail-1620687030-2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/enriched;
	charset=iso-8859-1

Hi i just started programming in Prolog and i have a strange behavior
from BProlog:


here is a simple code :


mem( X, [Nu , Arc] ):-

	member(X, Arc ).


here is an exemple of execution:


| ?- mem( [3,3], [ Y,[[1,2], [3,3]]]).  **enter**

mem([3,3],[Y,[[1,2],[3,3]]])?		**enter**

yes


why does the interpreter wants me to reconfirm what i wrote ?


thx,



<fontfamily><param>Helvetica</param><smaller>Roland Vignaux Fines


=C9tudiant au D=E9partement d'Informatique et de Recherche=20

Op=E9rationnelle (DIRO) de l'Universit=E9 de
Montr=E9al</smaller></fontfamily> =
<fontfamily><param>Helvetica</param><smaller>

=
-------------------------------------</smaller></fontfamily>--------------=
------------------=

--Apple-Mail-1620687030-2--