Re: [stack] sweetening concatenative syntax
"Christopher Diggins" <[email protected]>
| Newsgroups | gmane.comp.lang.concatenative |
|---|---|
| Message-ID | <[email protected]> |
> Scheme makes essentially the same distinction between a procedure (a > piece of Scheme code), a closure (a run-time object binding a procedure > to a lexical environment), and a function (a mathematical relation). > OTOH, the closely related Common Lisp uses "function" for all three. While the language description makes this distinction, but AFIAK the run-time semantics of Scheme do not make a distinction between these kinds of values. In other words you can't write code (in R5RS) that distinguishes whether a given value is a closure, a function or a procedure. - Christopher