Add c.l.PersistentHashSet ReadHandler

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?

Environment

data.fressian 0.2.0

Activity

Show:
Daniel Compton
November 15, 2014, 6: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?

Stuart Halloway
August 9, 2017, 9:21 PM

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

Assignee

Stuart Halloway

Reporter

Daniel Compton

Labels

None

Approval

None

Patch

None

Priority

Major
Configure