🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #1520

retract*all

#1520
From: Claude Duguay
Date: Wed, 30 Sep 1992 16:57
15 lines
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!cduguay

Show 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