anjum114
Programmer
- Oct 15, 2008
- 2
Hi,
I am new to prolog, I have programs that deal with long list. when I try to display then all I get is series of dots.
For example
?- X = [1,2,2,2,3,3,4,4,5,6,7,7,7,5,5,7,4,4,6,78,3,3,5,7,78,5,3,4,6,7,3,5,6,7,4,45,6,7,8,9,4,4,6,8,9,4,4,6,8,9,4,45,6,7,8,9,4,4,5,6,78,8,93,3,5,6,7].
X = [1, 2, 2, 2, 3, 3, 4, 4, 5|...] ;
is there any way to make prolog display everything
I am new to prolog, I have programs that deal with long list. when I try to display then all I get is series of dots.
For example
?- X = [1,2,2,2,3,3,4,4,5,6,7,7,7,5,5,7,4,4,6,78,3,3,5,7,78,5,3,4,6,7,3,5,6,7,4,45,6,7,8,9,4,4,6,8,9,4,4,6,8,9,4,45,6,7,8,9,4,4,5,6,78,8,93,3,5,6,7].
X = [1, 2, 2, 2, 3, 3, 4, 4, 5|...] ;
is there any way to make prolog display everything