Skip to content

Commit

Permalink
Backfill test for using => as an operator in Elm <= 0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
avh4 committed Apr 1, 2023
1 parent f7a1dba commit af6344a
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 af6344a

Please sign in to comment.