Open jjtolton opened 1 month ago
I can reproduce this. Doesn't seem that hard to fix, but I also think that the whole interface may benefit from a DCG overhaul and delegation of IO to the phrase_(from|to)_(stream|file)
predicates from library(pio)
, similarly to library(serialization/json)
. And tests, at least some.
While researching for the I/O tutorial for Scryer, I hit a roadbump with the csv module. The example provided:
generates this file on my machine:
Changing the query to:
generates:
I believe the issue lies with the usage of
~w
vs~s
in the inner call to theformat
predicate, but I was unable to get a full diagnostic completed.I'm not sure if this is a platform specific issue?