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
It is frequent when interfacing with JavaScript code to need to handle objects that do not have a Links type. They pass through Links via some alien JavaScript API, but Links code cannot itself inspect such opaque objects. Currently we can pretend that alien objects have some Links type, and we can ensure that Links code doesn't try to inspect them by choosing an uninhabited type such as [||]. It would be cleaner to be able to explicitly declare an abstract type to represent a particular kind of alien object. At the very least, we could build in one specific AnyJS abstract type for opaque alien JavaScript objects.
The text was updated successfully, but these errors were encountered:
It is frequent when interfacing with JavaScript code to need to handle objects that do not have a Links type. They pass through Links via some alien JavaScript API, but Links code cannot itself inspect such opaque objects. Currently we can pretend that alien objects have some Links type, and we can ensure that Links code doesn't try to inspect them by choosing an uninhabited type such as
[||]
. It would be cleaner to be able to explicitly declare an abstract type to represent a particular kind of alien object. At the very least, we could build in one specificAnyJS
abstract type for opaque alien JavaScript objects.The text was updated successfully, but these errors were encountered: