Clojure has explicit syntax which handles the use case where one
doesn't want to pipe into the first argument of a function. It
only handles the first and last argument cases, but it could be
generalized pretty easily, as follows:
"foo"
|> String.upcase()
|2> Regex.scan(~r/foo/)
-r
--
You received this message because you are subscribed to the Google Groups
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-core/A8EE53F5-594F-4150-BF2C-15A3A7F650D3%40gmail.com.