Method chaining with arguments to imitate unix piping?

Nope, this means that you can use g(x) |> f, ie you use f as a function.

You can of course do that, but you have to make the second argument of |> a closure, eg s -> ismatch(regex, s).

1 Like