Details
-
Type:
Enhancement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Patch:Accepted
-
Approval:Ok
Description
On the Clojure mailing list I wrote:
For guards, I wonder if the extra parens are really necessary. Couldn't the :when bind tightly to the previous pattern variable? Like Clojure FOR comprehensions. I think it would be easier to read that way. Same comment applies to :as. To cover the rare case of matching a literal :when or :as, you could quote it or use it as the first item in an OR pattern.
On Oct 10, 2011, at 3:11 PM, David Nolen wrote:
It would be nice to lose the extra parens - patch welcome ![]()
Attachments
Activity
Steve Miner
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | flat2.patch [ 10394 ] |
Steve Miner
made changes -
| Attachment | flat3.patch [ 10396 ] |
Steve Miner
made changes -
| Attachment | flat4.patch [ 10492 ] |
David Nolen
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Approval | Ok [ 10007 ] | |
| Resolution | Completed [ 1 ] | |
| Patch | Accepted [ 10012 ] |