Skip to content

defn rules applied to Java instance methods (zprint-1.2.8) #309

Answered by kkinnear
jcf asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the explanation. I'm sitting here saying "but, but, it does that already". So I'm probably still not getting some aspect of this that is obvious to you but not to me. I have assumed that the above example is what you want and is "consistent" in the way you want. If that is not what you want, then that would explain my confusion.

Anyway, here is what I get when I use your example and your option map (slightly changed).

Here is your options map with the :list {:indent-arg 2} removed from the :fn-map for defmacro (and thus defn and defn-):

(czprint i309c-om)
{:extend {:flow? true, :indent 0, :nl-separator? true},
 :fn-map {"->" :none,
          "->>" :none,
          "apply" :none…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@jcf
Comment options

Comment options

You must be logged in to vote
1 reply
@jcf
Comment options

Answer selected by jcf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants