ekzhang / crepe

Datalog compiler embedded in Rust as a procedural macro
Apache License 2.0
453 stars 16 forks source link

derive `Debug` for relations #5

Closed cuddlefishie closed 3 years ago

cuddlefishie commented 3 years ago

This commit makes all relations derive Debug. With a Debug implementantion it's more comfortable debugging during development.

cuddlefishie commented 3 years ago

Maybe it makes more sense to allow custom attributes on struct definitions? That way the programmer can choose whether they want to derive Debug or not or add other derives and attributes.

Does that sound like a better solution?

cuddlefishie commented 3 years ago

Superseded by #7