Description
I'm working on a model that makes use of Redex's binding forms support (which has been great). However, I ran into something unexpected today: apply-reduction-relation*
returned a list of 16 terms, all of which were alpha-equivalent?
to one another.
This was even more surprising given that I had looked at the traces
output for reducing the term in question which had merged alpha-equivalent terms.
Using this previous commit as a template, I was able to get apply-reduction-relation*
behaving the way I expected for my language by using the equivalence and hash constructs from binding-forms.rkt (see here).
(It has occurred to me that maybe this is the desired behavior for apply-reduction-relation*
, though I'm not sure why that would be; I would be interested to hear)