]> Repositorios git - scryer-prolog.git/commit
FIXED: correct partial string tail calculation in arg/3
authorMarkus Triska <[email protected]>
Thu, 1 May 2025 07:18:00 +0000 (09:18 +0200)
committerMark Thom <[email protected]>
Tue, 8 Jul 2025 05:38:12 +0000 (22:38 -0700)
commit709dc041ebf7cc47d41a05dc35f7a9a18c8d3691
tree2dbd3dc090af8ef46d161e331ba2e206d8885190
parent8763a42c98b2b16e9cbb649cc16e093382c3444f
FIXED: correct partial string tail calculation in arg/3

This addresses another aspect of #2924, found by @haijinSk.
Thank you again!

Example:

    ?- "aaaaaaa" = [_,_,_,_,_,_|T], arg(2, T, 2).
       false.
src/machine/machine_state_impl.rs