-
-
Notifications
You must be signed in to change notification settings - Fork 401
Closed
Labels
component: ghcide-type-lensestype: enhancementNew feature or requestNew feature or requesttype: supportUser support tickets, questions, help with setup etc.User support tickets, questions, help with setup etc.
Description
Perhaps this is too simply solved by adding the extension pragma to the file, nevertheless I've bumped into a couple of times when writing something where I'd like to add a general sig to it, and HLS suggests the monomorphized version. I've not yet bumped into the converse problem.
An example:
(<||>) = liftA2 (||)
I'd like HLS to suggest (<||>) :: Applicative f => f Bool -> f Bool -> f Bool
, however it currently suggests (<||>) :: (Char -> Bool) -> (Char -> Bool) -> Char -> Bool
or something.
I assume that it would be computationally expensive (and potentially confusing) to juggle language extensions like this, but thought I'd mention anyway, feel free to close with prejudice :)
lukel97 and georgefst
Metadata
Metadata
Assignees
Labels
component: ghcide-type-lensestype: enhancementNew feature or requestNew feature or requesttype: supportUser support tickets, questions, help with setup etc.User support tickets, questions, help with setup etc.