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
{{ message }}
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.
Also, after the last paragraph we should indicate how to add a typing to the signature.
Type error in function call at line 3:
fn(2, "3", "3")
^^^
The 3rd argument of the function "fn" has type
String
But it was expected to be
Num
To help you out, in this context the function fn has type:
Num -> a -> Num -> Bool
If the function is polymorphic it is possible that the error comes from the application of other arguments.
Otherwise you might want to add a typing to the signature to improve documentation and make error messages
more precise !
The text was updated successfully, but these errors were encountered:
Error explanation definition
Function calls
Also, after the last paragraph we should indicate how to add a typing to the signature.
The text was updated successfully, but these errors were encountered: