Commit 5cb62849 authored by enolan's avatar enolan
Browse files

Improve some comments.

Trying to make the code less confusing to the next person :)
parent 98669fde
...@@ -126,10 +126,10 @@ data BuildTarget = ...@@ -126,10 +126,10 @@ data BuildTarget =
deriving (Show,Eq) deriving (Show,Eq)
-- ------------------------------------------------------------ -- | Read a list of user-supplied build target strings and resolve them to
-- * Do everything -- 'BuildTarget's according to a 'PackageDescription'. If there are problems
-- ------------------------------------------------------------ -- with any of the targets e.g. they don't exist or are misformatted, throw an
-- 'IOException'.
readBuildTargets :: PackageDescription -> [String] -> IO [BuildTarget] readBuildTargets :: PackageDescription -> [String] -> IO [BuildTarget]
readBuildTargets pkg targetStrs = do readBuildTargets pkg targetStrs = do
let (uproblems, utargets) = readUserBuildTargets targetStrs let (uproblems, utargets) = readUserBuildTargets targetStrs
......
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
-- | -- |
-- Module : Distribution.Simple.Program.Types -- Module : Distribution.Simple.Program.Find
-- Copyright : Duncan Coutts 2013 -- Copyright : Duncan Coutts 2013
-- --
-- Maintainer : cabal-devel@haskell.org -- Maintainer : cabal-devel@haskell.org
......
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