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 bbb7000 commit 7bbe3fcCopy full SHA for 7bbe3fc
src/Nix/Eval.hs
@@ -259,9 +259,7 @@ attrSetAlter ks' pos m' p' val =
259
, AttrSet (m v)
260
)
261
recurse p'' m'' =
262
- fmap
263
- (insertVal . (=<<) (toValue @(AttrSet v, PositionSet)) . fmap (,mempty) . sequenceA . snd)
264
- (go p'' m'' ks)
+ insertVal . ((toValue @(AttrSet v, PositionSet)) <=< ((,mempty) <$>) . sequenceA . snd) <$> go p'' m'' ks
265
266
desugarBinds :: forall r . ([Binding r] -> r) -> [Binding r] -> [Binding r]
267
desugarBinds embed binds = evalState (traverse (findBinding <=< collect) binds) mempty
0 commit comments