Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
d57bf92f
Commit
d57bf92f
authored
Jun 06, 2008
by
Duncan Coutts
Browse files
Fix haddock markup
parent
0602d998
Changes
5
Hide whitespace changes
Inline
Side-by-side
cabal-install/Hackage/Dependency/TopDown/Constraints.hs
View file @
d57bf92f
...
...
@@ -48,10 +48,10 @@ data (Package installed, Package available)
=>
Constraints
installed
available
reason
=
Constraints
--
|
Remaining available choices
-- Remaining available choices
(
PackageIndex
(
InstalledOrAvailable
installed
available
))
--
|
Choices that we have excluded for some reason
-- Choices that we have excluded for some reason
-- usually by applying constraints
(
PackageIndex
(
ExcludedPackage
PackageIdentifier
reason
))
...
...
cabal-install/Hackage/Dependency/TopDown/Types.hs
View file @
d57bf92f
...
...
@@ -51,10 +51,10 @@ data UnconfiguredPackage
data
SemiConfiguredPackage
=
SemiConfiguredPackage
AvailablePackage
--
^
package info
FlagAssignment
--
^
total flag assignment for the package
[
Dependency
]
--
^
dependencies we end up with when we apply
--
the flag assignment
AvailablePackage
-- package info
FlagAssignment
-- total flag assignment for the package
[
Dependency
]
-- dependencies we end up with when we apply
-- the flag assignment
instance
Package
InstalledPackage
where
packageId
(
InstalledPackage
p
_
_
)
=
packageId
p
...
...
cabal-install/Hackage/Dependency/Types.hs
View file @
d57bf92f
...
...
@@ -62,7 +62,7 @@ data PackageVersionPreference = PreferInstalled | PreferLatest
-- | A type to represent the unfolding of an expensive long running
-- calculation that may fail. We may get intermediate steps before the final
-- retult which may be used to indicate progress and/or logging messages.
-- retult which may be used to indicate progress and
\
/or logging messages.
--
data
Progress
step
fail
done
=
Step
step
(
Progress
step
fail
done
)
|
Fail
fail
...
...
cabal-install/Hackage/Tar.hs
View file @
d57bf92f
...
...
@@ -339,7 +339,7 @@ putTarFileType t =
TarDirectory
->
'5'
TarOther
c
->
c
-- | Convert a native path to a unix/posix style path
-- | Convert a native path to a unix
\
/posix style path
-- and for directories add a trailing @\/@.
--
nativePathToTarPath
::
TarFileType
->
FilePath
->
FilePath
...
...
cabal-install/Hackage/Types.hs
View file @
d57bf92f
...
...
@@ -27,9 +27,9 @@ newtype Password = Password { unPassword :: String }
-- final configure process will be independent of the environment.
--
data
ConfiguredPackage
=
ConfiguredPackage
AvailablePackage
--
^
package info, including repo
FlagAssignment
--
^
complete flag assignment for the package
[
PackageIdentifier
]
--
^
exact dependencies, must be consistent with the
AvailablePackage
-- package info, including repo
FlagAssignment
-- complete flag assignment for the package
[
PackageIdentifier
]
-- exact dependencies, must be consistent with the
-- version constraints in the package info
deriving
Show
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment