<< Back to previous view

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

Status: Open
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: Unresolved Votes: 2
Labels: None
Environment:

Clojure and ClojureScript


Attachments: File thread-last-arity-1.diff    
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



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

Generated at Wed May 22 18:32:30 CDT 2013 using JIRA 4.4#649-r158309.