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
I recently had an issue where floats where embedded into a struct, and checking with equal? on the whole struct didn't round the float (as it does on one float).
I also don't want to have a property defined in a typeclass, with a specific notion of equality that depends on the implementation...
I am thinking that equal? should be defined in a protocol, and implementable for any struct, just like generator is ?
What do you all think ?
The text was updated successfully, but these errors were encountered:
I recently had an issue where floats where embedded into a struct, and checking with
equal?
on the whole struct didn't round the float (as it does on one float).I also don't want to have a property defined in a typeclass, with a specific notion of equality that depends on the implementation...
I am thinking that
equal?
should be defined in a protocol, and implementable for any struct, just like generator is ?What do you all think ?
The text was updated successfully, but these errors were encountered: