robrix / Prelude

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

Implement `flip` #12

Closed robrix closed 9 years ago

robrix commented 9 years ago

flip takes a binary function f and returns a binary function which calls f with its operands swapped.