Re: Any macro for inserting math "normally"



szergling <senatorZergling@xxxxxxxxx> wrote:
+---------------
| rpw3@xxxxxxxx (Rob Warnock) wrote:
| > I suspect Sussman may have been using his own personal
| > experimental/extended version of Scheme in that talk.
|
| Right. He doesn't need an experimental/extended Scheme though, quite a
| few vanilla Schemes seem to have it (though I have never seen code
| written that way). I initially tested it on a Scheme (probably
| mzscheme and elk), and when it worked, I didn't check the standard...
+---------------

Uh... AFAIK, MzScheme never supported "structured" LAMBDAs or
DEFINEs, e.g.:

mz> (define ((foo x) y)
(+ x y))
define: bad identifier at: (foo x) in: (define ((foo x) y) (+ x y))
mz>

But even a very old Elk-3.0 seems to:

elk> (define ((foo x) y)
(+ x y))
foo
elk> (foo 37)
#[compound value]
elk> ((foo 37) 3)
40
elk>


-Rob

-----
Rob Warnock <rpw3@xxxxxxxx>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607


.



Relevant Pages

  • Re: Final SRFI 89: Optional positional and named parameters
    ... Having become interested in Scheme only in the last 6 months or so, ... did not notice this SRFI until is was "finalized". ... (define foo ... defeat the purpose of "assigning the remaining parameters as a list". ...
    (comp.lang.scheme)
  • Re: Final SRFI 89: Optional positional and named parameters
    ... Having become interested in Scheme only in the last 6 months or so, ... did not have notice this SRFI until is was "finalized". ... (define foo ... defeat the purpose of "assigning the remaining parameters as a list". ...
    (comp.lang.scheme)
  • Re: (1 2) and (list 1 2) difference
    ... Bruce Hoult writes: ... if we are talking about Scheme as defined by the ... As Bruce went on to say, it is illegal (again, by the standard) to use ... are unspecified when foo is defined to return '. ...
    (comp.lang.scheme)
  • Re: case-sensitivity
    ... >A slighty different scheme would be to disallow names that differ only ... This would make it possible to talk about code ("the foo ...
    (comp.lang.python)