[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I think I have found a bug in list processing
From: |
phi16 |
Subject: |
I think I have found a bug in list processing |
Date: |
Fri, 30 Mar 2012 00:24:22 +0900 |
I think the following dialogue is a bug:
| ?- member(3,X),member(2,X),member(3,X).
X = [3,2|_] ? ;
X = [3,2,3|_] ? ;
X = [3|_] ? ;
X = [3,3|_] ? ;
X = [3,_,3|_] ? ;
X = [3,_,_,3|_] ? ;
X = [3,_,_,_,3|_] ?
The input tells the list named X must contain 2.
But the 3rd output shows there is possible that X does not contain 2.
Thank you for viewing.
- I think I have found a bug in list processing,
phi16 <=