Lisp HUG Maillist Archive

Maybe I'm missing some patch

Hi everybody,

I've got the Lispworks 4.1.20 for windows and I'm trying to do the 
following in the knowledgeworks listener

==> (kw:defrule m-m :backward
	((m-m)
	<--
	 (fail)))

and I get the following error:

Error: Expected <-- but found <--
   1 (abort) Return to level 0.
   2 Return to top loop level 0.

Type :b for backtrace, .....etc


Any idea of what's wrong?
thanks.
Miro



Re: Maybe I'm missing some patch

Unable to parse email body. Email id is 1411

Re: Maybe I'm missing some patch

>>>>> On Wed, 15 Oct 2003 16:32:20 +0100, David Fox <davef@xanalys.com> said:

    David>    I've got the Lispworks 4.1.20 for windows and I'm trying to do the 
    David>    following in the knowledgeworks listener

    David>    ==> (kw:defrule m-m :backward
    David> 	   ((m-m)
    David> 	   <--
    David> 	    (fail)))

    David>    and I get the following error:

    David>    Error: Expected <-- but found <--
    David>       1 (abort) Return to level 0.
    David>       2 Return to top loop level 0.

    David>    Type :b for backtrace, .....etc

    David> Looks like a package problem. Try 

    David> (in-package "KW")

    David> first.

Ahem. That shouldn't that be:

        (in-package "KW-USER")

Or as Tim suggests if you have defined an application package then it
should use "KW".

__Jason


Re: Maybe I'm missing some patch

* Miro Casanova wrote:
> ==> (kw:defrule m-m :backward
> 	((m-m)
> 	<--
> 	 (fail)))

> and I get the following error:

> Error: Expected <-- but found <--
>    1 (abort) Return to level 0.
>    2 Return to top loop level 0.

Someone used ~A when they should have used ~S in the error message!
My guess is you want a (use-package :kw) to make '<-- be the same as
kw:<--.

--tim


Re: Maybe I'm missing some patch

Unable to parse email body. Email id is 1414

Updated at: 2020-12-10 08:59 UTC