Conversation
|
This is meant to be an isomorphism yes? I think allowing field reordering would be good. A contrived use case I can think of off the top of my head is wanting a lens to view a (struct position (x y))
(define inverse-pos-lens (struct->struct-lens position position [x y] [y x]))
(lens-view inverse-pos-lens (position 1 2)) |
|
What you said in (#267 (comment)) about |
There was a problem hiding this comment.
I'm not sure, but I suspect it's because the constructor-id from the struct-info ends up pointing to an identifier macro or something like that that messes it up in some way. I forget.
see #267