It's quite convenient to be able to turn arbitrary things into EDN for debugging, and we have many places in the tree where we do just that. For example, this is used extensively in the mentat_db crate to assert_matches! EDN representations of datoms and transactions.
We could do this a little more generally if we made it easy to serialize into edn::Value.
It's quite convenient to be able to turn arbitrary things into EDN for debugging, and we have many places in the tree where we do just that. For example, this is used extensively in the
mentat_db
crate toassert_matches!
EDN representations of datoms and transactions.We could do this a little more generally if we made it easy to serialize into
edn::Value
.