Clojure

Add zero-arity body to comp function

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: Release 1.3
  • Component/s: None
  • Labels:
    None
  • Approval:
    Ok

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 -

stu said: Updating tickets (#139, #278, #285, #368, #443, #430)

Show
Assembla Importer added a comment - stu said: Updating tickets (#139, #278, #285, #368, #443, #430)
Hide
Assembla Importer added a comment -

stu said: Updating tickets (#139, #278, #285, #368, #443, #430)

Show
Assembla Importer added a comment - stu said: Updating tickets (#139, #278, #285, #368, #443, #430)

People

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

Dates

  • Created:
    Updated:
    Resolved: