jfmengels/elm-lint/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

Lint.Rules.SimplifyPiping

rule : String -> List Error

Simplify piped functions like List.map f >> List.map g to List.map (f >> g)

rules =
    [ SimplifyPiping.rule
    ]

Fail

a = values
    |> List.map foo
    |> List.map bar

Success

a = values
    |> List.map (foo >> bar)