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
db3d1120
Commit
db3d1120
authored
Dec 17, 2013
by
Mikhail Glushenkov
Browse files
Typos.
parent
f13ef19a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Cabal/doc/developing-packages.markdown
View file @
db3d1120
...
...
@@ -979,9 +979,9 @@ selected in each environment. This can be done with the `freeze` command:
cabal freeze
~~~~~~~~~~~~~~~~
The command writes the selected version for all depenencies to the
The command writes the selected version for all depen
d
encies to the
`
cabal.config
` file. All environments which share this file will use the
depenency versions specified in it.
depen
d
ency versions specified in it.
### Executables ###
...
...
@@ -1988,7 +1988,7 @@ can update the necessary fields programmatically instead of using the
## Conditional compilation ##
Sometimes you want to write code that works with more than one version
of a dependency. You can specify a range of versions for the depenency
of a dependency. You can specify a range of versions for the depen
d
ency
in the
`build-depends`
, but how do you then write the code that can use
different versions of the API?
...
...
Cabal/doc/installing-packages.markdown
View file @
db3d1120
...
...
@@ -19,6 +19,10 @@ Alternatively, you can also use the `Setup.hs` or `Setup.lhs` script:
For the summary of the command syntax, run:
> `cabal help`
or
> `runhaskell Setup.hs --help`
## Building and installing a system package ##
...
...
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