Clojure

Make c.l.Keyword Serializable

Details

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

Description

As mentioned in ticket #64, keywords are not currently Serializable, which is problem in many application contexts.

I'm treating this separately from the broader question of making clojure data structures Serializable because keywords not being Serializable is the one thing in the way of making idiomatic structs Serializable (e.g. maps using keyword keys, with values including other maps, sets, vectors, strings, numerics, symbols, other keywords, etc; these other structures are already Serializable).

Beyond that, cons and PersistentList aren't widely used, and I don't want to wade into that when they may be getting replaced soon enough with newnew/reify implementations.

Patch (based on 1.0.x branch) attached.

Activity

Hide
Assembla Importer added a comment -

cemerick said: [file:dIqXxcIher3RSfeJe5aVNr]

Show
Assembla Importer added a comment - cemerick said: [file:dIqXxcIher3RSfeJe5aVNr]
Hide
Assembla Importer added a comment -

cemerick said: (In [[r:b6cf1963af6e4e6aa35446aff15d77dcef305855]]) make clojure.lang.Keyword Serializable, fixes #174

Signed-off-by: Chouser <chouser@n01se.net>

Branch: master

Show
Assembla Importer added a comment - cemerick said: (In [[r:b6cf1963af6e4e6aa35446aff15d77dcef305855]]) make clojure.lang.Keyword Serializable, fixes #174 Signed-off-by: Chouser <chouser@n01se.net> Branch: master

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: