<< Back to previous view

[CONTRIB-97] Add zero-arity body to comp function Created: 28/Sep/10  Updated: 28/Sep/10  Resolved: 28/Sep/10

Status: Closed
Project: Clojure-Contrib
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect
Reporter: Anonymous Assignee: Unassigned
Resolution: Declined Votes: 0
Labels: None


 Description   

The comp function should return the identity function should it be called with zero args. Currently there is no zero-arity form. I talked a little more about this at http://blog.fogus.me/2010/08/18/monkeying-with-clojures-comp-function/. Patch attached.



 Comments   
Comment by Assembla Importer [ 28/Sep/10 7:22 PM ]

Converted from http://www.assembla.com/spaces/clojure/tickets/97
Attachments:
comp0.diff - https://www.assembla.com/spaces/clojure/documents/aoMbWYYXmr37tPeJe5cbLr/download/aoMbWYYXmr37tPeJe5cbLr

Comment by Assembla Importer [ 28/Sep/10 7:22 PM ]

fogus said: Sigh. I posted this in contrib when it should have been in core. I apologize.

Generated at Wed Aug 20 17:37:51 CDT 2014 using JIRA 4.4#649-r158309.