Skip to content

Bump jfmengels/elm-review-simplify from 2.1.13 to 2.1.15 in /review#1524

Closed
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/elm/review/develop/jfmengels/elm-review-simplify-2.1.15
Closed

Bump jfmengels/elm-review-simplify from 2.1.13 to 2.1.15 in /review#1524
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/elm/review/develop/jfmengels/elm-review-simplify-2.1.15

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Feb 7, 2026

Bumps jfmengels/elm-review-simplify from 2.1.13 to 2.1.15.

Changelog

Sourced from jfmengels/elm-review-simplify's changelog.

[2.1.15] - 2026-02-02

Bug fixes:

  • (f << g) a (any applied composition with a single argument) was previously fixed to f <| g a without parens which could lead to compile errors with precedence, for example in the fixed code f <| g a == y

[2.1.14] - 2026-01-30

  • Disabled List.sum and List.product simplifications on list reordering operations: List.reverse, List.sort, List.sortBy, List.sortWith. Applying floating point operations across elements using lots of intermediate temporary numbers can lose some amount of precision, and importantly the order in which the numbers are traversed will influence how much precision is lost. An illustrative example by Sébastien Besnier:

    List.sum (1 :: List.repeat 100000 (2^(-53)))

    will result in 1 because the tiny fraction gets "swallowed" by the much larger accumulated value whereas

    List.sum (List.reverse (1 :: List.repeat 100000 (2^(-53))))

    will result in a more correct 1.0000000000111022.

    You can read more about this problem in the documentation of javascript's Math.sumPrecise()

The rule now simplifies:

  • (\x -> x) data to data
  • (\_ -> x) <| f <| y to x (previously not always applied in pipelines)
  • (\()) -> x) <| f <| y to x (previously not always applied in pipelines)
  • (\a _ -> x) y z to (\a -> x) y (previously only the first argument would get removed)
  • f >> (\_ -> x) to (\_ -> x)
  • (f >> g) data to g <| f data
  • (f >> g) <| data to g <| f <| data
  • data |> (g << f) to data |> f |> g
  • List.map f (List.repeat n a) to List.repeat n (f a)
  • Array.map f (Array.repeat n a) to Array.repeat n (f a)
  • String.map f (String.repeat n (String.fromChar c)) to String.repeat n (String.fromChar (f c))
  • List.head (List.repeat n a) to if n >= 1 then Just a else Nothing
  • Set.fromList (List.repeat n a) to if n >= 1 then Set.singleton a else Set.empty when [expectNaN] is not enabled
  • Dict.fromList (List.repeat n a) to if n >= 1 then Dict.fromList [ a ] else Dict.empty when [expectNaN] is not enabled
  • List.any f (List.repeat n a) to n >= 1 && f a
  • List.member needle (List.repeat n b) to n >= 1 && needle == b
  • List.all f (List.repeat n a) to n <= 0 || f a
  • List.all (always False) list to List.isEmpty list
  • String.all (always False) str to String.isEmpty str
  • List.any (always True) list to not (List.isEmpty list)
  • String.any (always True) str to not (String.isEmpty str)
  • List.any identity (List.map f list) to List.any f list
  • List.all identity (List.map f list) to List.all f list
  • List.isEmpty (List.filter f list) to not (List.any f list)
  • List.isEmpty (List.filter (not << f) list) to List.all f list
  • not (List.any (not << f) list) to List.all f list
  • not (List.all (not << f) list) to List.any f list
  • String.map f "" to ""
  • String.map identity str to str

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jfmengels/elm-review-simplify](https://github.com/jfmengels/elm-review-simplify) from 2.1.13 to 2.1.15.
- [Changelog](https://github.com/jfmengels/elm-review-simplify/blob/main/CHANGELOG.md)
- [Commits](jfmengels/elm-review-simplify@2.1.13...2.1.15)

---
updated-dependencies:
- dependency-name: jfmengels/elm-review-simplify
  dependency-version: 2.1.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Feb 7, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Feb 16, 2026

Looks like jfmengels/elm-review-simplify is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Feb 16, 2026
@dependabot dependabot Bot deleted the dependabot/elm/review/develop/jfmengels/elm-review-simplify-2.1.15 branch February 16, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant