Clojure

metadata literal enhancements

Details

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

Description

1) Merge metadata literals (i.e. metadata on literal with metadata adds to it rather than replaces (but will replace same key))
^{:fred :ethel} ^{:ricky :lucy} foo yields metadata of {:fred :ethel, :ricky :lucy}

2) ^:a-keyword becomes {:a-keyword true} metadata

Activity

Hide
Assembla Importer added a comment -
Show
Assembla Importer added a comment - Converted from http://www.assembla.com/spaces/clojure/tickets/375 Attachments: 0001-read-foo-bar-as-foo-true-bar-and-merge-existing-meta.patch - https://www.assembla.com/spaces/clojure/documents/dWhNbgCWKr34aBeJe5cbCb/download/dWhNbgCWKr34aBeJe5cbCb
Hide
Assembla Importer added a comment -

cgrand said: [file:dWhNbgCWKr34aBeJe5cbCb]: patch + test

Show
Assembla Importer added a comment - cgrand said: [file:dWhNbgCWKr34aBeJe5cbCb]: patch + test

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: