Article View: comp.lang.prolog
Article #1520retract*all
From: Claude Duguay
Date: Wed, 30 Sep 1992 16:57
Date: Wed, 30 Sep 1992 16:57
15 lines
983 bytes
983 bytes
This may seem sill or I might be missing part of this conversation but
would it not be easier and just as portable to use a simpler
implementation of retractall/retract_all rather than creating elaborate
solutions to emulate compiler directives:
myretractall(Term) :-
retract(Term),
fail.
myretractall(_).
Appologies for any naivety resulting from my focus on PDC Prolog and
restricted experience with other versions of Prolog.
Claude Duguay cduguay@lcraft.ersys.edmonton.ab.ca
Technical Details
Message-ID:
<uLBXRB2w165w@lcraft.ersys.edmonton.ab.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!tcsi.com!iat.holonet.net!news!usc!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!ersys!lcraft!cduguayShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!tcsi.com!iat.holonet.net!news!usc!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!ersys!lcraft!cduguay From: cduguay@lcraft.ersys.edmonton.ab.ca (Claude Duguay) Newsgroups: comp.lang.prolog Subject: retract*all Message-ID: <uLBXRB2w165w@lcraft.ersys.edmonton.ab.ca> Date: 30 Sep 92 16:57:06 GMT Organization: LogiCraft Corp, Edmonton, AB, Canada Lines: 15