Skip to content

Commit 3b416a7

Browse files
committed
;cln:import: clarify haddock for getEffectiveAssignment
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent c5079d4 commit 3b416a7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

hledger-lib/Hledger/Read/RulesReader.hs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -731,10 +731,9 @@ maybeNegate :: MatcherPrefix -> Bool -> Bool
731731
maybeNegate Not origbool = not origbool
732732
maybeNegate _ origbool = origbool
733733

734-
-- | Given the conversion rules, a CSV record and a hledger field name, collect
735-
-- the value templates (and their parent Conditional Blocks where applicable)
736-
-- assigned to this field, if any, by top-level field assignments and
737-
-- conditional blocks matching this record.
734+
-- | Given the conversion rules, a CSV record and a hledger field name, find
735+
-- either the last applicable `ConditionalBlock`, or the final value template
736+
-- assigned to this field by a top-level field assignment, if any exist.
738737
--
739738
-- Note conditional blocks' patterns are matched against an approximation of the
740739
-- CSV record: all the field values, without enclosing quotes, comma-separated.

0 commit comments

Comments
 (0)