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
recognize anonymous function expressions as relative effects. all of the following should work (hopefully - or is an explicit parameter type required?):
def m(f: Int => Int): Int @pure(f.apply(_)) = f(1)
def m(f: Int => Int): Int @pure(f.apply _) = f(1)
def m(f: Int => Int): Int @pure(x => f.apply(x)) = f(1)
The text was updated successfully, but these errors were encountered:
recognize anonymous function expressions as relative effects. all of the following should work (hopefully - or is an explicit parameter type required?):
The text was updated successfully, but these errors were encountered: