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
would be good to resolve these to something like "1 too many arguments to 'text'" "not enough arguments for 'text'".
can be done by pattern-matching on type errors when pretty-printing. if the Arrow's on the left, it's probably overapplication; if the Arrow's on the right, it's probably underapplication.
this could only ever be a suggestion/heuristic rather than a precise thing.
overapplication:
Type error. The differing types are:
components/global/favicon-verbose/template.prj:51:5-51:14 in a function application:
(e12 -> f12)
In the standard library function 'text':
Html
underapplication:
Type error. The differing types are:
components/global/favicon-verbose/template.prj:51:3-51:11 in a HTML expression:
Html
In the standard library function 'text':
(String -> Html)
The text was updated successfully, but these errors were encountered:
would be good to resolve these to something like "1 too many arguments to 'text'" "not enough arguments for 'text'".
can be done by pattern-matching on type errors when pretty-printing. if the Arrow's on the left, it's probably overapplication; if the Arrow's on the right, it's probably underapplication.
this could only ever be a suggestion/heuristic rather than a precise thing.
overapplication:
underapplication:
The text was updated successfully, but these errors were encountered: