Hi everyone.
I think if we have Enum.at/3 we should also have Enum.at!/2

as with Enum.at/3 there is no way to guarantee that certain index
doesn't exist, since the default value could be contained in any of the
indexes.

The only option is to use Enum.fetch!/2

what do you guys think of this?

-- 
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/20160718222830.4f1c21d4.eksperimental%40autistici.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to