You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This allows traversing structures containing multiple different types, satisfying a constraint. Pick c ~ Equals a b where class (a1 ~ a, b1 ~ b) => Equals a b a1 b1 to recover existing traversals.
Can/should we generalise optics to support this?
The text was updated successfully, but these errors were encountered:
See discussion starting from https://discord.com/channels/701454007775920128/855385315942203433/855825282833711115
This allows traversing structures containing multiple different types, satisfying a constraint. Pick
c ~ Equals a b
whereclass (a1 ~ a, b1 ~ b) => Equals a b a1 b1
to recover existing traversals.Can/should we generalise
optics
to support this?The text was updated successfully, but these errors were encountered: