[plt-scheme] (newbie question) About Loop

From: Luciano Ramalho (ramalho at gmail.com)
Date: Fri Jun 12 17:39:58 EDT 2009

On Fri, Jun 12, 2009 at 2:47 AM, MD.MAHBUBUR RASHEED<mmrasheed at gmail.com> wrote:
> Hi,
> How can I implement loop in  plt-scheme like in java-
> for(int i=0;i<10;){
>      for(int j=0;j<3;){
>           System.out.println(""+j);
>           j++;
>      }
>       System.out.println(""+i);
>       i++;
> }
> Thanks in advance.

Rasheed, I strongly recommend that you read "The Little Schemer". If
you sit down for about 12 hours over a few days and do the exercises,
"The Little Schemer" will teach you to think in the Scheme way, which
is quite different from the Java way.

It taught me, after 20 years of programming *the other way*, and it
was a wonderful learning experience.




PS. After you finish "The Little Schemer" you will probably be hooked,
and will want to get "The Seasoned Schemer" as well...

Posted on the users mailing list.