Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (def state-tester
- (new-tester (whitelist (constantly '(true))) ; we want everything to be true
- (blacklist (function-matcher 'def 'def*))))
- (defn has-state? [form]
- (not (state-tester form nil)))
Add Comment
Please, Sign In to add comment