Re: [lisa] rule-printer: CF 0.000 ?

"David E. Young" <[email protected]> Mon, 11 Oct 2004 20:48:13 -0400
Newsgroups gmane.lisp.lisa.general
Message-ID <000501c4aff5$2af871f0$6401a8c0@tinian>
Probably so. I'll put that on my to-do list. Thanks...

dey

----- Original Message ----- 
From: "Reini Urban" <[email protected]>
To: "LISA" <[email protected]>
Sent: Monday, October 11, 2004 7:47 PM
Subject: [lisa] [Lisa-users] rule-printer: CF 0.000 ?


> Paolo Amoroso schrieb:
> > A useful undocumented feature of LISA is that rules can have a
> > documentation string.  But, as far as I know, there is no exported
> > function for later accessing it.  Here is a sample usage with the
> > contexts demo:
> >
> > LISA-USER> (defrule frodo (:context :hobbits)
> >      "Frodo fires and focuses on :wizards."
> >      (frodo)
> >      =>
> >      (format t "frodo fired; focusing on :wizards.~%")
> >      (assert (gandalf (name gandalf)))
> >      (focus :wizards))
> > ; Compiling LAMBDA NIL:
> > ; Compiling Top-Level Form:
> > #<RULE HOBBITS.FRODO, CF is 0.000>
>
> Off topic, but this CF msg made me worrying:
> The default CF cannot be 0.000, it should be 1.000 IMHO.
>
> Shouldn't we omit this funny "CF is 0.000" if no :cf is defined?
> Or fix the printed string to something more certain ("CF is 1.000").
>
> > LISA-USER> (lisa::rule-comment *)
> > "Frodo fires and focuses on :wizards."
> > LISA-USER>
> -- 
> Reini Urban
> http://xarch.tu-graz.ac.at/home/rurban/
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out
more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Lisa-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lisa-users




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl