]> Repositorios git - scryer-prolog.git/commit
ENHANCED: format specifier ~w more faithfully emulates write/1
authorMarkus Triska <[email protected]>
Sat, 5 Apr 2025 07:47:29 +0000 (09:47 +0200)
committerMarkus Triska <[email protected]>
Sat, 5 Apr 2025 07:58:06 +0000 (09:58 +0200)
commit3d600943309f314f3514c2718279c129f283c787
tree9cf6b65be6daef75943ab2cd8ffc7d1ab0bd0f2c
parentae27e78d80f34b056ee64463f990a5918e2a4ef8
ENHANCED: format specifier ~w more faithfully emulates write/1

In particular, variables now start with "_".

Example:

    ?- format("~w", [X]).
    %@ _A   true.

Found thanks to a discussion initiated by @haijinSk:

    https://github.com/mthom/scryer-prolog/discussions/2863
src/lib/format.pl