Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haddock
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Glasgow Haskell Compiler
haddock
Commits
9a4f1237
Commit
9a4f1237
authored
2 years ago
by
Bodigrim
Browse files
Options
Downloads
Patches
Plain Diff
Support mtl-2.3
parent
2ffde833
No related branches found
Branches containing commit
No related tags found
Tags containing commit
4 merge requests
!38
Make --no-tmp-comp-dir the default
,
!37
Adapt to latest xhtml version, various optimizations
,
!31
Support HsToken in DataDecl and ClassDecl
,
!18
Support mtl-2.3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
haddock-api/src/Haddock/Interface/Create.hs
+2
-2
2 additions, 2 deletions
haddock-api/src/Haddock/Interface/Create.hs
with
2 additions
and
2 deletions
haddock-api/src/Haddock/Interface/Create.hs
+
2
−
2
View file @
9a4f1237
...
...
@@ -442,7 +442,7 @@ mkDocOpts mbOpts flags mdl = do
opts
<-
case
mbOpts
of
Just
opts
->
case
words
$
replace
','
' '
opts
of
[]
->
tell
[
"No option supplied to DOC_OPTION/doc_option"
]
>>
return
[]
xs
->
liftM
catMaybes
(
mapM
parseOption
xs
)
xs
->
fmap
catMaybes
(
mapM
parseOption
xs
)
Nothing
->
return
[]
pure
(
foldl
go
opts
flags
)
where
...
...
@@ -651,7 +651,7 @@ mkExportItems
fullModuleContents
is_sig
modMap
pkgName
thisMod
semMod
warnings
gre
exportedNames
decls
maps
fixMap
splices
instIfaceMap
dflags
allExports
Just
exports
->
liftM
concat
$
mapM
lookupExport
exports
Just
exports
->
fmap
concat
$
mapM
lookupExport
exports
where
lookupExport
(
IEGroup
_
lev
docStr
,
_
)
=
liftErrMsg
$
do
doc
<-
processDocString
dflags
gre
(
hsDocString
.
unLoc
$
docStr
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment