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
Unfortunately, since -> is used for the lambda itself, we can't also use it for the return type annotation. Thus, instead, we'd be forced to implement something like
f=def (x: int): int->x
which is somewhat confusing, making this a bit questionable.
The text was updated successfully, but these errors were encountered:
Unfortunately, since
->
is used for the lambda itself, we can't also use it for the return type annotation. Thus, instead, we'd be forced to implement something likewhich is somewhat confusing, making this a bit questionable.
The text was updated successfully, but these errors were encountered: