naomijub / edn-rs

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

Remove empty #155

Closed Grinkers closed 3 months ago

Grinkers commented 3 months ago
(clojure.edn/read-string "")
nil
(clojure.edn/read-string " ")
nil
(clojure.edn/read-string " \n  ; foobar")
nil

There is no Empty in the EDN spec.

This PR currently includes #150. It is impractical to backport all changes. @naomijub I can add this to #150 or keep it here in a draft.

Grinkers commented 3 months ago

https://github.com/edn-rs/edn-rs/issues/158