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
dataR:TypewhereMkR: (()-> {t : Type} -> t) -> R
f: R ->()-> {t : Type} -> t
f (MkR g) = g
f': R -> (()-> {t : Type} -> t)
f' (MkR g) = g
Expected Behavior
The code typechecks.
Observed Behavior
Error at line 8, col 3:
When checking right hand side of f' with expected type
() -> t
Type mismatch between
() -> t1 (Type of g)
and
() -> t (Expected type)
Specifically:
Type mismatch between
t1
and
t
Steps to Reproduce
Expected Behavior
The code typechecks.
Observed Behavior
Error at line 8, col 3:
Notes
f
andf'
the typing contexts are not identical.f'
:The text was updated successfully, but these errors were encountered: