3 ms·
Python does not do [Head|Tail] but it does [First Item, Second Item, etc]. (Ok, Python can do [Head|Tail], but only in function invocation. But since Python i
by eru 18y ago
Python does not do [Head|Tail] but it does [First Item, Second Item, etc].
(Ok, Python can do [Head|Tail], but only in function invocation. But since Python is not as functional as we would like it, working with β-reduction only does not feel comfortable.)