Skip to content

Commit 03d7bf0

Browse files
committed
Normal: normalizeValueF: m refactor
1 parent 31a67d1 commit 03d7bf0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Nix/Normal.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ normalizeValueF f = run . iterNValueM run (flip go) (fmap Free . sequenceNValue'
100100
(do
101101
i <- ask
102102
when (i > 2000) $ fail "Exceeded maximum normalization depth of 2000 levels"
103-
lifted (lifted $ f t) $ local succ . k
103+
(lifted . lifted)
104+
(f t)
105+
(local succ . k)
104106
)
105107
(pure $ pure t)
106108
b

0 commit comments

Comments
 (0)