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 c122ebd commit eb96e2cCopy full SHA for eb96e2c
src/Development/IDE/Spans/Documentation.hs
@@ -58,8 +58,7 @@ getDocumentation tcs targetName = fromMaybe [] $ do
58
-- Find the module the target is defined in.
59
targetNameSpan <- realSpan $ nameSrcSpan targetName
60
tc <-
61
- listToMaybe
62
- $ filter ((==) (Just $ srcSpanFile targetNameSpan) . annotationFileName)
+ find ((==) (Just $ srcSpanFile targetNameSpan) . annotationFileName)
63
$ reverse tcs -- TODO : Is reversing the list here really neccessary?
64
-- Names bound by the module (we want to exclude non-"top-level"
65
-- bindings but unfortunately we get all here).
@@ -193,4 +192,4 @@ haddockToMarkdown (H.DocTable _t)
193
192
-- things I don't really know how to handle
194
haddockToMarkdown (H.DocProperty _)
195
= "" -- don't really know what to do
196
-#endif
+#endif
0 commit comments