PS: After v0.9 comes v0.10 and not v1.0 (yet!)

--
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 elixir-lang-co...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I will write a longer blog post announcing v0.9 (which is coming soon) with more details about reducers and benchmarks!
Just-a-wondering. While we're all iterating, is there any chance you'd accept a pull req for Kernel.seq(enum) -> list?
Just-a-wondering. While we're all iterating, is there any chance you'd accept a pull req for Kernel.seq(enum) -> list?Kernel.seq(enum) would return an enumerable as list? Basically the same as Enum.to_list/1? Or something else.
--
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 elixir-lang-co...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Perhaps it would be better iflc inlist 1..100, ... andlc inlist anything_enumerable, ... could work?
Perhaps it would be better iflc inlist 1..100, ... andlc inlist anything_enumerable, ... could work?We can't make that work natively. Which means we would have to first convert the enumerable to a list and then do the comprehension. That is a very hidden overhead/complexity. It is for this reason the operator is called exactly "inlist" instead of "inenum".
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-core/PmKCwdq2jmA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to elixir-lang-co...@googlegroups.com.
Is it based on the same principles as erlang list comprehension, or something else is involved?
Is there a significant performance gain with this?
And if so, why not create inenum in addition?
--
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 elixir-lang-co...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Is it based on the same principles as erlang list comprehension, or something else is involved?Yes, It compiles exactly to the same as an erlang list comprehension.Is there a significant performance gain with this?Last time I benchmarked, yes.
And if so, why not create inenum in addition?The Erlang VM wouldn't know how to handle inenum. This means we need to convert the enum, at runtime, to a list. This means that collections given to inenum would be iterated twice, one to convert it to a list and another one as a list. I'd consider this to be a surprising behaviour as for any moderately large collection a difference in performance would be noticeable. If a conversion has to happen, it should happen explicitly.
For those who want to install it, keep in mind you need Erlang R16B.