Clojure

Support arity-1 for ->>

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • 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.
Hide
Andy Fingerhut added a comment - - edited

Ticket CLJ-1121 had a patch committed for it on Aug 14 2013. That patch fixed this issue, too. This ticket can be closed as "Completed" with no other patches needing to be applied.

Show
Andy Fingerhut added a comment - - edited Ticket CLJ-1121 had a patch committed for it on Aug 14 2013. That patch fixed this issue, too. This ticket can be closed as "Completed" with no other patches needing to be applied.
Hide
Alex Miller added a comment -

dup of CLJ-1121, which has been applied.

Show
Alex Miller added a comment - dup of CLJ-1121, which has been applied.
Alex Miller made changes -
Field Original Value New Value
Resolution Duplicate [ 3 ]
Status Open [ 1 ] Closed [ 6 ]

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: