Sujet : Re: Choosing between Lisps and Schemes
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.lang.lispDate : 11. Jan 2024, 11:12:41
Autres entêtes
Organisation : Stefan Ram
Message-ID : <LISP-20240111111021@ram.dialup.fu-berlin.de>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Lawrence D'Oliveiro <
ldo@nz.invalid> writes:
And also because their modern incarnations are quite different from how
they were in the early days.
I'm just following my sentimentality when choosing a LISP dialect.
In other words, it has to be as similar as possible to the LISP
I used to write simple functions for symbolic differentiation
on my Pet 2001 when I was young. Something like this:
( SETQ DIFF
( LAMBDA( X )
( COND
( ( ATOMP X )
( COND
( ( = X 'X )
1 )
( T
0 )))
( T
( COND
( ( =( CAR X )'SUM )
( LIST 'SUM( DIFF( CADR X ))( DIFF( CADDR X )))))))))
.