Details
-
Type:
Defect
-
Status:
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.
Converted from http://www.assembla.com/spaces/clojure/tickets/174
Attachments:
keyword-serializable.diff - https://www.assembla.com/spaces/clojure/documents/dIqXxcIher3RSfeJe5aVNr/download/dIqXxcIher3RSfeJe5aVNr