@@ -47,8 +47,6 @@ everywhereOnValues f g h = (f', g', h')
47 g' (UnaryMinus v) = g (UnaryMinus (g' v))
47 g' (UnaryMinus v) = g (UnaryMinus (g' v))
48 g' (BinaryNoParens op v1 v2) = g (BinaryNoParens (g' op) (g' v1) (g' v2))
48 g' (BinaryNoParens op v1 v2) = g (BinaryNoParens (g' op) (g' v1) (g' v2))
49 g' (Parens v) = g (Parens (g' v))
49 g' (Parens v) = g (Parens (g' v))
50− g' (OperatorSection op (Left v)) = g (OperatorSection (g' op) (Left $ g' v))
51− g' (OperatorSection op (Right v)) = g (OperatorSection (g' op) (Right $ g' v))
52 g' (TypeClassDictionaryConstructorApp name v) = g (TypeClassDictionaryConstructorApp name (g' v))
50 g' (TypeClassDictionaryConstructorApp name v) = g (TypeClassDictionaryConstructorApp name (g' v))
53 g' (Accessor prop v) = g (Accessor prop (g' v))
51 g' (Accessor prop v) = g (Accessor prop (g' v))
54 g' (ObjectUpdate obj vs) = g (ObjectUpdate (g' obj) (map (fmap g') vs))
52 g' (ObjectUpdate obj vs) = g (ObjectUpdate (g' obj) (map (fmap g') vs))
@@ -116,8 +114,6 @@ everywhereOnValuesTopDownM f g h = (f' <=< f, g' <=< g, h' <=< h)
116 g' (UnaryMinus v) = UnaryMinus <$> (g v >>= g')
114 g' (UnaryMinus v) = UnaryMinus <$> (g v >>= g')
117 g' (BinaryNoParens op v1 v2) = BinaryNoParens <$> (g op >>= g') <*> (g v1 >>= g') <*> (g v2 >>= g')
115 g' (BinaryNoParens op v1 v2) = BinaryNoParens <$> (g op >>= g') <*> (g v1 >>= g') <*> (g v2 >>= g')
118 g' (Parens v) = Parens <$> (g v >>= g')
116 g' (Parens v) = Parens <$> (g v >>= g')
119− g' (OperatorSection op (Left v)) = OperatorSection <$> (g op >>= g') <*> (Left <$> (g v >>= g'))
120− g' (OperatorSection op (Right v)) = OperatorSection <$> (g op >>= g') <*> (Right <$> (g v >>= g'))
121 g' (TypeClassDictionaryConstructorApp name v) = TypeClassDictionaryConstructorApp name <$> (g v >>= g')
117 g' (TypeClassDictionaryConstructorApp name v) = TypeClassDictionaryConstructorApp name <$> (g v >>= g')
122 g' (Accessor prop v) = Accessor prop <$> (g v >>= g')
118 g' (Accessor prop v) = Accessor prop <$> (g v >>= g')
123 g' (ObjectUpdate obj vs) = ObjectUpdate <$> (g obj >>= g') <*> traverse (sndM (g' <=< g)) vs
119 g' (ObjectUpdate obj vs) = ObjectUpdate <$> (g obj >>= g') <*> traverse (sndM (g' <=< g)) vs
@@ -185,8 +181,6 @@ everywhereOnValuesM f g h = (f', g', h')
185 g' (UnaryMinus v) = (UnaryMinus <$> g' v) >>= g
181 g' (UnaryMinus v) = (UnaryMinus <$> g' v) >>= g
186 g' (BinaryNoParens op v1 v2) = (BinaryNoParens <$> g' op <*> g' v1 <*> g' v2) >>= g
182 g' (BinaryNoParens op v1 v2) = (BinaryNoParens <$> g' op <*> g' v1 <*> g' v2) >>= g
187 g' (Parens v) = (Parens <$> g' v) >>= g
183 g' (Parens v) = (Parens <$> g' v) >>= g
188− g' (OperatorSection op (Left v)) = (OperatorSection <$> g' op <*> (Left <$> g' v)) >>= g
189− g' (OperatorSection op (Right v)) = (OperatorSection <$> g' op <*> (Right <$> g' v)) >>= g
190 g' (TypeClassDictionaryConstructorApp name v) = (TypeClassDictionaryConstructorApp name <$> g' v) >>= g
184 g' (TypeClassDictionaryConstructorApp name v) = (TypeClassDictionaryConstructorApp name <$> g' v) >>= g
191 g' (Accessor prop v) = (Accessor prop <$> g' v) >>= g
185 g' (Accessor prop v) = (Accessor prop <$> g' v) >>= g
192 g' (ObjectUpdate obj vs) = (ObjectUpdate <$> g' obj <*> traverse (sndM g') vs) >>= g
186 g' (ObjectUpdate obj vs) = (ObjectUpdate <$> g' obj <*> traverse (sndM g') vs) >>= g
@@ -259,8 +253,6 @@ everythingOnValues (<>) f g h i j = (f', g', h', i', j')
259 g' v@(UnaryMinus v1) = g v <> g' v1
253 g' v@(UnaryMinus v1) = g v <> g' v1
260 g' v@(BinaryNoParens op v1 v2) = g v <> g' op <> g' v1 <> g' v2
254 g' v@(BinaryNoParens op v1 v2) = g v <> g' op <> g' v1 <> g' v2
261 g' v@(Parens v1) = g v <> g' v1
255 g' v@(Parens v1) = g v <> g' v1
262− g' v@(OperatorSection op (Left v1)) = g v <> g' op <> g' v1
263− g' v@(OperatorSection op (Right v1)) = g v <> g' op <> g' v1
264 g' v@(TypeClassDictionaryConstructorApp _ v1) = g v <> g' v1
256 g' v@(TypeClassDictionaryConstructorApp _ v1) = g v <> g' v1
265 g' v@(Accessor _ v1) = g v <> g' v1
257 g' v@(Accessor _ v1) = g v <> g' v1
266 g' v@(ObjectUpdate obj vs) = foldl (<>) (g v <> g' obj) (map (g' . snd) vs)
258 g' v@(ObjectUpdate obj vs) = foldl (<>) (g v <> g' obj) (map (g' . snd) vs)
@@ -338,8 +330,6 @@ everythingWithContextOnValues s0 r0 (<>) f g h i j = (f'' s0, g'' s0, h'' s0, i'
338 g' s (UnaryMinus v1) = g'' s v1
330 g' s (UnaryMinus v1) = g'' s v1
339 g' s (BinaryNoParens op v1 v2) = g'' s op <> g'' s v1 <> g'' s v2
331 g' s (BinaryNoParens op v1 v2) = g'' s op <> g'' s v1 <> g'' s v2
340 g' s (Parens v1) = g'' s v1
332 g' s (Parens v1) = g'' s v1
341− g' s (OperatorSection op (Left v)) = g'' s op <> g'' s v
342− g' s (OperatorSection op (Right v)) = g'' s op <> g'' s v
343 g' s (TypeClassDictionaryConstructorApp _ v1) = g'' s v1
333 g' s (TypeClassDictionaryConstructorApp _ v1) = g'' s v1
344 g' s (Accessor _ v1) = g'' s v1
334 g' s (Accessor _ v1) = g'' s v1
345 g' s (ObjectUpdate obj vs) = foldl (<>) (g'' s obj) (map (g'' s . snd) vs)
335 g' s (ObjectUpdate obj vs) = foldl (<>) (g'' s obj) (map (g'' s . snd) vs)
@@ -419,8 +409,6 @@ everywhereWithContextOnValuesM s0 f g h i j = (f'' s0, g'' s0, h'' s0, i'' s0, j
419 g' s (UnaryMinus v) = UnaryMinus <$> g'' s v
409 g' s (UnaryMinus v) = UnaryMinus <$> g'' s v
420 g' s (BinaryNoParens op v1 v2) = BinaryNoParens <$> g'' s op <*> g'' s v1 <*> g'' s v2
410 g' s (BinaryNoParens op v1 v2) = BinaryNoParens <$> g'' s op <*> g'' s v1 <*> g'' s v2
421 g' s (Parens v) = Parens <$> g'' s v
411 g' s (Parens v) = Parens <$> g'' s v
422− g' s (OperatorSection op (Left v)) = OperatorSection <$> g'' s op <*> (Left <$> g'' s v)
423− g' s (OperatorSection op (Right v)) = OperatorSection <$> g'' s op <*> (Right <$> g'' s v)
424 g' s (TypeClassDictionaryConstructorApp name v) = TypeClassDictionaryConstructorApp name <$> g'' s v
412 g' s (TypeClassDictionaryConstructorApp name v) = TypeClassDictionaryConstructorApp name <$> g'' s v
425 g' s (Accessor prop v) = Accessor prop <$> g'' s v
413 g' s (Accessor prop v) = Accessor prop <$> g'' s v
426 g' s (ObjectUpdate obj vs) = ObjectUpdate <$> g'' s obj <*> traverse (sndM (g'' s)) vs
414 g' s (ObjectUpdate obj vs) = ObjectUpdate <$> g'' s obj <*> traverse (sndM (g'' s)) vs
@@ -510,8 +498,6 @@ everythingWithScope f g h i j = (f'', g'', h'', i'', \s -> snd . j'' s)
510 g' s (UnaryMinus v1) = g'' s v1
498 g' s (UnaryMinus v1) = g'' s v1
511 g' s (BinaryNoParens op v1 v2) = g'' s op <> g'' s v1 <> g'' s v2
499 g' s (BinaryNoParens op v1 v2) = g'' s op <> g'' s v1 <> g'' s v2
512 g' s (Parens v1) = g'' s v1
500 g' s (Parens v1) = g'' s v1
513− g' s (OperatorSection op (Left v)) = g'' s op <> g'' s v
514− g' s (OperatorSection op (Right v)) = g'' s op <> g'' s v
515 g' s (TypeClassDictionaryConstructorApp _ v1) = g'' s v1
501 g' s (TypeClassDictionaryConstructorApp _ v1) = g'' s v1
516 g' s (Accessor _ v1) = g'' s v1
502 g' s (Accessor _ v1) = g'' s v1
517 g' s (ObjectUpdate obj vs) = g'' s obj <> foldMap (g'' s . snd) vs
503 g' s (ObjectUpdate obj vs) = g'' s obj <> foldMap (g'' s . snd) vs