scryer-prolog
scryer-prolog copied to clipboard
rebis-dev: Unexpected domain error
With the following program:
:- use_module(library(format)).
p(ID, N) :-
format("~w (~w)... ", [ID,N]).
I get:
?- p(3, 5). error(domain_error(write_option,'A'=3),write_term_to_chars/3), unexpected.
It works as expected in master:
?- p(3, 5). 3 (5)... true.