Re: A(n orthogonal) set of essential operations for CAS



Richard J. Fateman wrote:

> You can define any of these in terms of
> functional composition of higher-order functions, and
> construction of new objects. If you were using Lisp, you
> would have most of these items, as Albert points out, but
> if you didn't, all you would need is about 5 functions.
> car, cdr, cons, if, apply. Thus distribute is probably
> about the same as mapcar in Lisp. Mapcar built in, but if
> it weren't, you could define it approximately by
>
> (defun mapcar(f arglist)
> (if (null arglist)
> nil
> (cons (apply f (car arglist))
> (mapcar f (cdr arglist)))

I suspect there is something very close to Peano's system of axioms which
could serve as an orthogonal basis for a comprehensive CAS. I also suspect
that building pedantically upon these would lead to a very inefficient
system. That is to say, building the implementation of derived concepts
strictly in terms of the more primitive ones. Building the conceptual
model is a different matter.

> You might find it useful to look at Structure and Interpretation
> of Computer Programs by Abelson/Sussman. It's online, if you
> can't find it in a library or bookstore.

You are not the only person to recommend that text. Jamie Zawinski of
Mozilla infamy recommends it, and Roman Meader - a major contributor to the
design of Mathematica - mentions it in the bibliography of at least two of
his books. I'm pleased to find it on-line. Normaly I would purchase such
a book, but I'm having to limit myself these days.

I've attempted to learn Lisp a few times, but I believe I have a fairly
strong immunity to the language. You've persuaded me to have another go at
it. I'll thank you later. ;)
--
Nil conscire sibi
.



Relevant Pages

  • Re: The library metric
    ... >> good array of technical books. ... Not so in the case of Lisp. ... >> university libraries to fare much better. ... I think in a tech center like Seattle it is indeed important. ...
    (comp.lang.lisp)
  • Re: OReilly Lisp? Looks like it is just a matter of time...
    ... * Books on topics that have dismal sales despite quality books ... > sold dismally in the past (for instance, LISP, LaTeX, or Web-based ... > big "fuck you" to the Lisp community. ...
    (comp.lang.lisp)
  • Re: Lisp for begginer
    ... After programming and designing for over 20 ... care about and *refer* to these books as needed. ... There is also 'COMMON LISP: ... interactive nature of most Lisp implementations makes ...
    (comp.lang.lisp)
  • Re: What deciseds the evaluation of parameter List ?
    ... Among these books, of course some are too advanced for me to ... Destructuring in the book of On Lisp. ... Interpreting LISP, it says that the number can be represented by the ... > hard to deduce what they are by just poking at it. ...
    (comp.lang.lisp)
  • Re: ILC and other conferences
    ... >> Python, Perl and maybe Ruby have O'Reilly, which perceives an incentive ... Perhaps they're interested in Lisp works as cultural ... Especially since there's a lot of lisp books few people ... and I think Python and Ruby books help destroy certain ...
    (comp.lang.lisp)