Skip to content

Commit

Permalink
cosmetic: nicer indentation in some types
Browse files Browse the repository at this point in the history
  • Loading branch information
process-bot committed Apr 20, 2016
1 parent 94c132c commit d2ce5ce
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions src/Pipeline/Crawl.hs
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ getSolution autoYes =


crawlDependency
:: BM.Config
-> Solution.Solution
-> Package
-> BM.Task (ProjectGraph Location)
:: BM.Config
-> Solution.Solution
-> Package
-> BM.Task (ProjectGraph Location)
crawlDependency config solution pkg@(name,version) =
let
root = Path.package name version
Expand All @@ -96,10 +96,7 @@ crawlDependency config solution pkg@(name,version) =
return projectGraph


canonicalizePackageGraph
:: Package
-> PackageGraph
-> ProjectGraph Location
canonicalizePackageGraph :: Package -> PackageGraph -> ProjectGraph Location
canonicalizePackageGraph package (PackageGraph pkgData natives foreignDependencies) =
ProjectGraph
{ projectData =
Expand All @@ -115,10 +112,10 @@ canonicalizePackageGraph package (PackageGraph pkgData natives foreignDependenci


canonicalizePackageData
:: Package
-> Map.Map Module.Raw Package
-> PackageData
-> ProjectData Location
:: Package
-> Map.Map Module.Raw Package
-> PackageData
-> ProjectData Location
canonicalizePackageData package foreignDependencies (PackageData filePath deps) =
ProjectData {
projectLocation = Location filePath package,
Expand Down

0 comments on commit d2ce5ce

Please sign in to comment.