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
let main n =
let (a,b) = let y = iota n
in (y,y)
let a[0] = 0
let b[0] = 0
in (a,b)
Interestingly, the type checker complains as expected if we try to return (a,b) as two unique arrays, so we do actually track that a and b are aliased.
The text was updated successfully, but these errors were encountered:
Interestingly, the type checker complains as expected if we try to return
(a,b)
as two unique arrays, so we do actually track thata
andb
are aliased.The text was updated successfully, but these errors were encountered: