Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add tip on creating a new zipper/nodes via coerce #304

Open
lread opened this issue Aug 10, 2024 · 0 comments
Open

doc: add tip on creating a new zipper/nodes via coerce #304

lread opened this issue Aug 10, 2024 · 0 comments
Labels

Comments

@lread
Copy link
Collaborator

lread commented Aug 10, 2024

From @borkdude in #rewrite-clj on Slack:

$ bb -e "(require '[rewrite-clj.zip :as z]) (-> (z/of-node (rewrite-clj.node/coerce '(+ 1 2 3))) z/down z/right z/sexpr)"
1
@lread lread added the docs label Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant