Results 157 comments of Ben Sless

@lread Looks like it is indeed related. The "weird" behavior is specified [here](https://docs.cider.mx/cider/indent_spec.html) clojure-mode lets the user tell the indentation mechanism some forms have N special form arguments. Special forms...

I think a very slow and inefficient way to do this can be a combination of beta reduction and constant propagation. Most of my inlining is just constant propagation for...

You probably have better knowledge of them than I do. I'm wondering if I can perhaps sidestep the problem altogether and let something else do the term-rewriting and propagation for...

I think tools.analyzer might be a better fit, it allows working with a AST and not raw Clojure forms. What I'd need is to figure out how to: - inline...

@joinr Took about a year of fumbling bug I think I hit on a workable approach https://github.com/bsless/clj-analyzer

Nothing yet, I only figured out the correct data model for occurrences' arithmetic yesterday. To get something meaningful I need two other things: case elimination and loop breakers.

I actually haven't brought meander in. Assuming inlining only _in_ let bindings, this is all that you need to inline: ```clojure (defn do-inline [ast {:keys [name init]}] (ast/postwalk ast (fn...

I think I saw a JIRA recently where this will be solved by the compiler

Nice! This is really interesting! Are you interested in adding it via a PR? If not, do I have your permission to add it?

Will do, expect it in the coming week :) And now I realize where I recognized your name from. I was really surprised to see `structural`, like some form of...