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
2ca6ffcb
Commit
2ca6ffcb
authored
Aug 07, 2004
by
ka2_mail
Browse files
New parser & pretty printer for PackageDescription
parent
00e104cc
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Distribution/Make.hs
View file @
2ca6ffcb
...
...
@@ -102,7 +102,7 @@ exec :: String -> IO a
exec
cmd
=
system
cmd
>>=
exitWith
defaultMain
::
IO
()
defaultMain
=
parse
PackageDesc
defaultPackageDesc
>>=
defaultMainNoRead
defaultMain
=
read
PackageDesc
ription
defaultPackageDesc
>>=
defaultMainNoRead
defaultMainNoRead
::
PackageDescription
->
IO
()
defaultMainNoRead
pkg_descr
...
...
Distribution/Package.hs
View file @
2ca6ffcb
This diff is collapsed.
Click to expand it.
Distribution/Simple.hs
View file @
2ca6ffcb
...
...
@@ -98,7 +98,7 @@ doBuildInstall f pkgConf
f
pkgConf
lbi
defaultMain
::
IO
()
defaultMain
=
parse
PackageDesc
defaultPackageDesc
>>=
defaultMainNoRead
defaultMain
=
read
PackageDesc
ription
defaultPackageDesc
>>=
defaultMainNoRead
defaultMainNoRead
::
PackageDescription
->
IO
()
defaultMainNoRead
pkg_descr
...
...
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