Clojure

Support arity-1 for ->>

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: Release 1.1, Release 1.2, Release 1.3, Release 1.4
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Clojure and ClojureScript
  • Patch:
    Code

Description

Currently (as of Clojure 1.4) ->> doesn't support arity-1, though -> does. Arity-1 for ->> would be useful to let somebody comment out forms as follows:

(->> foo
  #_(bar baz)
  #_quux)

Discussion: https://groups.google.com/forum/?fromgroups=#!topic/clojure/_IVl0Tb7Au4

My name on contributor list page http://clojure.org/contributing is: Shantanu Kumar

Activity

Hide
Andy Fingerhut added a comment -

Shantanu, you give your name on the contributing page, but I don't see it there. Is your CA in transit, perhaps?

Show
Andy Fingerhut added a comment - Shantanu, you give your name on the contributing page, but I don't see it there. Is your CA in transit, perhaps?
Hide
Shantanu Kumar added a comment -

@Andy I can see my name on the contributors page when I search for the text "Shantanu". My CA was submitted more than a year ago.

Show
Shantanu Kumar added a comment - @Andy I can see my name on the contributors page when I search for the text "Shantanu". My CA was submitted more than a year ago.
Hide
Andy Fingerhut added a comment -

Right you are. I somehow accidentally got my browser to enable case matching, and was expecting it to search case insensitively. Sorry for the noise.

Show
Andy Fingerhut added a comment - Right you are. I somehow accidentally got my browser to enable case matching, and was expecting it to search case insensitively. Sorry for the noise.
Hide
Víctor M. Valenzuela added a comment -

Just for the record, the patch provided at http://dev.clojure.org/jira/browse/CLJ-1121 addresses this issue.

Show
Víctor M. Valenzuela added a comment - Just for the record, the patch provided at http://dev.clojure.org/jira/browse/CLJ-1121 addresses this issue.

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated: