Giter VIP home page Giter VIP logo

Comments (1)

jonase avatar jonase commented on June 8, 2024

We can definitely try prewalk instead. I don't think it'll matter for
the kibit leiningen plugin. Could you send a pull request?

Jonas

On Mon, Mar 26, 2012 at 8:06 AM, Kevin Lynagh
[email protected]
wrote:

Is there a reason why the simplification occurs in postwalk order instead of prewalk order?
If not, I'd prefer prewalk because then I can write rules to match forms based on their innards without worrying about those innards getting mangled by other rules.
This came up for me when trying to replace metadata'd forms with a keyword to mark them for removal:

(defn ^:cljs only-works-on-the-web [x] ...)

should become :remove-me.
Except that I also want to remove individual forms with that metadata:

^:cljs (toplevel-form)

(this case it doesn't matter if you prewalk or postwalk).
In the former case, though, if you postwalk, you end up with

(defn :remove-me [x] ...)

Reply to this email directly or view it on GitHub:
#23

from kibit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.