Add a sentence to motivate eta-equality#1102
Conversation
wadler
left a comment
There was a problem hiding this comment.
Thank you!
In "put them back" grammatically "them" refers to either "the destructors" or "the constructors", neither of which I think you intend. How about replacing the first sentence with this:
Start with a product, apply the destructors to it, and then apply the constructor; the result is the original product.
|
Thanks for the suggestion, my intention was the generalise the concept from the previous sentence to motivate the eta-quality law, since the preceeding sentence reads:
In the spirit of providing more clarity, what about this: In the general sense, with a record, apply the projections to all fields, and then apply the record constructor; the result is the original record. |
f7e89ff to
3e25053
Compare
3e25053 to
f7f94e9
Compare
"For any record, projecting out each field and reassembling the results using the constructor should be the identity." Maybe followed by (except using more appropriate unicode): |
Addresses #1099.