Clojure-Contrib

Add zero-arity body to comp function

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Resolution: Declined
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • 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.

Activity

Hide
Assembla Importer added a comment -

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

Show
Assembla Importer added a comment - fogus said: Sigh. I posted this in contrib when it should have been in core. I apologize.

People

  • Assignee:
    Unassigned
    Reporter:
    Anonymous
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: