flow<A, B> function
- B ab(
- A
Returns a function that applies ab
to its argument.
This function is similar to pipe2
, but it curries the first argument.
Instead of taking two arguments, it takes one argument and returns a function
that takes the second argument and applies ab
to it.
Dart doesn't support function overloading, so different function names are used for a different number of function arguments.
Implementation
B Function(A) flow<A, B>(B Function(A) ab) => (A a) => pipe2(a, ab);