@john-coene.comPeter Dalgaard @pdalgd.bsky.social
2026-05-30 08:20 UTC
I actually forget how environments factor in but in the S origins (w/o lexical scope), functions were isomorphic to lists. The first n-1 elements was a named list corresponding to argument names and defaults, and the last element was the body expression. So ls[2] would be like function(pos=-1) NULL.
A reply in a thread.
6 likes, 2 reposts, 1 replies
3 Next post4 More from @pdalgd.bsky.socialBackBluesky home