<< Back to previous view

[CLJ-1086] Support arity-1 for ->> Created: 12/Oct/12  Updated: 17/Aug/13  Resolved: 17/Aug/13

Status: Closed
Project: Clojure
Component/s: None
Affects Version/s: Release 1.1, Release 1.2, Release 1.3, Release 1.4
Fix Version/s: None

Type: Enhancement Priority: Minor
Reporter: Shantanu Kumar Assignee: Unassigned
Resolution: Duplicate Votes: 2
Labels: None

Clojure and ClojureScript

Attachments: File thread-last-arity-1.diff    
Patch: Code


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)

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

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

Comment by Andy Fingerhut [ 08/Nov/12 1:37 PM ]

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

Comment by Shantanu Kumar [ 08/Nov/12 1:43 PM ]

@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.

Comment by Andy Fingerhut [ 08/Nov/12 1:53 PM ]

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.

Comment by VĂ­ctor M. Valenzuela [ 12/Jan/13 6:48 PM ]

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

Comment by Andy Fingerhut [ 14/Aug/13 7:37 PM ]

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.

Comment by Alex Miller [ 17/Aug/13 3:18 PM ]

dup of CLJ-1121, which has been applied.

Generated at Sat Oct 21 03:36:02 CDT 2017 using JIRA 4.4#649-r158309.