rewrite-clj 2022-06-02

How do you create a zipper from a node? I can do (-> "Text({'a':1, 'b':2})" dart->ast ast->clj n/string z/of-string) Is there a way to skip n/string?

@arturdumchev I believe this is z/edn (the name is slightly weird)

🙏 1

Maybe we should introduce an alias for this of-node, wdty @lee?

👍 1

Yeah @borkdude, I think that would certainly be clearer and consistent with existing of-string and of-file. I can slip this into the next release. How do you feel about us deprecating edn and edn* , it might encourage folks to switch to a more meaningfully named var... but there's nothing otherwise harmful in using these fns.

👍 1

yes, deprecation seems good