ekzhang / crepe

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

derive `Debug` for relations #5

Closed hydrolarus closed 4 years ago

hydrolarus commented 4 years ago

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

hydrolarus commented 4 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?

hydrolarus commented 4 years ago

Superseded by #7