This is surprising:

(deffunction ppallfunctions ()
 (bind ?sb (new StringBuffer))
 (bind ?it ((engine) listFunctions))
   (while (?it hasNext)
     (bind ?f (?it next))
;; The following call isn't possible because the intrinsic functions
;; don't implement jess.Visitable, and the only constructor for
;; jess.PrettyPrinter has an argument of this type.
;;    (?sb append (new jess.PrettyPrinter (?f)))
      (?sb append "
")
   )
   (?sb toString)
)

OK, one can filter the "unhospitable" functions, but what's the point
in returning objects that cannot be processed in the usual way?

--------------------------------------------------------------------
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