--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CACFi_YPY5QURbQ8G%3DqA%3Dt6iQLWUToQygU-jo1%2BzdmW%3DFE3EmKw%40mail.gmail.com.
Adding on to what Kip and Andrey said: Assuming your Enumerable contains only numbers, there are a bunch of already-existing external libraries that implement max/min/mean/median/mode etc. The Math library is an example that comes to mind.
~Marten / Qqwy
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/fc56f73c-9839-476a-8c6c-65a809a122a1n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/633690b5-80bf-58f4-e99d-fe8de58586d2%40resilia.nl.