[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
The editor does not always offer other solutions.
From: |
one_of_us |
Subject: |
The editor does not always offer other solutions. |
Date: |
Sun, 8 Jan 2023 18:46:20 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 |
o@Kiki:~/prolog/gen_rythm$ uname -a
Linux Kiki 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21)
x86_64 GNU/Linux
o@Kiki:~/prolog/gen_rythm$ gprolog
GNU Prolog 1.4.5 (64 bits)
Compiled Feb 23 2020, 20:14:50 with gcc
By Daniel Diaz
Copyright (C) 1999-2020 Daniel Diaz
| ?- [user].
compiling user for byte code...
name(bob).
name(ann).
name(joe).
end_of_file.
user compiled, 3 lines read - 292 bytes written, 45418 ms
yes
| ?- name(X). %
%
X = bob ? ; % Here is possibility
% to request another
X = ann ? ; % solutions.
% It is good.
X = joe %
yes
| ?- read(Y), name(X). %
tratata. % Here is not such possibility.
% Why?
X = bob % Is it a bug?
Y = tratata ? %
yes
| ?-
- The editor does not always offer other solutions.,
one_of_us <=