Correction: there is no `List.rest`. Using the same reasoning as below, I
think this would be useful, too.
Op donderdag 16 februari 2017 12:02:24 UTC+1 schreef Sam Vervaeck:
> 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
> Kind regards,
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.