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
structural type Runner g = Runner (forall a. '{g} a -> {} a)
pureRunner : Runner {}
pureRunner = Runner base.force
-- this compiles, but shouldn't the effect type parameter on Runner be invariant?
runner : Runner {IO}
runner = pureRunner
⍟ These new definitions are ok to `add`:
structural type Runner g
pureRunner : Runner {}
runner : Runner {IO}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: