Clojure

Fix rename-keys to work with defrecords

Details

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

Description

clojure.set/rename-keys does not work with defrecords, because they do not implement IFn. rename-keys uses (map key) rather than (get map key).

Activity

Hide
Assembla Importer added a comment -

importer said: [file:c5AE6yHkqr36FEeJe5cbLA]

Show
Assembla Importer added a comment - importer said: [file:c5AE6yHkqr36FEeJe5cbLA]
Hide
Assembla Importer added a comment -
Show
Assembla Importer added a comment - stu said: [file:aTY3guHlKr3795eJe5cbLr]
Hide
Assembla Importer added a comment -

stu said: second patch subsumes first and adds test

Show
Assembla Importer added a comment - stu said: second patch subsumes first and adds test
Hide
Assembla Importer added a comment -

stu said: Updating tickets (#376, #392, #393)

Show
Assembla Importer added a comment - stu said: Updating tickets (#376, #392, #393)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: