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
Currently, defining a function on multiple lines causes only the last definition to hold:
f 3=2
f 2=3
f 2-- returns 3
f 3-- errors out
This is the same thing that GHCi does. However, it should be possible to detect that consecutive statements are defining the same function and join them.
The text was updated successfully, but these errors were encountered:
Currently, defining a function on multiple lines causes only the last definition to hold:
This is the same thing that GHCi does. However, it should be possible to detect that consecutive statements are defining the same function and join them.
The text was updated successfully, but these errors were encountered: