3 ms·
As does Scheme share with the other lisps. We took loop, most of generic setters, and readtables from CL. CL took lexical scope, and with it functions distinc
by qwertyuiop924 10y ago
As does Scheme share with the other lisps.
We took loop, most of generic setters, and readtables from CL.
CL took lexical scope, and with it functions distinct from lists, from Scheme.
- kazinator 10y agoMissing context ... which we took generic setters, readtables and loop from CL, and planted it into what?
- qwertyuiop924 10y agoSorry. I am primarily a schemer, so that's what I'm referring to. Readtables and generic setters (as specified by SRFI-17: a bit limited compared to CL, as I understand it) are very common extensions, and there are several loop macros floating around, all inspired by CL. We also technically took dynamic scope from CL, but most schemes only have R7RS dynamic scope, which isn't so much dynamic scope as it is a hack that looks a lot like dynamic scope if you squint.
- lispm 10y agoReadtables and generic setters are from before Scheme and ten years before CL. LOOP was before CL, inspired by FOR from before Scheme... > We also technically took dynamic scope from CL That was already in R1RS, six years before the first definition of CL was published.
- qwertyuiop924 10y agoSee above for my reply. As for dynamic scope being in R1RS, actually, yes. Sorry. That came from MACLisp, not CL.
- lispm 10y ago> We took loop, most of generic setters, and readtables from CL. That's a nice touch ;-) , given that those existed before Scheme and thus also before Common Lisp.
- qwertyuiop924 10y agoYes. As did lexical scope exist before Scheme. However, the scheme implementation was directly inspired by CL. As are (and I forgot to add this) our object systems.