Skip to content

Commit fd3752b

Browse files
committed
Incorprate @grayjay's comment improvement suggestions
1 parent 3d4aadd commit fd3752b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

cabal-install-solver/src/Distribution/Solver/Types/SummarizedMessage.hs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,17 @@ import Distribution.Solver.Modular.Dependency
1515
( ConflictSet, QGoalReason, GoalReason )
1616
import qualified Distribution.Solver.Modular.ConflictSet as CS
1717

18-
-- The following types are used to encode results from the dependency
19-
-- solver so they cab be easily displayed in the module
18+
-- The following types are used to encode log messages from the
19+
-- dependency solver so they can be easily displayed in the module
2020
-- `Distribution.Solver.Modular.Message`.
21+
--
22+
-- These types are an intermediate representation of the solver log.
23+
-- The log is converted from a list of Message to a list of
24+
-- SummarizedMessage to a list of String. Message is very similar to
25+
-- the structure of the search tree but difficult to read, and
26+
-- SummarizedMessage has the structure that is shown to users.
2127

22-
-- Encoding of solver results.
28+
-- Encoding of solver messages.
2329
data Entry
2430
= EntryPackageGoal QPN QGoalReason
2531
| EntryRejectF QFN Bool ConflictSet FailReason

0 commit comments

Comments
 (0)