robrix / Prelude

Swift µframework of simple functional programming tools
MIT License
409 stars 26 forks source link

Forward/backward function application precedence #21

Closed robrix closed 9 years ago

robrix commented 9 years ago

Function application operators have higher precedence than assignment, making it possible to do e.g.:

var digits = 0
digits += 100 |> toString |> countElements

Fixes #20.