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
The logic of Array.index can be implemented in terms of length and unsafeIndexImpl. Is it necessary for it to be foreign? In backend-optimizer, I'm preparing a change to inline the bounds check so that the Just allocation can be eliminated in some cases. If index bounds checking was implemented in PureScript rather than FFI, this would just work.
The text was updated successfully, but these errors were encountered:
The logic of Array.index can be implemented in terms of
length
andunsafeIndexImpl
. Is it necessary for it to be foreign? In backend-optimizer, I'm preparing a change to inline the bounds check so that theJust
allocation can be eliminated in some cases. Ifindex
bounds checking was implemented in PureScript rather than FFI, this would just work.The text was updated successfully, but these errors were encountered: