naomijub / edn-rs

[DEPRECATED]: Crate to parse and emit EDN
https://crates.io/crates/edn-rs
MIT License
81 stars 14 forks source link

Try to implement discard sequence #_ for deserialize #98

Closed jollm closed 2 years ago

jollm commented 2 years ago

See https://github.com/naomijub/edn-rs/issues/94

Noticed your issue post after PR #93 Hope it's okay I tried to implement this one, seemed maybe fun to try

naomijub commented 2 years ago

Loved it! Will check as soon as I am free

jollm commented 2 years ago

Wait, i found one that breaks:

clj-scratch.core> (edn/read-string "[:foo #_ foo]")
[:foo]
clj-scratch.core> 

Have a fix ready..

naomijub commented 2 years ago

I think you will need to rebase or create a new PR