]> Repositorios git - scryer-prolog.git/commit
ENHANCED: use (+)/2 to express unary minus
authorMarkus Triska <[email protected]>
Mon, 9 Oct 2023 20:59:51 +0000 (22:59 +0200)
committerMarkus Triska <[email protected]>
Mon, 9 Oct 2023 20:59:51 +0000 (22:59 +0200)
commit8329d222cbbc1b90e3f57451e7a9c6faf90cedad
tree54cfd425459ac42d6143e7f22ebd4baf997a44a1
parentb149805b9edbc4d768c5ed9141443402a12e1684
ENHANCED: use (+)/2 to express unary minus

This makes answers a bit shorter and more readable.

Example:

    ?- X #= -Y.
       clpz:(X+Y#=0).

This addresses #2058.
src/lib/clpz.pl