Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
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
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
670b3546
Commit
670b3546
authored
17 years ago
by
Ian Lynagh
Browse files
Options
Downloads
Patches
Plain Diff
Fix warnings in Cabal
parent
4bdecf35
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Distribution/Simple/Program.hs
+4
-4
4 additions, 4 deletions
Distribution/Simple/Program.hs
with
4 additions
and
4 deletions
Distribution/Simple/Program.hs
+
4
−
4
View file @
670b3546
...
...
@@ -219,12 +219,12 @@ defaultProgramConfiguration =
-- internal helpers:
updateUnconfiguredProgs
::
(
UnconfiguredProgs
->
UnconfiguredProgs
)
->
ProgramConfiguration
->
ProgramConfiguration
updateUnconfiguredProgs
f
conf
=
conf
{
unconfiguredProgs
=
f
(
unconfiguredProgs
conf
)
}
updateUnconfiguredProgs
update
conf
=
conf
{
unconfiguredProgs
=
update
(
unconfiguredProgs
conf
)
}
updateConfiguredProgs
::
(
ConfiguredProgs
->
ConfiguredProgs
)
->
ProgramConfiguration
->
ProgramConfiguration
updateConfiguredProgs
f
conf
=
conf
{
configuredProgs
=
f
(
configuredProgs
conf
)
}
updateConfiguredProgs
update
conf
=
conf
{
configuredProgs
=
update
(
configuredProgs
conf
)
}
-- Read & Show instances are based on listToFM
-- Note that we only serialise the configured part of the database, this is
...
...
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