The asymmetry between "take" and "drop" #functionalProgramming operations on lists is weird. "drop" is just applying "cdr" N times, which is just a couple of function calls in #LambdaCalculus. While "take" requires full-blown #recursion and conditional testing. Or am I doing it wrong?
=> More informations about this toot | View the thread | More toots from aartaka@merveilles.town
=> View recursion tag | View lambdacalculus tag | View functionalprogramming tag This content has been proxied by September (ba2dc).Proxy Information
text/gemini