Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rule A
- when
- Person()
- then
- say “hello”
- end
- rule B
- when
- Person( name == “Toni” )
- then
- say “get out of here”
- end
- B overwrites A
- We need to generate this:
- rule A
- when
- Person( name != “Toni” )
- then
- say “hello”
- end
- rule B
- when
- Person( name == “Toni” )
- then
- say “get out of here”
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement