<< Back to previous view

[DFRS-5] Add c.l.PersistentHashSet ReadHandler Created: 12/Nov/14  Updated: 09/Aug/17

Status: Open
Project: data.fressian
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Major
Reporter: Daniel Compton Assignee: Stuart Halloway
Resolution: Unresolved Votes: 0
Labels: None
Environment:

data.fressian 0.2.0



 Description   

clojure.data.fressian doesn't have a ReadHandler defined for "set". This means that when you serialise and deserialise a Clojure PersistentHashSet, it returns as a java.util.HashMap. Is there a reason why we wouldn't define a ReadHandler for "set" in clojure-read-handlers?



 Comments   
Comment by Daniel Compton [ 15/Nov/14 12:35 AM ]

@stu is it intentional that c.d.f doesn't have a ReadHandler for reading fressian sets into persistent sets, or vectors into persistent vectors?

Comment by Stuart Halloway [ 09/Aug/17 3:21 PM ]

It is intentional, but not necessarily a great idea. Just burned me today.

Generated at Tue Nov 20 21:40:28 CST 2018 using JIRA 4.4#649-r158309.