Hi, I've found List.first and List.rest, but I couldn't find Enum.first and Enum.rest. Is there any reason this is only implemented for lists? I can think of a few cases were this would be useful. Any recursive algorithm that runs following the prescription "take one element out the bunch, process it, and take care of the rest later" would, I think, benefit from it.
Kind regards, Sam -- 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/5fa50f90-72b2-4c73-a012-de052f4c036b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
