Clojure-Contrib

PersistentFnMap doesn't handle both valAt arities

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

clojure.contrib.fnmap.PersistentFnMap implements Associative (and thus ILookup) but doesn't supply a definition for both arities of valAt - needs to add

-valAt ([this key] ...) ([this key not-found] ...)

Activity

Hide
Assembla Importer added a comment -
Show
Assembla Importer added a comment - Converted from http://www.assembla.com/spaces/clojure/tickets/41
Hide
Assembla Importer added a comment -

stuart.sierra said: (In revision:962d8be44aa71ee13aa12a21f277f62b3c301021) PersistentFnMap.clj: add default value arity for -valAt; fixes #41

Branch: master

Show
Assembla Importer added a comment - stuart.sierra said: (In revision:962d8be44aa71ee13aa12a21f277f62b3c301021) PersistentFnMap.clj: add default value arity for -valAt; fixes #41 Branch: master

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: