English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Power serious
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-02-08 (11:46)
From: David McClain <dbm@r...>
Subject: Re: [Caml-list] Power serious
I believe that you'll find this stuff in SICP too... I know I have plenty of Lisp and Scheme examples of this sort of thing... e.g., computing tan from the ratio of the sin and cos series, done in lazy streams along with series convergence acceleration, a la John Houston's paper...

- DM

On Feb 7, 2010, at 20:20 PM, Jon Harrop wrote:

> I stumbled upon the following article that describes a remarkably simple 
> implementation of arithmetic over power series in Haskell:
>  http://www.cs.dartmouth.edu/~doug/powser.html
> This is the only compelling example of Haskell I have ever seen and I'd like 
> to see this rewritten in other languages for comparison. Has anyone tried to 
> translate this into OCaml?
> -- 
> Dr Jon Harrop, Flying Frog Consultancy Ltd.
> http://www.ffconsultancy.com/?e
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs

Dr. David McClain