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
When defining an unboxed record, one gets to define new instances for type classes on the Agda side. Those instances never get compiled, and code that uses instances over boxed values will compile to code that uses underlying instances over the underlying values.
Hence, when defining an instance for a unboxed record, we:
need to make sure an instance for the underlying (boxed) type exists.
the behavior of the instance for the unboxed record is "consistent" with the one for the underlying type.
The text was updated successfully, but these errors were encountered:
When defining an unboxed record, one gets to define new instances for type classes on the Agda side. Those instances never get compiled, and code that uses instances over boxed values will compile to code that uses underlying instances over the underlying values.
Hence, when defining an instance for a unboxed record, we:
The text was updated successfully, but these errors were encountered: