Zulip Chat Archive
Stream: new members
Topic: Expanding a derive
Josiah Eldon Bills (Sep 29 2022 at 21:53):
Is there a way to expand a derive to see what code is being generated? Similarly, can you expand a structure to see the underlying inductive?
Eric Wieser (Sep 29 2022 at 22:42):
#print the_structure
and #print the_structure.derived_inst
might be the answers to your question
Last updated: Dec 20 2023 at 11:08 UTC