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 following code currently produces a stack overflow:
typeFoo a = | FooAaletfx= f (FooA x)
Polymorphic recursion is generally not allowed is other languages because it makes type inference undecidable. I'm guessing the stack overflow is because it's not possible to unify the type of f here?
The text was updated successfully, but these errors were encountered:
The following code currently produces a stack overflow:
Polymorphic recursion is generally not allowed is other languages because it makes type inference undecidable. I'm guessing the stack overflow is because it's not possible to unify the type of
f
here?The text was updated successfully, but these errors were encountered: