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
One idea was to define a newtype UnsafeRefEq a = UnsafeRefEq a whose Eq instance uses JavaScript's === comparison operator. If false, then fall back to Eq a.
We can then remove the unsafe === optimization from the Eq a => Eq (Array a) instance.
If anyone wants to recover this behaviour, they can use the newtype.