We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c30704 commit a99a27cCopy full SHA for a99a27c
src/Nix/Value.hs
@@ -514,9 +514,9 @@ iterNValueByDiscardWith
514
:: MonadDataContext f m
515
=> r
516
-> (NValue' t f m r -> r)
517
- -> Free (NValue' t f m) t
+ -> NValue t f m
518
-> r
519
-iterNValueByDiscardWith dflt = iterNValue (\ _ _ -> dflt)
+iterNValueByDiscardWith = iterNValue . const . const
520
521
522
-- | HOF of @iterM@ from @Free@
0 commit comments