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
31238665
Commit
31238665
authored
10 years ago
by
Mikhail Glushenkov
Browse files
Options
Downloads
Patches
Plain Diff
80-col violations.
parent
a3457055
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Cabal/Distribution/Package.hs
+4
-2
4 additions, 2 deletions
Cabal/Distribution/Package.hs
with
4 additions
and
2 deletions
Cabal/Distribution/Package.hs
+
4
−
2
View file @
31238665
...
...
@@ -217,7 +217,8 @@ mkPackageKey True pid deps holes =
fingerprintPackageKey
stubName
.
fingerprintString
$
display
pid
++
"
\n
"
++
-- NB: packageKeyHash, NOT display
concat
[
display
m
++
" "
++
packageKeyHash
p'
++
":"
++
display
m'
++
"
\n
"
concat
[
display
m
++
" "
++
packageKeyHash
p'
++
":"
++
display
m'
++
"
\n
"
|
(
m
,
(
p'
,
m'
))
<-
sortBy
(
comparing
fst
)
holes
]
++
concat
[
packageKeyHash
d
++
"
\n
"
|
d
<-
sortBy
(
comparing
packageKeyHash
)
deps
]
...
...
@@ -277,7 +278,8 @@ packageKeyHash (PackageKey _ w1 w2) = toBase62 w1 ++ toBase62 w2
packageKeyHash
(
OldPackageKey
pid
)
=
display
pid
packageKeyLibraryName
::
PackageId
->
PackageKey
->
String
packageKeyLibraryName
pid
(
PackageKey
_
w1
w2
)
=
display
pid
++
"-"
++
toBase62
w1
++
toBase62
w2
packageKeyLibraryName
pid
(
PackageKey
_
w1
w2
)
=
display
pid
++
"-"
++
toBase62
w1
++
toBase62
w2
packageKeyLibraryName
_
(
OldPackageKey
pid
)
=
display
pid
instance
Text
PackageKey
where
...
...
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