Toot

Written by Artyom Bologov (t?he(y|m)?) on 2025-01-05 at 16:24

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

Mentions

Tags

=> View recursion tag | View lambdacalculus tag | View functionalprogramming tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113776674972864378
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
225.593229 milliseconds
Gemini-to-HTML Time
0.360397 milliseconds

This content has been proxied by September (ba2dc).