|
902 | 902 | - hint: {lhs: foldr f z (fmap g x), rhs: foldr (f . g) z x, name: Fuse foldr/fmap}
|
903 | 903 | - hint: {lhs: foldr f z (g <$> x), rhs: foldr (f . g) z x, name: Fuse foldr/<$>}
|
904 | 904 | - hint: {lhs: foldr f z (x <&> g), rhs: foldr (f . g) z x, name: Fuse foldr/<&>}
|
905 |
| - - warn: {lhs: fold (toList x), rhs: fold x} |
906 |
| - - warn: {lhs: foldMap f (toList x), rhs: foldMap f x} |
907 |
| - - warn: {lhs: foldMap' f (toList x), rhs: foldMap' f x} |
908 |
| - - warn: {lhs: foldr f z (toList x), rhs: foldr f z x} |
909 |
| - - warn: {lhs: foldr' f z (toList x), rhs: foldr' f z x} |
910 |
| - - warn: {lhs: foldl f z (toList x), rhs: foldl f z x} |
911 |
| - - warn: {lhs: foldl' f z (toList x), rhs: foldl' f z x} |
912 |
| - - warn: {lhs: foldr1 f (toList x), rhs: foldr1 f x} |
913 |
| - - warn: {lhs: foldl1 f (toList x), rhs: foldl1 f x} |
914 |
| - - warn: {lhs: null (toList x), rhs: null x} |
915 |
| - - warn: {lhs: length (toList x), rhs: length x} |
916 |
| - - warn: {lhs: elem y (toList x), rhs: elem y x} |
917 |
| - - warn: {lhs: notElem y (toList x), rhs: notElem y x} |
918 |
| - - warn: {lhs: maximum (toList x), rhs: maximum x} |
919 |
| - - warn: {lhs: minimum (toList x), rhs: minimum x} |
920 |
| - - warn: {lhs: maximumBy f (toList x), rhs: maximumBy f x} |
921 |
| - - warn: {lhs: minimumBy f (toList x), rhs: minimumBy f x} |
922 |
| - - warn: {lhs: sum (toList x), rhs: sum x} |
923 |
| - - warn: {lhs: product (toList x), rhs: product x} |
924 |
| - - warn: {lhs: and (toList x), rhs: and x} |
925 |
| - - warn: {lhs: or (toList x), rhs: or x} |
926 |
| - - warn: {lhs: all f (toList x), rhs: all f x} |
927 |
| - - warn: {lhs: any f (toList x), rhs: any f x} |
928 |
| - - warn: {lhs: find f (toList x), rhs: find f x} |
929 |
| - - warn: {lhs: concat (toList x), rhs: concat x} |
930 |
| - - warn: {lhs: concatMap f (toList x), rhs: concatMap f x} |
| 905 | + - warn: {lhs: fold (Data.Foldable.toList x), rhs: fold x} |
| 906 | + - warn: {lhs: foldMap f (Data.Foldable.toList x), rhs: foldMap f x} |
| 907 | + - warn: {lhs: foldMap' f (Data.Foldable.toList x), rhs: foldMap' f x} |
| 908 | + - warn: {lhs: foldr f z (Data.Foldable.toList x), rhs: foldr f z x} |
| 909 | + - warn: {lhs: foldr' f z (Data.Foldable.toList x), rhs: foldr' f z x} |
| 910 | + - warn: {lhs: foldl f z (Data.Foldable.toList x), rhs: foldl f z x} |
| 911 | + - warn: {lhs: foldl' f z (Data.Foldable.toList x), rhs: foldl' f z x} |
| 912 | + - warn: {lhs: foldr1 f (Data.Foldable.toList x), rhs: foldr1 f x} |
| 913 | + - warn: {lhs: foldl1 f (Data.Foldable.toList x), rhs: foldl1 f x} |
| 914 | + - warn: {lhs: null (Data.Foldable.toList x), rhs: null x} |
| 915 | + - warn: {lhs: length (Data.Foldable.toList x), rhs: length x} |
| 916 | + - warn: {lhs: elem y (Data.Foldable.toList x), rhs: elem y x} |
| 917 | + - warn: {lhs: notElem y (Data.Foldable.toList x), rhs: notElem y x} |
| 918 | + - warn: {lhs: maximum (Data.Foldable.toList x), rhs: maximum x} |
| 919 | + - warn: {lhs: minimum (Data.Foldable.toList x), rhs: minimum x} |
| 920 | + - warn: {lhs: maximumBy f (Data.Foldable.toList x), rhs: maximumBy f x} |
| 921 | + - warn: {lhs: minimumBy f (Data.Foldable.toList x), rhs: minimumBy f x} |
| 922 | + - warn: {lhs: sum (Data.Foldable.toList x), rhs: sum x} |
| 923 | + - warn: {lhs: product (Data.Foldable.toList x), rhs: product x} |
| 924 | + - warn: {lhs: and (Data.Foldable.toList x), rhs: and x} |
| 925 | + - warn: {lhs: or (Data.Foldable.toList x), rhs: or x} |
| 926 | + - warn: {lhs: all f (Data.Foldable.toList x), rhs: all f x} |
| 927 | + - warn: {lhs: any f (Data.Foldable.toList x), rhs: any f x} |
| 928 | + - warn: {lhs: find f (Data.Foldable.toList x), rhs: find f x} |
| 929 | + - warn: {lhs: concat (Data.Foldable.toList x), rhs: concat x} |
| 930 | + - warn: {lhs: concatMap f (Data.Foldable.toList x), rhs: concatMap f x} |
931 | 931 |
|
932 | 932 | # STATE MONAD
|
933 | 933 |
|
|
0 commit comments