Sorry if I’m missing something obvious but write mode doesn’t seem to be working for me here: I have a very small txt file which I’m reading with
file_lines([]) --> [].
file_lines([L|Ls]) -->
[L],
file_lines(Ls).
test(File,Content) :-
phrase_from_file(file_lines(Content), File).
I’m getting an abbreviated list of codes in the repl which I used to be able to expand with w but now I’m getting
46 ?- test('file.txt',Content).
Content = [102, 111, 111, 10, 98, 97, 114, 10, 104|…] [write]
Content = [102, 111, 111, 10, 98, 97, 114, 10, 104|…] [write]
Content = [102, 111, 111, 10, 98, 97, 114, 10, 104|…] .
Is there a different command for this now or a flag or anything? I recently upgraded from 9.2.X (I think) to 10.0.2. I tried checking the changelog but don’t believe I’m seeing anything on this.