Is there a way to define an autorun predicate that will run after a file is downloaded?
Yes, I know about swipl -s file.pl -g "main." but still looking for something that can be put in the source file file.pl
swipl -s file.pl -g "main."
file.pl
:- initialization(main).
Make sure the main directive always calls halt/0 , otherwise you will get an excessive level when it fails. Or make an unconditional call to halt/0 :
main
halt/0
:- initialization(once(((main ; true), halt))).
Source: https://habr.com/ru/post/1336695/More articles:Saving macros in vim with - macrosHow does WebMatrix routing work? - asp.net-mvcHow to add custom field to form in IPB - phpInsert text before and after selected text using jQuery - jqueryLINQ query with grouping and ranking - c #YQL Problem - "The current table is locked" - yqlConfiguring Eclipse to work with Java EE - javahttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1336698/move-objects-to-specified-points-in-a-scene&usg=ALkJrhitLejqterjA6mQ65iXetPN4cQk8QHow can I deploy an ASP.NET site (mvc) using GIT and, for example, beanstalkapp.com via FTP? - gitupload and download files between client server - javaAll Articles