Commit 2ca6ffcb authored by ka2_mail's avatar ka2_mail
Browse files

New parser & pretty printer for PackageDescription

parent 00e104cc
......@@ -102,7 +102,7 @@ exec :: String -> IO a
exec cmd = system cmd >>= exitWith
defaultMain :: IO ()
defaultMain = parsePackageDesc defaultPackageDesc >>= defaultMainNoRead
defaultMain = readPackageDescription defaultPackageDesc >>= defaultMainNoRead
defaultMainNoRead :: PackageDescription -> IO ()
defaultMainNoRead pkg_descr
......
This diff is collapsed.
......@@ -98,7 +98,7 @@ doBuildInstall f pkgConf
f pkgConf lbi
defaultMain :: IO ()
defaultMain = parsePackageDesc defaultPackageDesc >>= defaultMainNoRead
defaultMain = readPackageDescription defaultPackageDesc >>= defaultMainNoRead
defaultMainNoRead :: PackageDescription -> IO ()
defaultMainNoRead pkg_descr
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment