Skip to content

Commit a99a27c

Browse files
committed
Value: iterNValueByDiscardWith: m upd
1 parent 4c30704 commit a99a27c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Nix/Value.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,9 @@ iterNValueByDiscardWith
514514
:: MonadDataContext f m
515515
=> r
516516
-> (NValue' t f m r -> r)
517-
-> Free (NValue' t f m) t
517+
-> NValue t f m
518518
-> r
519-
iterNValueByDiscardWith dflt = iterNValue (\ _ _ -> dflt)
519+
iterNValueByDiscardWith = iterNValue . const . const
520520

521521

522522
-- | HOF of @iterM@ from @Free@

0 commit comments

Comments
 (0)