The (|>) Pipe

In addition to the normal math operations for addition and subtraction, we have the (<|) and (|>) operators. They are aliases for function application, allowing you to write fewer parentheses. page

viewNames1 names = String.join ", " (List.sort names) viewNames2 names = names |> List.sort |> String.join ", " -- (arg |> func) is the same as (func arg) -- Just keep repeating that transformation!

đŸ”ș

Funktionale Programmierung mit Elm inf-schule ⇐ PĂ€dagogisches Landesinstitut Rheinland-Pfalz page

How To Use Elm Pipe Operator page

Piping in Elm, Haskell, Python, and JavaScript page

What does pipe `|` operator do in case expression of elm-lang? stackoverflow