[clean-list] Help Please: Beginner to Clean.. Console I/O

Isaac Gouy igouy2 at yahoo.com
Thu May 5 17:42:14 MEST 2011


--- On Wed, 5/4/11, Khurram Khan <kkjcid at hotmail.com> wrote:

> We were thinking if its possible for you to translate this simple code
> of C++ in Clean and provide some comments on it as well. 



1) Here's a simple C++ program that uses std::cout 

http://shootout.alioth.debian.org/u32/program.php?test=mandelbrot&lang=gpp&id=3

Here's a similar Clean program 

http://shootout.alioth.debian.org/u32/benchmark.php?test=mandelbrot&lang=clean



2) Here's a simple C++ program that uses std::cout 

http://shootout.alioth.debian.org/u32/program.php?test=binarytrees&lang=gpp&id=2


Here's a similar Clean program 

http://shootout.alioth.debian.org/u32/program.php?test=binarytrees&lang=clean&id=3



3) Here's a simple C++ program that uses printf

http://shootout.alioth.debian.org/u32/program.php?test=nbody&lang=gpp&id=4

Here's a similar Clean program 

http://shootout.alioth.debian.org/u32/program.php?test=nbody&lang=clean&id=1




More information about the clean-list mailing list