guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: In search of cool Scheme


From: Dirk Herrmann
Subject: Re: In search of cool Scheme
Date: Thu, 24 May 2001 12:01:19 +0200 (MEST)

On Tue, 22 May 2001, Alejandro Forero Cuervo wrote:

> 
> Hey.
> 
>     > Symbolic manipulation, perhaps? Such as integration and differentiation?
>     
>     Ok - how about some examples?  I forgot to mention - I'm a Scheme
>     beginner.  I'm definitely not qualified to program the cool Scheme I'm
>     looking for.
> 
> What follows is some simple code that, given an equation, symbolically
> derivates it.  The equation can include any of the following
> operations: +, *, -, sin, expt, cos, log.  What's nice about this
> example is that it is actually manipulating Scheme code: the equations
> are represented using Scheme code.  The derivate function receives
> Scheme code for an equation and returns Scheme code that can be
> executed (eval'ed).  Look at the comments for more information.  Sorry
> if its too long.

What about putting these examples on the guile pages as well?  IIRC, we
have always wanted to have cool examples of scheme usage there.  It seems
that this thread is producing lots of such examples.

Best regards,
Dirk Herrmann




reply via email to

[Prev in Thread] Current Thread [Next in Thread]