We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60476ab commit 36573ecCopy full SHA for 36573ec
ghcide/src/Development/IDE/Plugin/CodeAction.hs
@@ -860,10 +860,7 @@ suggestInstanceConstraint df (L _ HsModule {hsmodDecls}) Diagnostic {..} missing
860
= Nothing
861
862
readPositionNumber :: T.Text -> Int
863
- readPositionNumber = T.unpack
864
-
865
866
- read
+ readPositionNumber = T.unpack >>> read
867
868
actionTitle :: T.Text -> T.Text
869
actionTitle constraint = "Add `" <> constraint
0 commit comments