As I found I can use from $
and #
in the shortened version of the suspend
in Prolog. Hence, I can write the following query:
?- X $> 2, X = 2.5.
And the result is:
X = 2.5
Yes (0.11s cpu)
So what is the difference between #
and $
and why the result of the following query:
?- X #> 2, X = 2.5.
is:
No (0.02s cpu)
?