Functions in Enum and Stream take any enumerable. So whatever it is you're
doing after the call to Stream.map(& &1) should work even with that call
removed.

On Wed, Jul 27, 2016 at 10:10 AM, Robert Dober <robert.do...@gmail.com>
wrote:

> Hi list
>
> I was just asking myself for the nth time, how come I need to write things
> like
>
>           ...
>           |> Stream.map(&(1))
>
>
> Did I completely miss out on my search for something like Enum.to_stream,
> or does no such thing exist. In the latter case I might think it would be a
> nice addition to Elixir.
>
> Thx
> Robert
> --
> Non datemi consigli che so sbagliare da solo
> (Giuseppe Di Stefano)
>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elixir-lang-talk+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-talk/CA%2Bvts6sULHteH%2B5VDS9Wijb600iFDojDiVZsjOP7HrjRMks0eA%40mail.gmail.com
> <https://groups.google.com/d/msgid/elixir-lang-talk/CA%2Bvts6sULHteH%2B5VDS9Wijb600iFDojDiVZsjOP7HrjRMks0eA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-talk/CAAPY6eOn%3Db%3Dyn92DKFfczHZcmHKeWwDic67xQNbC%3D_fohhN-Zg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to