Skip to content

Commit

Permalink
Merge pull request #815 from avh4/fat-arrow-operator-tests
Browse files Browse the repository at this point in the history
Backfill test for using `=>` as an operator in Elm <= 0.18
  • Loading branch information
avh4 authored Apr 1, 2023
2 parents f7a1dba + af6344a commit aded67f
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,14 @@ leftPipe a =
a <|
a <|
()


{-| elm-format will auto-correct `=>` to `->` when used in types and lambda introductions,
but for Elm <= 0.18, it is valid as an expression and should be untouched in that usage.
-}
fatArrowOperator =
let
(=>) a b =
()
in
1 => 2 => 3

0 comments on commit aded67f

Please sign in to comment.