in any source file, type in Result.m (really, just 'm')
-> the context menu should display Result.map as the first entry
press enter to complete your entry into Result.map
Observed: Result.map (a -> value) Result.Result x a gets inserted into the source code
However would be nicer, in my opinion, to have: Result.map (a -> value) (Result.Result x a)
The current behaviour gives the misleading impression that the function has 4 arguments.
It's even more annoying if there are more parameters after the second argument: one really has to think where arguments begin or end.
Step-by-step:
Result.m
(really, just 'm') -> the context menu should displayResult.map
as the first entryResult.map
Observed:
Result.map (a -> value) Result.Result x a
gets inserted into the source codeHowever would be nicer, in my opinion, to have:
Result.map (a -> value) (Result.Result x a)
The current behaviour gives the misleading impression that the function has 4 arguments. It's even more annoying if there are more parameters after the second argument: one really has to think where arguments begin or end.