# clara

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

datajohnny 03:23:57

how can I make this just return the string to the caller?

jthomson 14:53:59

@datajohnny: my understanding is that the RHS of a clara rule should be side-effecting. Sometimes, the side effect will be updating the Clara session itself, via insert! and retract!. A common pattern for what you are trying to do would be to insert! a new fact on the RHS of your rule, then query the session for those facts after fire-rules.

jthomson 14:54:21

you could follow one of the examples in the clara-examples project