write_result(+Lang, +Event, +Dict) is semidet[multifile, library(pengines)]
Hook that allows for different output formats. The core Pengines library supports prolog and various JSON dialects. The hook event_to_json/3 can be used to refine the JSON dialects. This hook must be used if a completely different output format is desired.
 pengines:write_result(+Format, +Event, +VarNames) is semidet[multifile, library(swish/swish_csv)]
Hook into library(pengines) that makes pengines support CSV output.