The "arrow" is an old syntax from the Drools 3.0 times that is no longer necessary and was deprecated in 4. It is the exact same thing as a bind+eval:
MemberBlog(member : member -> (member.getUsername().equals( principal.getName())))
Above is exact same thing as:
MemberBlog(member : member, eval(member.getUsername().equals( principal.getName())))
But in Drools 4 and 5, that can be simplified to:
MemberBlog( member.username == principal.name )
Much cleaner as you can see.
[]s
Edson
--
Edson Tirelli
JBoss Drools Core Development
JBoss, a division of Red Hat @ www.jboss.com