Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (def current-state {:funcs [] :data [] :pc 0 :name :entry})
- (defmacro with-state [state body]
- `(let [{:keys [funcs data pc name]} ~state]
- ~body))
- (with-state current-state (println name))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement