matching with objects

2009-05-03
2012-11-23
  • Jack  Widman
    Jack Widman
    2009-05-03

    I must be doing something fundamentally wrong

    (defclass Man (is-a USER)
      (multislot friends))

    (defrule rule1
      (object (is-a Man))
      =>
      printout t "We have a man." crlf)

    (make-instance jack of Man)

    Why doesn't this match?

    Obviously I am doing something wrong.