On Mon, Feb 9, 2009 at 3:51 PM, Henrique Lopes Cardoso <[email protected]> wrote:

> How about::
>
> (defrule retract-them-all
>    ?x <- (MappingName)
>    =>
>    (rectract ?x))
>

Basically, yes, that'll do it - but then these facts won't stay around long
enough for any useful purpose.
-W


>
> Cheers,
>
> Henrique
>
>
> nikita shah wrote:
> > I want to remove all facts beloging to one particular template.
> > How can this be done ?
> >
> > For eg:
> > (deftemplate MappingName (slot mappingName))
> >
> > Some rule fires and I want to remove all the facts belonging to
> MappingName
> > template.
> >
> >
>
>
>
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [email protected]'
> in the BODY of a message to [email protected], NOT to the list
> (use your own address!) List problems? Notify [email protected].
> --------------------------------------------------------------------
>
>

Reply via email to