[erlang-questions] Pipe Operator in Erlang?

Éric Pailleau eric.pailleau@REDACTED
Thu Jul 9 20:34:30 CEST 2015


Hello,
A bit off topic too, but I would really love pipe as synchronous message passing.
A = Pid |  {somemessage, somevalue }.

Instead sending message with ! and wait with receive statement. 
Regards 


Le 9 juil. 2015 19:44, Serge Aleynikov <serge@REDACTED> a écrit :
>
> Though it's a bit off topic, but I'd love to see a different kind of application of '|' supported by syntax (yet probably ';' would be more in the "Erlang" spirit for the task):
>
> case SomeVar of
>   a | b | c ->
>     true;
>   _ ->
>     false
> end.
>
>
>
> On Thu, Jul 9, 2015 at 11:24 AM, Volkert <volkert@REDACTED> wrote:
>>
>> Dear all,
>>
>> I really love the Pipe Operator |> in Elixir and F#.
>>
>> Are there any plans to have this in Erlang?
>>
>> Volkert
>>
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>
>


More information about the erlang-questions mailing list