Subject: Re: making dynamic procedures static

From: Jan Wielemaker <[email-masked]>
Date: Thu, 17 Aug 2000 10:22:18 +0200

> Is there any way to:
> 
>   make a dynamic procedure static?

'$set_predicate_attribute'(foo/1,  (dynamic), 0).

But don't rely on it :-)  At the moment there isn't really a difference
between the two, but that could easily change and then this won't work
anymore.  Basically the only portable way I can think of is to load a
file defining a term-expansion rule generating clauses for the dynamic
predicate.

>   create a static procedure with no clauses?

:- multifile foo/1.

	Regards --- Jan