Pattern bindings are jess.Fact objects.
Perhaps the biggest change is that pattern bindings, like
?var in
?var <- (pattern)
are jess.Fact objects in Jess 6, not just integers
as they were in Jess 5. That means that Jess 5 code like
;; Get the 'head' of a fact
(get (call (engine) findFactById ?var) name)
won't work. Instead, it can be replaced by the much simpler
and much more efficient
;; Get the 'head' of a fact
(get ?var name)
Some fairly widely distributed code needs to be updated in
this way.