Closed torbjornlager closed 7 years ago
That is simply how the toplevel behaves: it will try to correct and find all predicates referenced from the goal. You can avoid that using :
rather than 0
as meta-predicate indicator. That might make sense if we include the whole thing including the source and remote nodes. If you just use the dispatch library the current declaration is correct.
Ok, that makes sense.
On Mon, Nov 13, 2017 at 10:01 AM, Jan Wielemaker notifications@github.com wrote:
That is simply how the toplevel behaves: it will try to correct and find all predicates referenced from the goal. You can avoid that using : rather than 0 as meta-predicate indicator. That might make sense if we include the whole thing including the source and remote nodes. If you just use the dispatch library the current declaration is correct.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JanWielemaker/swi-erlang/issues/1#issuecomment-343854120, or mute the thread https://github.com/notifications/unsubscribe-auth/ACTC1K_YPY-tlq4hu-kF5oteNa_TUc6Nks5s2AVMgaJpZM4QbaYP .
-- Torbjörn Lager Professor of General and Computational Linguistics Department of Philosophy, Linguistics and Theory of Science University of Gothenburg Box 200, SE-405 30 Gothenburg, Sweden Phone: +46317864962
Due to the top-level behaviour of SWI-Prolog, the following is wrong:
This is how it should work:
(That's how it works if we do
instead.)