Ailrun / typed-f

Typed functional programming utilities
MIT License
20 stars 2 forks source link

feat(function): add simple flip #43

Closed Ailrun closed 5 years ago

Ailrun commented 6 years ago

Description

Add flip function who flip the order of arguments of passed function.

Resolves #39.

Ailrun commented 5 years ago

Do I need to add a function flip<A, B, R>(f: Fun<[A, B], R>): Fun<[B, A], R> overloading? It's not possible.