Re: meta predicate call
Fernando Saenz <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
Josef Frydl wrote: >?- F =..[is_list,[1,2,3]],call(F). >F = is_list([1, 2, 3]). > >?- >why F is not executed > > I think it is. And it simply succeeds. Try other call as the following one to ensure that something is going on: ?- F =..[write,[1,2,3]],call(F). [1,2,3] F = write([1, 2, 3]). If you don't get printed the list, then please report more details. All the best, Fernando >Thanks Josef Frydl >_______________________________________________ >SWI-Prolog mailing list >[email protected] >https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog > > >