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
66f6a4f0
Commit
66f6a4f0
authored
17 years ago
by
Lennart Kolmodin
Browse files
Options
Downloads
Patches
Plain Diff
Rename QA function for PackageDescription
parent
dbf43587
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/PackageDescription/QA.hs
+3
-3
3 additions, 3 deletions
Distribution/PackageDescription/QA.hs
with
3 additions
and
3 deletions
Distribution/PackageDescription/QA.hs
+
3
−
3
View file @
66f6a4f0
...
...
@@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -}
module
Distribution.PackageDescription.QA
(
-- * Quality Assurance
q
ualityAssure
Package
q
aCheck
Package
)
where
import
Control.Monad
(
when
,
unless
)
...
...
@@ -57,8 +57,8 @@ import Distribution.PackageDescription
-- ------------------------------------------------------------
-- |Quality Assurance for package descriptions.
q
ualityAssure
Package
::
PackageDescription
->
IO
[
String
]
q
ualityAssure
Package
pkg_descr
=
fmap
fst
.
runQA
$
do
q
aCheck
Package
::
PackageDescription
->
IO
[
String
]
q
aCheck
Package
pkg_descr
=
fmap
fst
.
runQA
$
do
flip
mapM_
ghc_options
$
\
flags
->
do
let
has_Wall
=
"-Wall"
`
elem
`
flags
...
...
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